IBM Support

PK26898: COMPARE CREATES BAD SYNTAX WHEN CHECK CONSTRAINT ADDED THEN CAUSING SQLCODE -546 SQLCODEN546 SQLERRD -901

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • GOC Object Compare generates bad syntax when adding Check
    CONSTRAINT . Then when this DDL is applied it generates
    these errors:
    DSNT408I SQLCODE = -546, ERROR:  THE CHECK CONSTRAINT xxxxx
                       IS INVALID
    DSNT418I SQLSTATE   = 42621 SQLSTATE RETURN CODE
    DSNT415I SQLERRP    = DSNXOCHK SQL PROCEDURE DETECTING ERROR
    DSNT416I SQLERRD    = -901  0  0  -1  0  0 SQL DIAGNOSTIC
        SQLCODE546 SQLCODEn546 SQLERRD901 SQLERRDn901
    

Local fix

  • Please apply ptf when available.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 Object Comparison Tool, who     *
    *                 add CHECK CONSTRAINT, may be affected.       *
    ****************************************************************
    * PROBLEM DESCRIPTION: Bad  syntax  was  generated when CHECK  *
    *                      CONSTRAINT  was  added,  which  led to  *
    *                      SQLCODE -546 SQLCODEN546 SQLERRD -901.  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    See Problem Description.
    

Problem conclusion

  • Apply the fixes.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK26898

  • Reported component name

    DB2 OBJECT COMP

  • Reported component ID

    5697G6400

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2006-06-21

  • Closed date

    2006-07-10

  • Last modified date

    2006-08-02

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

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

Modules/Macros

  •    GOC2CMF
    

Fix information

  • Fixed component name

    DB2 OBJECT COMP

  • Fixed component ID

    5697G6400

Applicable component levels

  • R310 PSY UK16375

       UP06/07/22 P F607

  • R710 PSY UK16376

       UP06/07/22 P F607

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

Document Information

Modified date:
12 February 2021