IBM Support

PH24967: BATCH EXPLAIN SQL204 ERROR ON STATEMENT WITH TABLE NAME WRAPPINGOVER TWO ROWS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Batch explain SQL204 error on statement with table name wrapping
    over two rows
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: PE Server Subtask                            *
    *                 PWH                                          *
    *                 Explain                                      *
    *                 Classic Interface                            *
    *                 Enhanced 3270 UI                             *
    ****************************************************************
    * PROBLEM DESCRIPTION: 1.Long table name in explain is parsed  *
    *                      Incorrectly.                            *
    *                      2.Support unqualified table in SQLPA    *
    ****************************************************************
    * RECOMMENDATION: Apply the provided PTF.                      *
    ****************************************************************
    1. Statement with table name wraping over two rows returns
    syntax error in explain.
    2. SQLPA returns -204 when unqualified table is used in query.
    

Problem conclusion

  • 1.Correct long table name parser error.
    2.Support unqualified table name in SQLPA by setting
    BATSQLID=YES in RKD2PAR(OMPEOPTS).
    
    Search Keywords:
    < SQLPA -204 OMPEOPTS BATSQLID Explain >
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH24967

  • Reported component name

    OM XE DB2PE/PM

  • Reported component ID

    5655OPE00

  • Reported release

    540

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-04-30

  • Closed date

    2020-07-20

  • Last modified date

    2020-08-03

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

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

Modules/Macros

  • DGOFEDPM DGOVMSTR DGOZBEXP DGOZPC2  DGOZSQPA KD5AGENT KDPATR
    KDPBAR   KDPCAT   KDPDOC   KDPDSEXP KDPDSQLS KDPHDSQL KDPJSTMS
    KDPJSTPS KDPJSTPW KDPMAP   KDPMSMAN KDPPLEX  KDPVRTMS KO25DSQL
    KO2APC72 KO2APC7K KO2APC7S KO2OSQPB
    

Fix information

  • Fixed component name

    OM XE DB2PE/PM

  • Fixed component ID

    5655OPE00

Applicable component levels

  • R540 PSY UI70644

       UP20/07/22 P F007

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":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSZJXP","label":"DB2 Tools for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.4.0","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
19 October 2022