IBM Support

PM30423: WSL CLONE FAILS TO REPRODUCE ALL STATEMENTS IN CLONE

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In DB2 Administration Tool for z/OS use of option Q to CLONE a
    WSL ( Work Statement List ) can fail to produce all statements
    from the original WSL in the CLONE copy, even though the job
    ends rc0 .
    .
    Underlying problems are:
    1.WSL displayed as one long statement instead of multiple lines.
    2.Clone WSL of the long statement does result in rc=0 with no
      WSL records cloned.
    .
    Additional symptoms noted:
    SQL stmt not completely parsed
    Error occurred when parsing the following stmt :
    .
      SET CURRENT SQLID='WAJI11DB';  CREATE UNIQUE INDEX
       WAJI11DB.WAJI12I1 ON WA01PB.CPI_LOG_CPI (CPI_ID ASC) ...
    .
    Token number =      6, Token = ;
    

Local fix

  • The work-around
    ---------------------
    1.On WSL member list panel ADB2W1 , select the WSL member with
      line command E.
    2.On edit panel ADB2PRED , enter command SAVE.
    3.Return back to panel ADB2W1 and select the WSL member with
      line command S ( SHOW ) and confirm that the WSL displays
      multiple lines instead of one long statement.
    4.Return back to panel ADB2W1 and select the WSL member with
      line command Q ( CLONE ).
    CLONE should now work properly.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Administration Tool for     *
    *                 z/OS who use the 'Q' line command to clone   *
    *                 a Work Statement List (WSL) on panel ADB2W1  *
    *                 'Work Statement List Library'.               *
    ****************************************************************
    * PROBLEM DESCRIPTION: In the DB2 Administration Tool for      *
    *                      z/OS, using option 'Q' to CLONE a WSL   *
    *                      can fail to produce all the statements  *
    *                      from the original WSL in the CLONE      *
    *                      copy, even though the job ends with a   *
    *                      RC0.                                    *
    *                                                              *
    *                      Symptoms noted:                         *
    *                      SQL stmt not completely parsed          *
    *                      Error occurred when parsing the         *
    *                      following stmt :                        *
    *                                                              *
    *                      SET CURRENT SQLID='sqlid';              *
    *                      CREATE UNIQUE INDEX                     *
    *                      index ON table (ID ASC)                 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The Clone WSL function can not handle multiple SQL statements
    on a single line and generate a needless 'SET CURRENT SQLID'
    statement before the 'CREATE INDEX' statement.
    

Problem conclusion

  • Program has been modified to separate multiple SQL statements
    on a single line to correct the statement type.  Program has
    been modified to prevent the generation of the 'SET CURRENT
    SQLID' statement before the CREATE INDEX statement.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM30423

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    720

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-01-13

  • Closed date

    2011-05-20

  • Last modified date

    2011-06-02

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

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

    UK67985 UK67986

Modules/Macros

  •    ADB2A2WS ADB2WCL  ADB2W1S
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RA10 PSY UK67985

       UP11/05/26 P F105

  • R720 PSY UK67986

       UP11/05/26 P F105

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSCVQTD","label":"IBM Db2 Administration Tool for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"720","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
02 June 2011