IBM Support

PH14437: COPY UTILITY SETS OLDEST VERSION IN SYSCOPY INCORRECTLY

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When a multi-table table space has a system page for a dropped
    table, but does not have a system page for an active table, the
    COPY utility sets the oldest version in SYSCOPY incorrectly.
    Later, a MODIFY RECOVERY utility may delete the prime OBD.
    

Local fix

  • Before copy:
    write the system page using REPAIR INSERTSYSTEMPAGES before the
    copy. But, the schema still need to match (REPAIR CATALOG TEST
    must passed).
    
    After copy:
    create a new table that has prime obd, dsn1copy the data to new
    table and unload to get V0 records.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All Db2 11 for z/OS and Db2 12 for z/OS      *
    *                 users of multi-table table spaces with data  *
    *                 versioning                                   *
    ****************************************************************
    * PROBLEM DESCRIPTION: ABEND04E REASON CODE RC00C90101         *
    *                      DSNIRNXT:5398 during SELECT following   *
    *                      a full image copy and a MODIFY          *
    *                      RECOVERY of a multi-table table space   *
    *                      with version 0 rows for the active      *
    *                      table that had been ALTERed with no     *
    *                      system page, and no version 0 rows      *
    *                      with system pages for one or more       *
    *                      dropped tables.                         *
    ****************************************************************
    * RECOMMENDATION: Apply corrective PTF when available          *
    ****************************************************************
    When processing a multi-table (no INSERT, UPDATE, DELETE, or
    REORG after the ALTER) table space with at least one
    table that has no system page , and at least one table with
    no version 0 system page that had been dropped, COPY put an
    incorrect OLDEST_VERSION in SYSCOPY.
    When MODIFY RECOVERY ran, it will cleanup the SYSCOPY records
    older than the last full image copy and delete the OBDPRIME in
    SYSIBM.SYSOBDS.
    
    This same ABEND may also be encountered by any other process
    that read the data such as RUNSTATS, UNLOAD, and REORG.
    
    LOAD and REORG utility with inline copy can also update
    OLDEST_VERSION in SYSCOPY with an incorrect value.
    

Problem conclusion

  • Utility code is changed to get the correct lowest version and
    update OLDEST_VERSION in SYSCOPY correctly.
    

Temporary fix

  • *********
    * HIPER *
    *********
    

Comments

APAR Information

  • APAR number

    PH14437

  • Reported component name

    DB2 OS/390 & Z/

  • Reported component ID

    5740XYR00

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    YesHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-07-15

  • Closed date

    2019-08-07

  • Last modified date

    2019-09-01

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

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

    UI64640 UI64645

Modules/Macros

  •    DSNUBINS DSNURSYC
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • RB10 PSY UI64645

       UP19/08/23 P F908 Ž

  • RC10 PSY UI64640

       UP19/08/22 P F908 Ž

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":"SSEPEK","label":"Db2 for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
01 September 2019