IBM Support

PM75274: OC LEAVES CHILD TABLE IN CHECK PENDING CHKP STATUS FOLLOWING MSGDSNT404I SQLCODE162 ON ALTER TABLE FOREIGN KEY

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 did not build the CHECK
    DATA utilities needed to ensure that related tablespace was not
    left in CHECK PENDING / CHKP status.
    .
    When processing ALTER TABLE <tablename> FOREIGN KEY statement
    the following error message is received:
    .
     DSNT404I SQLCODE = 162, WARNING:  TABLE SPACE <tsname> HAS
     BEEN PLACED IN CHECK PENDING
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Object Comparison Tool      *
    *                 for z/OS who compare tables which have       *
    *                 foreign keys defined.                        *
    ****************************************************************
    * PROBLEM DESCRIPTION: The DB2 Object Comparison Tool for      *
    *                      z/OS does not build the CHECK DATA      *
    *                      utilities needed to ensure that the     *
    *                      related table space is not left in      *
    *                      CHECK PENDING / CHKP status after a     *
    *                      foreign key is kept because of the      *
    *                      KEEPTGT option.                         *
    *                                                              *
    *                      After processing the ALTER TABLE        *
    *                      >tbschema<.>tbname< ADD FOREIGN         *
    *                      KEY statement, a SQLCODE162 /           *
    *                      SQLCODE=162 is observed:                *
    *                                                              *
    *                      DSNT404I SQLCODE = 162,                 *
    *                      WARNING:  TABLE SPACE                   *
    *                      >tsname< HAS BEEN PLACED IN             *
    *                      CHECK PENDING                           *
    *                                                              *
    *                      Since the CHECK DATA utility            *
    *                      statement is not built, the table       *
    *                      space will be left in check pending     *
    *                      status after the change is applied.     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The DB2 Object Comparison Tool for z/OS does not build the CHECK
    DATA utilities needed to ensure that the related table space is
    not left in CHECK PENDING / CHKP status after a foreign key is
    kept because of the KEEPTGT option.
    
    After processing the ALTER TABLE >tbschema<.>tbname< ADD
    FOREIGN KEY statement, a SQLCODE162 / SQLCODE=162 is
    observed:
    
    DSNT404I SQLCODE = 162, WARNING:  TABLE SPACE >tsname< HAS
    BEEN PLACED IN CHECK PENDING
    
    Since the CHECK DATA utility statement is not built, the
    table space will be left in check pending status after the
    change is applied.
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM75274

  • 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

    2012-10-17

  • Closed date

    2013-02-05

  • Last modified date

    2013-03-04

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

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

Modules/Macros

  •    ADBTEP2  ADB2CMR
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RA10 PSY UK91427

       UP13/02/08 P F302

  • RA20 PSY UK91428

       UP13/02/08 P F302

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:
04 March 2013