IBM Support

PI90625: DB2 ADMIN TOOL - PROBLEM WITH DDL OPTION FOR STORED PROCEDURE

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • DDL option for store procedure returns error:
    
    Unexpected token after SQLCODE keyword - expected keyword
       CHAR or CHARACTER
    ADB2PA: The following statement could not be parsed
       Token number =    491, Token = ,.
    

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 GEN or DDL         *
    *                 function on a stored procedure that uses     *
    *                 SQLCODE as a user variable.                  *
    ****************************************************************
    * PROBLEM DESCRIPTION: GEN or DDL line command for             *
    *                      stored procedure returns error.         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When keyword SQLCODE was declared as a variable
    inside a stored procedure, parser rejected the
    usage of SQLCODE and issued the error message:
    
    Unexpected token after SQLCODE keyword -
    expected keyword CHAR or CHARACTER
    ADB2PA: The following statement could not be parsed
     parsed
    Token number = 491, Token =
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI90625

  • 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

    2017-11-27

  • Closed date

    2018-01-16

  • Last modified date

    2018-02-01

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

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

    UI53252 UI53253

Modules/Macros

  •    ADB2PA   ADB2PA3
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RB20 PSY UI53252

       UP18/01/19 P F801

  • RC10 PSY UI53253

       UP18/01/19 P F801

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":"11.2.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
01 February 2018