IBM Support

PH13433: DB2 ADMINISTRATION TOOL - INSERT HINT COMMAND FAILS WITH SQLCODE-117 OR EXPLAIN UT PLAN_TABLE NO UPGRADE DONE ADB2E

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • This APAR resolves various symptoms related to the fact that
    Admin Tool does not take into account new column PER_STMT_ID
    that was added to PLAN_TABLEs when upgrading to Db2 V12:
    1.  Using the IH - 'Insert Hint' command returns error SQLCODE
    -117 / SQLCODEN117 because of the new column PER_STMT_ID that
    was added to PLAN_TABLEs when upgrading to Db2 V12.
    2.  An attempt to upgrade a PLAN_TABLE (missing column
    PER_STATEMENT_ID) using option E (Explain) from the Admin Tool
    main menu, and command UT (Upgrade a table to current DB2
    version) on panel ADB2E, results in the message "No upgrade
    done". Hitting PF1 to get additional information results in the
    longer message,  "The PLAN_TABLE was already at the correct
    level".
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Administration Tool for     *
    *                 z/OS who use EXPLAIN panel with              *
    *                 PLAN_TABLE table.                            *
    ****************************************************************
    * PROBLEM DESCRIPTION: Line command IH on panel ADB2EL returns *
    *                      SQLCODE=-117 / SQLCODEN117 due to       *
    *                      missing V12 column for PLAN_TABLE.      *
    *                      Also, when doing an upgrade V11         *
    *                      PLAN_TABLE to V12 using UT              *
    *                      command on panel ADB2E, no update       *
    *                      is done.                                *
    ****************************************************************
    While running Db2 Admin Tool v12.1 against Db2 V12 FL100,
    submitting line command IH to insert a hint from panel ADB2EL
    results in a SQLCODE=-117.
    
    Also when using command UT - 'Upgrade a table to current DB2
    version', on panel ADB2E to add new V12 column to PLAN_TABLE,
    entered desired schema, and then entered 1 for the Table entry,
    Tool responded with the message:
    
      "No upgrade done"
    
    Pressing PF1 to get additional info came back with:
    
      "The PLAN_TABLE was already at the correct level"
    which is not correct because it did not have the PER_STMT_ID
    column.
    

Problem conclusion

  • The problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH13433

  • 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

    2019-06-17

  • Closed date

    2019-07-19

  • Last modified date

    2019-08-01

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

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

    UI64316

Modules/Macros

  • ADB2EC   ADB2ELI  ADB2ELIH ADB2EU
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RC10 PSY UI64316

       UP19/07/24 P F907

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":"12.1.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
01 August 2019