IBM Support

PM41845: 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

    PM41845

  • Reported component name

    DB2 OBJECT COMP

  • Reported component ID

    5697G6400

  • Reported release

    720

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-06-16

  • 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:

    UK72752

Modules/Macros

  •    GOC2CMP  GOC2CMR  GOC2CMS
    

Fix information

  • Fixed component name

    DB2 OBJECT COMP

  • Fixed component ID

    5697G6400

Applicable component levels

  • R720 PSY UK72752

       UP11/10/12 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":"SSAUVH","label":"IBM Db2 Object Comparison 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:
12 February 2021