IBM Support

PH27566: GEN ON CATALOG COPY MAY RESULT IN -805 ERRORS OR INCORRECT OUTPUT

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • This APAR addresses two issues related to the catalog copy
    function:
    
    1)  It supplies missing BIND statements to the DDLBNDxx job.
    The missing statements may lead to SQL error -805 when
    later generating DDL on the catalog copy.
    
    2) If packages for a catalog copy are not rebound after
    maintenance is applied, it is possible for GEN running on a
    catalog copy to use a package that has a SYSIBM qualifier,
    instead of the qualifier for the catalog copy tables.  This may
    lead to incorrect DDL output.
    
    With this APAR applied, GEN will check whether it is running in
    catalog copy mode.  If it is, and any of certain packages has a
    SYSIBM qualifier, it will stop and issue message ADB1974E. For
    example:
    
    ADB1974E Package ADB2REM has qualifier SYSIBM. Using this
    package from a catalog copy would have resulted in DDL based on
    the local Db2 system catalog. GEN processing stops.
    
    Keywords:  SQLCODE805N; msgadb1974e
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the Db2 Administration Tool for     *
    *                 z/OS catalog copy function                   *
    *                                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: Errors or unexpected behavior may occur *
    *                      when generating DDL on a catalog copy.  *
    ****************************************************************
    This APAR addresses two issues related to the catalog copy
    function:
    
    1. When a user requests jobs to create a catalog copy, some BIND
    statements are missing. Even though the DDLBNDxx job completes
    successfully, generating DDL after switching to a catalog
    copy might result in a -805 SQL code. This APAR supplies the
    missing BIND statements.
    
    2. During the catalog copy process, packages are created using
    the package owner as the qualifier. If certain packages are
    rebound with the qualifier SYSIBM, DDL generation on the catalog
    copy is unexpectedly based on the local Db2 system
    catalog.
    
    With this APAR applied, The GEN function will issue error
    message ADB1974E when the qualifier SYSIBM is
    detected while running in catalog copy mode.
    
    Example:
    
    ADB1974E Package ADB2REM has qualifier SYSIBM. Using this
    package from a catalog copy would have resulted in DDL based on
    the local Db2 system catalog. GEN processing stops.
    

Problem conclusion

  • The issues have been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH27566

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-07-17

  • Closed date

    2020-10-25

  • Last modified date

    2020-11-02

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

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

    UI72229

Modules/Macros

  • ADB1000  ADB2CBND ADB2CC   ADB2CDC  ADB2CM1  ADB2CM2  ADB2CM3
    ADB2CME  ADB2CMF  ADB2CMP  ADB2CMR  ADB2CMS  ADB2CMT  ADB2CMU
    ADB2DEP  ADB2GEN  ADB2GEN2 ADB2RE   ADB2REE  ADB2REG  ADB2REH
    ADB2REM  ADB2REP  ADB2RER  ADB2RES  ADB2RET  ADB2REU  ADB2REY
    ADB2REZ  ADB2RGC  ADB2RS   ADB2WCL  ADBCP
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RC10 PSY UI72229

       UP20/10/29 P F010

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.

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSCVQTD","label":"IBM Db2 Administration Tool for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"12.1.0"}]

Document Information

Modified date:
03 November 2020