IBM Support

IC98609: SELECT STATEMENT ON CLOPTSETS TABLE RETURNS ERROR ANR0162W WITH "CLI0109E STRING DATA RIGHT TRUNCATION"

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • The Tivoli Storage Manager Server Admin Client Command Line
    (dsmadmc)command "SELECT * FROM CLOPTSETS" could generate the
    following error:
    
    ANR0162W Supplemental database diagnostic information:
      -1:22001:-99999 ([IBM][CLI Driver] CLI0109E  data right
      truncation. SQLSTATE=22001).
    ANR0157W Database operation INSERT for table CLOPTSETS.SQL
      failed with result code 2332 and tracking ID:
    0000000009C8A220.
    ANR0158W Database operation INSERT for table CLOPTSETS.SQL
    failed
      with operation code 2332 and tracking id 0000000009C8A220. The
      data for column 0 is:
      (string,len=14)0x41525A44454641554C545F4D4331.
    ANR0102E admsql.c(5462): Error 2332 inserting row in table
      "CLOPTSETS.SQL".
    
    This is caused by the fact that the column DESCRIPTION has 53
    character length while the client option set (cloptset)
    definition in the field "description" could contain more than 53
    characters. The maximum length of the description must be 255
    characters as described in the documentation of
    DEFINE / UPDATE CLOPTSET.
    
    Customer/L2 Diagnostics:
    For example, if the description of the cloptset has a length of
    59 character like:
    "This is the default Client Option Set for Windows Clients"
    A trace with flags DBSTMT DBEXEC DBCMD SQL will shows the
    following:
    
    11:57:58.802 [42][admsql.c][4621][TsmSqlPrepareData]:Col 1, name
      DESCRIPTION, type ADMITEM_STRING(1).
    
    11:57:58.802 [42][admsql.c][4670][TsmSqlPrepareData]:Col 1,
      string "This is the default Client Option Set for Windows
      Clients", len 53.
    11:57:58.807 [42][admsql.c][5459][RdbPrepareAndExecuteStmt]:
      Preparing statement based on isPrepared False (prepLen 0 vs
      stmtLen 109), (STMT='INSERT INTO "TSMDB1"."CLOPTSETS_SQL"
      (OPTIONSET_NAME,DESCRIPTION,LAST_UPDATE_BY,PROFILE)
      VALUES(?,?,?,?) --42').
    11:57:58.808 [42][tbcli.c][3928][RdbCliInsert]:Exiting with
      rc=2332.
    11:57:58.808 [42][output.c][7531][PutConsoleMsg]:ANR0162W
      Supplemental database diagnostic information:  -1:22001:-99999
      ([IBM][CLI Driver] CLI0109E  Zeichenfolge rechts
    abgeschnitten.
      SQLSTATE=22001).~
    
    Tivoli Storage Manager Versions Affected:
    Tivoli Storage Manager Server 6.1, 6.2, 6.3 and 7.1
    
    Initial Impact:
    low
    
    Additional Keywords:
    TSM zz61 zz62 zz63 zz71 anr1062w CLI0109E 2332
    

Local fix

  • Use a description with less or equal to 53 characters.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All Tivoli Storage Manager server users.                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See error description.                                       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Apply fixing level when available. This problem is currently *
    * projected to be fixed in levels 6.3.5 and 7.1.1. Note that   *
    * this is subject to change at the discretion of IBM.          *
    ****************************************************************
    The cause of the problem is not that the description field is
    too long, the actual cause of the problem is if this client
    options set belongs to more than one profile then this right
    truncation error can occur.
    

Problem conclusion

  • This problem was fixed.
    Affected platforms:  AIX, HP-UX, Solaris, Linux, and Windows.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC98609

  • Reported component name

    TSM SERVER

  • Reported component ID

    5698ISMSV

  • Reported release

    63W

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-01-08

  • Closed date

    2014-03-31

  • Last modified date

    2014-03-31

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Modules/Macros

  • dsmserv
    

Fix information

  • Fixed component name

    TSM SERVER

  • Fixed component ID

    5698ISMSV

Applicable component levels

  • R63A PSY

       UP

  • R63H PSY

       UP

  • R63L PSY

       UP

  • R63S PSY

       UP

  • R63W PSY

       UP

  • R71A PSY

       UP

  • R71H PSY

       UP

  • R71L PSY

       UP

  • R71S PSY

       UP

  • R71W PSY

       UP



Document information

More support for: Tivoli Storage Manager

Software version: 63W

Reference #: IC98609

Modified date: 31 March 2014