IBM Support

PH72077: AOC SETUP JOB FAILS ON CREATE TRIGGER ADB_MT_CHANGE_UPDATE WITH SQLCODE = -206

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • AOC setup job fails on CREATE TRIGGER ADB_MT_CHANGE_UPDATE with
    SQLCODE = -206, ERROR:  OLDROW IS NOT VALID IN THE CONTEXT WHERE
    IT IS USED. I have looked at installed APARs and I think this is
    caused by PH69910: RESTRICT INCORRECT COLUMN QUALIFIER IN CREATE
    TRIGGER UPDATE OF LIST
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Db2 Administration Tool for z/OS    *
    ****************************************************************
    * PROBLEM DESCRIPTION: The Tools Customizer (TCz) setup job    *
    *                      ADBSETUP might fail on the CREATE       *
    *                      TRIGGER statement with SQLCODE -206.    *
    ****************************************************************
    The trigger definition in the ADBSETUP job used column names
    qualified by correlation names in the AFTER UPDATE OF clause
    as follows:
    AFTER UPDATE OF OLDROW.STATUS, OLDROW.OWNER, OLDROW.NAME
    With Db2 APAR PH69910, base table column names cannot specify
    qualifiers in UPDATE OF lists. The trigger definition was
    corrected to keep the OLDROW correlation name only in valid
    contexts (REFERENCING and WHEN predicate comparisons).
    

Problem conclusion

  • The problem has been fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH72077

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    D10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2026-07-02

  • Closed date

    2026-07-17

  • Last modified date

    2026-08-03

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

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

    UO08645

Modules/Macros

  • ADBSETUP
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RD10 PSY UO08645

       UP26/07/21 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":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSZJXP","label":"DB2 Tools for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"D10","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
04 August 2026