IBM Support

PH33332: GEN DDL STORED PROCEDURE PARSE ERROR ASC DESC KEYWORD XMLAGG ADB7955E ADB2PA ADB1932W REASON CODE = 28

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • GEN/DDL of a stored procedure containing the ASC or DESC keyword
    in an XMLAGG function may encounter a parse error:
    
    ADB7955E ADB2PA Unexpected token after >sort-key<
    keyword - expected keyword ")"
    
    ADB7955E ADB2PA ADB2PA: The following statement could not be
    parsed :
    
    [text of stored procedure follows]
    
    ADB1932W Parser error - the original DDL will be generated for
    the following object. Please verify the DDL.
                Reason code = 28
                >stored-procedure name<
    
    
    Keywords:  msgadb7955e; msgadb1932w
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the Db2 Administration Tool for     *
    *                 z/OS                                         *
    ****************************************************************
    * PROBLEM DESCRIPTION: Processing DDL with an XMLAGG function  *
    *                      in a stored procedure might result in   *
    *                      parser error ADB7955E.                  *
    ****************************************************************
    Extracting DDL for a stored procedure that contains the ASC or
    DESC keyword in an XMLAGG function might result in the following
    error:
    
    ADB7955E ADB2PA Unexpected token after >sort-key< keyword -
    expected keyword ")"
    ADB7955E ADB2PA ADB2PA: The following statement could not be
    parsed : >stored_procedure_ddl<
    

Problem conclusion

  • The problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH33332

  • 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

    2021-01-13

  • Closed date

    2021-05-13

  • Last modified date

    2021-06-02

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

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

    UI75376

Modules/Macros

  • ADB2PA
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RC10 PSY UI75376

       UP21/06/02 P F105

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:
03 June 2021