IBM Support

PK27683: GOC SQLCODE148 ALTER OF COLUMN WITH CHECK CONSTRAINT

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 Comparision Tool apply job to change a column
    defined with a CHECK CONSTRAINT fails with SQLCODE148.
    Additional search args:
    SQLCODEN148 SQLCODE148N
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 Object Comparison Tool, who     *
    *                 use CHECK CONSTRAINT, may be affected.       *
    ****************************************************************
    * PROBLEM DESCRIPTION: Object Compare  APPLY job failed with a *
    *                      SQLCODE  148 when a change is made to a *
    *                      column  which  has  a  CHECK CONSTRAINT *
    *                      defined against it. For an example, one *
    *                      VARCHAR(1) column is changed to CHAR(1) *
    *                      .*                                      *
    *                      An ALTER statement can't be generated   *
    *                      for a column which has the following    *
    *                      item defined against it:                *
    *                        a CHECK CONSTRAINT                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    See Problem Description.
    

Problem conclusion

  • Apply the fix.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK27683

  • 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-07-06

  • Closed date

    2006-09-05

  • Last modified date

    2006-10-03

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

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

Modules/Macros

  •    GOC2CMF  GOC2CMR
    

Fix information

  • Fixed component name

    DB2 OBJECT COMP

  • Fixed component ID

    5697G6400

Applicable component levels

  • R710 PSY UK17754

       UP06/09/09 P F609

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