IBM Support

PM98358: THE GEN FUNCTION CREATES INVALID CREATE PROCEDURE DDL WHICH WHEN EXECUTED MAY FAIL WITH SQLCODEN338

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The DB2 Administration Tool for z/OS' GEN / DDL functions
    creates invalid CREATE PROCEDURE DDL which when executed may
    fail with a SQLCODEN338 / SQLCODE -338
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Administration Tool for     *
    *                 z/OS who use the Generate (GEN)  / DDL line  *
    *                 command on panel ADB21O 'Stored              *
    *                 Procedures'.                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: The DB2 Administration Tool for z/OS    *
    *                      GEN / DDL functions creates invalid     *
    *                      CREATE PROCEDURE DDL which may fail     *
    *                      with a SQLCODEN338 / SQLCODE = - 338:   *
    *                                                              *
    *                      SQLCODE= -338 AN ON CLAUSE IS INVALID   *
    *                      SQLSTATE= 42972                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Program rewrites the table correlation names for some of
    the column references.
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM98358

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-10-02

  • Closed date

    2014-05-14

  • Last modified date

    2014-06-03

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

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

    UI17987

Modules/Macros

  • ADB2PA7
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RA10 PSY UI17987

       UP14/05/16 P F405

  • RA20 PSY UI17985

       UP14/05/17 P F405

  • RB10 PSY UI17986

       UP14/05/17 P F405

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

Document Information

Modified date:
03 June 2014