IBM Support

PM19161: GEN OR DDL COMMAND ON SP FAIL RC28 WITH MESSAGE: ERROR PARSING DDL NSP STATEMENT

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • DB2 Administration Tool GEN and DDL commands fail on SP
    ( Stored Procedure ) of the form:
    .
       SELECT (CURRENT_TIMESTAMP +
           (SELECT COUNT(*) FROM SYSIBM.SYSDUMMY1)
           DAYS) INTO FUTURETS
          FROM SYSIBM.SYSDUMMY1;
    .
    with error messages similar to:
    .
       Missing <select-list> or * after SELECT
       Token number =     29, Token = (
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Administration Tool         *
    *                 for z/OS who receive a parser error for      *
    *                 a statement that contains a labeled          *
    *                 duration with an expression.                 *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    *                      The parser did not correctly parse      *
    *                      the labeled duration with an            *
    *                      expression:                             *
    *                                                              *
    *                      For example:                            *
    *                                                              *
    *                      (expression) DAYS                       *
    *                                                              *
    *                      the label duration DAYS is              *
    *                      after the expression element            *
    *                      (SELECT COUNT(*) FROM                   *
    *                      SYSIBM.SYSDUMMY1) DAYS                  *
    *                      in the following select statement:      *
    *                                                              *
    *                      SELECT (CURRENT_TIMESTAMP +             *
    *                      (SELECT COUNT(*) FROM                   *
    *                      SYSIBM.SYSDUMMY1)  DAYS)                *
    *                      FROM SYSIBM.SYSDUMMY1;                  *
    ****************************************************************
    * RECOMMENDATION: Apply The PTF.                               *
    ****************************************************************
    The parser did not correctly parse the labeled duration
    with an expression.
    

Problem conclusion

  • The parser problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM19161

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    720

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-07-23

  • Closed date

    2010-11-18

  • Last modified date

    2010-12-02

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

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

Modules/Macros

  •    ADB2PA
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RA10 PSY UK62282

       UP10/11/23 P F011

  • R720 PSY UK62283

       UP10/11/23 P F011

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

Document Information

Modified date:
02 December 2010