IBM Support

PH07266: DB2 ADMINISTRATION TOOL - THE SQL PARSER FAILS ON COMMENTS THAT STARTS WITH /*=

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A stored procedure contain the lines:
    /*=================================================*/
    and the parser failed:
    
    Unexpected token after ; keyword - expected keyword END
    
    
    ADB2PA: The following statement could not be parsed :
    ...
    
    Token number =   2572, Token = /
    
    TOKENSLASH
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the Db2 Administration Tool for     *
    *                 z/OS or Db2 Object Comparison Tool for       *
    *                 z/OS who parse DDL statements with           *
    *                 imbedded bracketed SQL comments.             *
    ****************************************************************
    * PROBLEM DESCRIPTION: The parser is unable to parse a DDL     *
    *                      statement if it contains a bracketed SQL*
    *                      comment followed by an equal sign,      *
    *                      i.e. slash-asterisk-equal sign          *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A parser error occurs when running GEN or other functions that
    uses the parser on a DDL statement that contains a bracketed
    SQL comment followed by and equal sign,
    i.e. slash-asterisk-equal sign
    
       Unexpected token after ; keyword - expected keyword END
       ADB2PA: The following statement could not be parsed :
       > SQL statement containing bracketed SQL comment <
       Token number = xxx, Token = /
    

Problem conclusion

  • The problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH07266

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-01-17

  • Closed date

    2019-03-14

  • Last modified date

    2019-04-02

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

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

    UI61897

Modules/Macros

  •    ADB2PA5
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RC10 PSY UI61897

       UP19/03/19 P F903

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":"12.1.0"}]

Document Information

Modified date:
30 March 2021