IBM Support

PI18562: SQLCODE104 AND SQLCODE204 ERRORS DUE TO WITH CLAUSE AND/OR INTO CLAUSE PROCESSING

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The resultant PTF will address the following issues:
    
    1) SQL PA issues SQLCODE204 when explaining SELECT containing
       WITH clause and unqualified tables in DBRM (A table qualifier
       is specified by a user).
    
    2) SQL PA issues SQLCODE104 when explaining SELECT containing
       WITH clause and unqualified tables in DBRM (No table
       qualifier is specified by a user).
    
    3) SQL PA issues SQLCODE104 when explaining PACKAGE that
       contains SELECT INTO clause. (v4.2 only)
    
    4) SQL PA issues incorrect message ANL1077W when Host variable
       is compared with the column that is qualified by a table
       indicator defined by WITH clause. (v4.2 only)
    
    5) SQL PA issues USER ABEND4083 when Host variable is compared
       with the column that is qualified by a table indicator
       defined by WITH clause. (v4.2 only)
    
    6) When running SQL PA against a DBRM, the report shows an extra
       leading character to the correlation name and the message
       ANL1077W instead of the ANL1079I one.
    
    Other keywords: ANL1077W ANL1077 MSGANL1077W MSGANL1077
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 SQL Performance Analyzer.       *
    ****************************************************************
    * PROBLEM DESCRIPTION: The resultant PTF will address the      *
    *                      following issues:                       *
    *                      1. SQL PA issues SQLCODE204 when        *
    *                      explaining SELECT containing WITH       *
    *                      clause and unqualified tables in DBRM   *
    *                      (A table qualifier is specified by a    *
    *                      user).                                  *
    *                      2. SQL PA issues SQLCODE104 when        *
    *                      explaining SELECT containing WITH       *
    *                      clause and unqualified tables in DBRM   *
    *                      (No table qualifier is specified by a   *
    *                      user).                                  *
    *                      3. SQL PA issues SQLCODE104 when        *
    *                      explaining PACKAGE that contains        *
    *                      SELECT INTO clause. (v4.2 only)         *
    *                      4. SQL PA issues incorrect message      *
    *                      ANL1077W when Host variable is          *
    *                      compared with the column that is        *
    *                      qualified by a table indicator defined  *
    *                      by WITH clause. (v4.2 only)             *
    *                      5. SQL PA issues USER ABEND4083 when    *
    *                      Host variable is compared with the      *
    *                      column that is qualified by a table     *
    *                      indicator defined by WITH clause.       *
    *                      (v4.2 only)                             *
    *                      Other keywords: ANL1077W ANL1077        *
    *                      MSGANL1077W MSGANL1077                  *
    ****************************************************************
    * RECOMMENDATION: APPLY the PTF.                               *
    ****************************************************************
    Code has been changed to correct this condition.
    

Problem conclusion

  • APPLY the PTF.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI18562

  • Reported component name

    DB2 SQL PERF AN

  • Reported component ID

    5697F5701

  • Reported release

    410

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2014-05-22

  • Closed date

    2014-10-20

  • Last modified date

    2015-02-26

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

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

    UI22332 UI22333

Modules/Macros

  • ANLDPRM  ANLEEE   ANLGPRM  ANLMAIN  ANLPRCC
    ANLPRCR  ANLPREC  ANLPRER  ANLQMF   ANLSQLPA ANLTSO
    

Fix information

  • Fixed component name

    DB2 SQL PERF AN

  • Fixed component ID

    5697F5701

Applicable component levels

  • R410 PSY UI22332

       UP14/10/23 P F410

  • R420 PSY UI22333

       UP14/10/23 P F410

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":"4.1.0"}]

Document Information

Modified date:
04 January 2021