IBM Support

PM48432: SQLCODEN204 ALTER PROCEDURE AS ALTER OCCURS BEFORE CREATE PROCEDURE

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The DB2 Object Comparison Tool for z/OS program apply job
    fails with a SQLCODE -204 / SQLCODEN204 as ALTER
    PROCEDURE occurs before the CREATE PROCEDURE.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Administration Tool for     *
    *                 z/OS who compare two DDL files where the     *
    *                 target is empty and the source has CREATE    *
    *                 PROCEDURE or ALTER PROCEDURE statements.     *
    ****************************************************************
    * PROBLEM DESCRIPTION: When running the WSL, the user receives *
    *                      SQLCODE= -204/SQLCODEN204:              *
    *                                                              *
    *                      DSNT408I SQLCODE = -204,                *
    *                      ERROR: procedure_name IS AN             *
    *                      UNDEFINED NAME                          *
    *                      DSNT418I SQLSTATE = 42704               *
    *                      SQLSTATE RETURN CODE                    *
    *                                                              *
    *                      The Create/Alter procedure statements   *
    *                      are generated out of order.             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When running the WSL, the user receives an error message:
    SQLCODE= -204/SQLCODEN204:
    
    DSNT408I SQLCODE = -204,
    ERROR: procedure_name IS AN UNDEFINED NAME
    DSNT418I SQLSTATE = 42704 SQLSTATE RETURN CODE
    
    The Create/Alter procedure statements are generated out of
    order.
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM48432

  • 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

    2011-09-21

  • Closed date

    2011-10-08

  • Last modified date

    2011-11-02

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

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

Modules/Macros

  •    ADB2CMP  ADB2CMR  ADB2CMS
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RA10 PSY UK72756

       UP11/10/13 P F110

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:
02 November 2011