IBM Support

PK45602: ADMIN TOOL UPDATE OPT HINTS CORRUPTS PLAN TABLE DATA FIELDS LIKE MATCHCOLS INDEXONLY SORTN_UNIQ ETC AFFECTED

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Using Explain function in the DB2 Administration Tool Option
    E.E panel ADB2E ADB2EE ADB2ELIH ADB2PSTM to HU or update an
    optimizer hint corrupts table data . User inputs in panel ADB2EE
    SELECT * FROM
     DSN8710.DEPT WHERE DEPTNO = 'A00' ;
    Then in panelid ADB2ELIH uses HU to update the optimizer hint.
    The resulting columns in panelid ADB2PSTM are incorrect:
    Column Name    Original Value    Updated Value
    ------------   --------------    ---------------
    MATCHCOLS          1                  0
    INDEXONLY          N                  blank
    SORTN_UNIQ         N                  blank
    SORTN_ORDERBY      N                  blank
    SORTN_GROUPBY      N                  blank
    SORTC_UNIQ         N                  blank
    SORTC_ORDERBY      N                  blank
    SORTC_GROUPBY      N                  blank
    TSLOCKMODE         IS                 blank
    PARALLELISM_MODE   ?                  blank
    IBM_SERVICE_DATA .}ト./￶ .₩      K    blank
    QBLOCK_TYPE        SELECT             blank
    BIND_TIME  2007-05-15-12.04.04.490000 2007-05-15-12.05.32.498952
    .
    If this is allowed to run it would corrupt the table data.
    

Local fix

  • Please apply ptf when available.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Admin Tool users who use optimizer hints.    *
    ****************************************************************
    * PROBLEM DESCRIPTION: Updating  an  optimizer   hint  updated *
    *                      columns which should be retained as is. *
    ****************************************************************
    * RECOMMENDATION: Code change solves problem.                  *
    ****************************************************************
    Changed UH line command to only update hint-related columns in
    the plan table.
    

Problem conclusion

  • Code change solves problem.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK45602

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2007-05-21

  • Closed date

    2007-12-07

  • Last modified date

    2008-01-03

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

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

Modules/Macros

  •    ADB2ELIH
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • R710 PSY UK32063

       UP07/12/19 P F712

  • R720 PSY UK32064

       UP07/12/19 P F712

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

Document Information

Modified date:
03 January 2008