IBM Support

PM08903: CLONE WSL SQLCODEN104 COMMENT ON TABLE

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The DB2 Administration Tool for z/OS CLONE WSL function created
    a COMMENT ON TABLE statement which was missing a closing quote
    resulting in the execution failing with a SQLCODE -104.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 Administration Tool             *
    *                 for z/OS who are attempting to               *
    *                 CLONE a work statement list                  *
    *                 (WSL) that contains COMMENT                  *
    *                 ON TABLE with string length                  *
    *                 of 73 bytes.                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: When COMMENT on TABLE                   *
    *                      has string length, including            *
    *                      quotes of 73 bytes, an                  *
    *                      SQLCODE -104 can occur                  *
    *                      when the cloned WSL is run.             *
    *                                                              *
    *                      e.g.                                    *
    *                      COMMENT ON TABLE                        *
    *                      table_name IS                           *
    *                      'A SYSTEM GENERATED                     *
    *                      NUMBER THAT IS                          *
    *                      USED TO UNIQUELY                        *
    *                      IDENTIFY A CLAIM.'                      *
    ****************************************************************
    * RECOMMENDATION: Apply The PTF.                               *
    ****************************************************************
    The formatter truncated the string with a string
    length of 73, including quotes.  The first 72 bytes
    are written, but byte 73 is not. This leads to a
    missing quote and causes an SQLCODE -104.
    

Problem conclusion

  • The problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM08903

  • 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

    2010-03-02

  • Closed date

    2010-04-22

  • Last modified date

    2010-05-04

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

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

Modules/Macros

  •    ADB2FMT
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • R720 PSY UK56307

       UP10/04/28 P F004

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:
04 May 2010