IBM Support

PH18571: USER GETS SQL CODE - 204 IN SQL PA OPTIONS 1.1 WHEN TABLE DSN_DETCOST_TABLE WAS NOT DEFINED

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • User gets SQL code - 204 in SQL PA options 1.1 when table
    DSN_DETCOST_TABLE was not defined
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: IBM Db2 SQL Performance Analyzer             *
    *                 users of component :                         *
    *                 - Process packages from the DB2 system       *
    *                   catalog;                                   *
    *                 - Process a compare of package access paths; *
    *                 - Process a test of packages for updated     *
    *                   access paths;                              *
    *                 - During BATCH test or compare processes.    *
    *                 - During run of ANLBIND program              *
    ****************************************************************
    * PROBLEM DESCRIPTION: 1. the message "Unexplainable           *
    *                         Statements" appears;                 *
    *                      2. Not fully correct compare process    *
    *                         when version set.                    *
    *                      3. Not displayed if value is the same   *
    *                         for old/new PROCSU,                  *
    *                         PROCMS and TOTAL_COST .              *
    *                      4. When ANLBIND is performing the       *
    *                         message "IBM0534S ONCODE=8094        *
    *                         Protection exception" can  appear .  *
    *                      5. SQLPA package Explain displaying     *
    *                         incorrect data.                      *
    ****************************************************************
    * RECOMMENDATION: Apply the PTF                                *
    ****************************************************************
    1. The message "Unexplainable Statements" appeares;
    2. Not fully correct compare process when version set.
    3. Not displayed if value is the same for old/new PROCSU,
    PROCMS and TOTAL_COST .
    4. When ANLBIND is performing the message
    "IBM0534S ONCODE=8094 Protection exception" can appear.
    5. When command Explain is used in function 1.1, sometimes
    incorrect data in query block is displaying.
    

Problem conclusion

  • Code logic was corrected to fix the issue described.
    
    Search Keywords:
    message "Unexplainable Statements"( and is sqlcode-204
    for DSN_DETCOST_TABLE in *.ANLCOST.LOG) ;
    message "IBM0534S ONCODE=8094 Protection exception" when ANLBIND
    is working
    when item 1.1 is used and command Explain ,sometime are
    displaying incorrect data then.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH18571

  • Reported component name

    DB2 SQL PERF AN

  • Reported component ID

    5697F5701

  • Reported release

    510

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-10-29

  • Closed date

    2019-12-20

  • Last modified date

    2020-01-03

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

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

    UI67150

Modules/Macros

  • ANLBATCH ANLBIND  ANLPTCM  ANLSQLPA ANLTSO
    

Fix information

  • Fixed component name

    DB2 SQL PERF AN

  • Fixed component ID

    5697F5701

Applicable component levels

  • R510 PSY UI67150

       UP19/12/24 P F912

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":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Platform":[{"code":"PF054","label":"z\/OS"}],"Version":"5.1.0"}]

Document Information

Modified date:
04 January 2021