IBM Support

PK26397: SQLPA RECEIVE DB2 SQLCODE -204 42704 SQLSTATE WHEN USEPLAN IS SET.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • SQLCODE -204 with SQLSTATE 42704 when SQLPA uses USEPLAN.
    ADDITIONAL SYMPTOMS:
    1) Sample member ANLWIF31 is missing a public grant
       statement in *.SANSQL(ANLGRANT).
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 SQL Performance Analyzer.       *
    ****************************************************************
    * PROBLEM DESCRIPTION: SQLCODE -204 with SQLSTATE 42704 when   *
    *                      SQLPA uses USEPLAN.                     *
    *                      ADDITIONAL SYMPTOMS:                    *
    *                      1. Sample member ANLWIF31 is missing a  *
    *                      public grant statement in               *
    *                      *.SANSQL(ANLGRANT).                     *
    ****************************************************************
    * RECOMMENDATION: APPLY the PTF.                               *
    ****************************************************************
    For V2R2M0...
    1. replace ANLGOV1 module for QMF interface - new sample program
    in SANLSAMP - reassembly and re-link required.
    2. correct ANLQMF28 program for QMF interface to not show cost
    boxes unless REPORTS ANY is selected - re-link is required.
    3. Parser corrections: (a) on Synonyms, prevent overlay by
    correlation names (PMR74080). (b) Improve high level qualifier
    insert routine to obtain correct lengths for V7 and V8 Compat
    modes (PMR07857);  (c) correct for missing parsed query blocks
    on outer joins (PMR62929).
    
    For V3R1M0...
    1. Change ANLALL clist to make ANLPGM31 the default program
    called upon install in SANLCLST and SANLVCLS (PMR64079)
    2. add OBJECTS YES to ANLPARM sample parameters (RETPLAN YES is
    already in sample Explain-capable stored procedures access
    programs) in SANLPARM (PMR17563)
    3.add ANLWIF31, ANLPRE3C, ANLPRE3R, ANLSTE3C and ANLSTE3R to the
    ANLGRANT member of SANLSQL (PMR17563)
    4. replace ANLGOV1 module for QMF interface - new sample program
    in SANLSAMP - reassembly and re-link required.
    5. correct ANLQMF31 program for QMF interface to not show cost
    boxes unless REPORTS ANY is selected - re-link is required.
    6. Parser corrections: (a) on Synonyms, prevent overlay by
    correlation names (PMR74080). (b) Improve high level qualifier
    insert routine to obtain correct lengths for V7 and V8 Compat
    modes (PMR07857);  (c) correct for missing parsed query blocks
    on outer joins (PMR62929).
    

Problem conclusion

  • APPLY the PTF.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK26397

  • Reported component name

    DB2 SQL PERF AN

  • Reported component ID

    5697F5701

  • Reported release

    220

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2006-06-12

  • Closed date

    2006-08-04

  • Last modified date

    2006-09-05

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

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

    UK16941 UK16940

Modules/Macros

  • ANLALL   ANLGOV1  ANLGRANT ANLIDX   ANLNUX
    ANLPARM  ANLPGME7 ANLPGME8 ANLPGM3N ANLPGM31 ANLPRC3C ANLPRC3R
    ANLPRE3C ANLPRE3R ANLPROCC ANLPROCR ANLQMF22 ANLQMF31 ANLREST
    ANLTAB
    

Fix information

  • Fixed component name

    DB2 SQL PERF AN

  • Fixed component ID

    5697F5701

Applicable component levels

  • R220 PSY UK16940

       UP06/08/08 P F608

  • R310 PSY UK16941

       UP06/08/08 P F608

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

Document Information

Modified date:
04 January 2021