IBM Support

PK87350: EXPLAIN ON DBRM FAILES WITH MSG ANL1031I & DSNT408I SQLCODE -204

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Executing EXPLAIN on a DBRM generates error :
    ANL1031I DB2 object not found (table or column name) Sqlcode-204
    DSNT408I SQLCODE = -204, ERROR:  name    IS AN UNDEFINED NAME
    while the same statement copied into a PDS is successfully
    EXPLAINed.
    msgANL1031I msgDSNT408I sqlcode=-204
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All users of SQLPA.                          *
    ****************************************************************
    * PROBLEM DESCRIPTION: Executing EXPLAIN on a DBRM generates   *
    *                      error :                                 *
    *                      ANL1031I DB2 object not found           *
    *                      (table or column name)                  *
    *                      Sqlcode-204                             *
    *                      DSNT408I SQLCODE = -204,                *
    *                      ERROR:  name IS AN UNDEFINED NAME       *
    *                      while the same statement copied into a  *
    *                      PDS is successfully EXPLAINed.          *
    *                      msgANL1031I msgDSNT408I sqlcode=-204    *
    *                                                              *
    ****************************************************************
    * RECOMMENDATION: APPLY the PTF.                               *
    ****************************************************************
    Code has been changed to correct this condition.
    

Problem conclusion

  • Apply the PTF.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK87350

  • Reported component name

    DB2 SQL PERF AN

  • Reported component ID

    5697F5701

  • Reported release

    320

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2009-05-26

  • Closed date

    2009-08-18

  • Last modified date

    2009-09-02

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

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

    UK49350

Modules/Macros

  •    ANLPGM31
    

Fix information

  • Fixed component name

    DB2 SQL PERF AN

  • Fixed component ID

    5697F5701

Applicable component levels

  • R320 PSY UK49350

       UP09/08/21 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.

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

Document Information

Modified date:
18 March 2021