IBM Support

PI94516: DB2 ADMIN TOOL - COMMENT WITH DOUBLE DASH NOT PARSED

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Comment with double dash not parsed when the double dash
    in the comment happens to start in column 1.
    
    SQL stmt not completely parsed
    
    
    ADB2PA3: The following statement could not be parsed :
    
    comment on column .... ;
    
    TOKEN_INDEX=            11;, Token=LANDING
    Unsuccessful parse of DDL statement.
    ADB2CID - Now terminating
    ADB0006E ADBCCM - Error(s) found.  Please review output.
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Administration Tool         *
    *                 for z/OS and DB2 Object Comparison           *
    *                 Tool for z/OS who use the Change             *
    *                 Management Batch (CM Batch) interface.       *
    ****************************************************************
    * PROBLEM DESCRIPTION: Importing a change which includes       *
    *                      a COMMENT statement with two leading    *
    *                      dashes fails with parser error.         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When importing a COMMENT statement which contains
    lines starting with two leading dashes '--', for example:
    
    COMMENT ON COLUMN <table_name.column> IS
    'Example comment where leading dashes like this
    --fails with a parser error';
    
    the importing process removes the line with leading dashes as
    considering it as a comment line. The removal of the line leads
    to a parser error:
    
    Unsuccessful parse of DDL statement.
    ADB2CID - Now terminating
    ADB0006E ADBCCM - Error(s) found. Please review output.
    
    APAR PI14370 addressed the same problem for non-CM
    Batch path; however, the fix did not cover the import via
    CM Batch path.
    

Problem conclusion

  • The problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI94516

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    B20

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-03-01

  • Closed date

    2018-04-26

  • Last modified date

    2018-05-01

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

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

    UI55520 UI55521

Modules/Macros

  •    ADB2ISQ
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RB20 PSY UI55520

       UP18/04/28 P F804

  • RC10 PSY UI55521

       UP18/04/28 P F804

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.

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSZJXP","label":"DB2 Tools for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.2.0"}]

Document Information

Modified date:
31 March 2021