IBM Support

PM40828: SQLCODEN204 CREATE VIEW SEQUENCE ERROR

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' APPLY jobs fails with
    a return code 8 / RC8 and message:
    sqlerror on CREATE command, PREPARE function
    DSNT408I SQLCODE = -204, ERROR: <schema>.<view>  IS AN UNDEFINED
    NAME
    DSNT418I SQLSTATE = 42704 SQLSTATE RETURN CODE
    DSNT415I SQLERRP = DSNXOTL SQL PROCEDURE DETECTING ERROR
    DSNT416I SQLERRD = -500 0 0 -1 0 0 SQL DIAGNOSTIC INFORMATION
    DSNT416I SQLERRD = X'FFFFFE0C' X'00000000' X'00000000'
    X'FFFFFFFF'
    X'00000000' X'00000000' SQL DIAGNOSTIC INFORMATION
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Object Comparison Tool for  *
    *                 z/OS who add views referencing unqualified   *
    *                 objects.                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: The DB2 Object Comparison Tool, when    *
    *                      analyzing a change that adds views      *
    *                      referencing unqualified objects, can    *
    *                      generate the views in the wrong order.  *
    *                      The job fails with a return code 8/     *
    *                      RC8 and SQLCODE=-204 /SQLCODEN204:      *
    *                                                              *
    *                      DSNT408I SQLCODE = -204, ERROR:         *
    *                      schema.view  IS AN UNDEFINED            *
    *                      NAME                                    *
    *                      DSNT418I SQLSTATE = 42704 SQLSTATE      *
    *                      RETURN CODE                             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The DB2 Object Comparison Tool has been changed to use the
    correct value when qualifying objects referenced by the view.
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM40828

  • Reported component name

    DB2 OBJECT COMP

  • Reported component ID

    5697G6400

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-06-06

  • Closed date

    2011-11-23

  • Last modified date

    2011-12-02

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

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

    UK74144

Modules/Macros

  •    ADB2CMR
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RA10 PSY UK74144

       UP11/11/29 P F111

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 December 2011