IBM Support

PH13325: GEN ON NATIVE SQL PROCEDURE RETURNS ADB2PA: FOLLOWING STATEMENT COULD NOT BE PARSED ADB1933E / msgadb1933e

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • While trying to generate the DDL for a Native SQL Procedure,
    where a select statement is followed by a FETCH FIRST clause.
    ADB2GEN may fail with:
         ADB2PA: The following statement could not be parsed
       Token number =    nnn, Token = FETCH
              Processing Stored Procedure <SPname>
       ADB1933E The DB2 Admin parser could not parse a statement.
                An SQL comment containing the original DDL will
                be generated.
                Reason code = 8
    

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.                                        *
    ****************************************************************
    * PROBLEM DESCRIPTION: Reverse engineering program (GEN)       *
    *                      may fail with a parser error for a      *
    *                      valid CREATE PROCEDURE statement.       *
    ****************************************************************
    Reverse engineering program (GEN) may fail with a parser
    error. The issue occurs when the body of the procedure contains
    a select statement followed by a FETCH FIRST clause.
    
    ADB2PA: The following statement could not be parsed :
    [sql_statement]
    
    token number = n, Token = FETCH
    

Problem conclusion

  • The problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH13325

  • 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-06-14

  • Closed date

    2019-09-05

  • Last modified date

    2019-10-01

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

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

    UI65155

Modules/Macros

  • ADB2PA
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RC10 PSY UI65155

       UP19/10/01 P F909

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 October 2019