IBM Support

PH10489: DB2 ADMINISTRATION TOOL - ADB2PA: STATEMENT COULD NOT BE PARSED WHEN USING THE GEN COMMAND FOR A SQL EXTERNAL PROCEDURE

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • ADB2PA: The following statement could not be parsed
    when using the GEN command for a SQL external procedure.
    
    The problem occurs when CCSID appears in SQLSTATE declaration.
    
    DECLARE SQLSTATE CHAR(5) CCSID EBCDIC;
    

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. *
    ****************************************************************
    * PROBLEM DESCRIPTION: DDL/GEN command or any function that    *
    *                      uses the Reverse Engineering program    *
    *                      (ADB2GEN) reports a parser error while  *
    *                      processing a SQL external procedure.    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When generating DDL of a SQL external procedure that has
    DECLARE SQLSTATE statement with CCSID keyword, Reverse
    Engineering program (ADB2GEN) reports a parser error:
    
    ADB2PA: The following statement could not be parsed:
           (SQL external procedure DDL statement)
    Token number = n, Token = CCSID
          Processing Stored Procedure <spName>
    ADB1932W Parser error - the original DDL will be generated
             for the following object. Please verify the DDL.
             Reason code = 28
             <spName>
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH10489

  • 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-04-03

  • Closed date

    2019-07-02

  • Last modified date

    2019-08-01

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

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

    UI64053

Modules/Macros

  •    ADB2PA
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RC10 PSY UI64053

       UP19/07/08 P F907

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

Document Information

Modified date:
01 August 2019