IBM Support

PM80412: DB2 ADMINISTRATION TOOL FOR Z/OS DOES NOT FORMAT NATIVE STORED PROCEDURE CORRECTLY WHEN USING DDL COMMAND

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 for z/OS does not format Native Stored
    Procedure correctly when using DDL command, and issues following
    error message:
    Unexpected token after QUERYNO keyword - expected keyword
    update-, read_only-,
     etc. clause
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Administration Tool for     *
    *                 z/OS who use the Generate (GEN) function     *
    *                 on Native Stored Procedure (NSP) which has   *
    *                 a select statement with the QUERYNO-clause.  *
    ****************************************************************
    * PROBLEM DESCRIPTION: DB2 Administration Tool for z/OS        *
    *                      does not format Native Stored           *
    *                      Procedure correctly when using the      *
    *                      DDL command on a NSP, and issues the    *
    *                      following error message:                *
    *                                                              *
    *                      Unexpected token after QUERYNO          *
    *                      keyword - expected keyword update-,     *
    *                      read_only-, etc. clause                 *
    *                                                              *
    *                      The native stored procedure has         *
    *                      a select statement with the             *
    *                      QUERYNO- clause. An example:            *
    *                                                              *
    *                      CREATE PROCEDURE xxx.xxxx               *
    *                      ...                                     *
    *                      P1:                                     *
    *                      BEGIN                                   *
    *                         ...                                  *
    *                         SELECT xxx FROM                      *
    *                       >table_name< QUERYNO xxx               *
    *                      End P1;                                 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The Generate (GEN) function does not generate NSP DDL
    correctly.
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM80412

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    A20

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-01-11

  • Closed date

    2013-02-05

  • Last modified date

    2013-03-04

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

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

    UK91430 UK91431

Modules/Macros

  •    ADB2PA
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RA10 PSY UK91430

       UP13/02/08 P F302

  • RA20 PSY UK91431

       UP13/02/08 P F302

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

Document Information

Modified date:
04 March 2013