IBM Support

PK69623: KO2EXPL PLANEXPLAIN SQLCODE -220 THEN -4700

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • KO2EXPL PLANEXPLAIN SQLCODE -220 THEN -4700
    
    A "ALTER TABLE PLAN_TABLE ALTER PROGNAME SET DATA TYPE
    VARCHAR(128)" should be possible in ENFM and NFM.
    
    Will create a valid PLAN_TABLE for DB2 V8 ENFM.
    

Local fix

  • Create the TDMHP1.PLAN_TABLE manually (See SDSNSAMP(DSNTESC)
    for 58-col varchar(128) PLAN_TABLE) before using the batch
    Explain job and to avoid the SQLCODE -4700.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: OMEGAMON XE for DB2 PE/DB2PM                 *
    *                 users of component:                          *
    *                 -   EXPLAIN                                  *
    ****************************************************************
    * PROBLEM DESCRIPTION: Error scenario:                         *
    *                      - Environment: DB2 V8 ENFM system       *
    *                      - The PLAN_TABLE has 51 columns         *
    *                      - Running a Batch Explain job           *
    *                        results in message FPEY0613W and      *
    *                        DSNT408I SQLCODE = -4700              *
    ****************************************************************
    * RECOMMENDATION: Apply this PTF                               *
    ****************************************************************
    PROBLEM SUMMARY:
    Error scenario:
    - Environment: DB2 V8 ENFM system
    - The PLAN_TABLE has 51 columns
    - Running a Batch Explain job results in message
      FPEY0613W and DSNT408I SQLCODE = -4700
    - FPEY0105I
      LAST COLUMN STMTTOKEN HAS BEEN ADDED TO owner.PLAN_TABLE
    - FPEY0613W
      ALTERATION OF LAST COLUMN PROGNAME FOR owner.PLAN_TABLE
      IN STEP ALTER TABLE FAILED. SQL CODE: -04700
    - DSNT408I
      SQLCODE = -4700,
      ERROR: ATTEMPT TO USE NEW FUNCTION BEFORE NEW FUNCTION MODE
    
    PROBLEM CONCLUSION:
    Code change to avoid msg FPEY0613W.
    

Problem conclusion

  • Code change to avoid msg FPEY0613W.
    
    KEYWORDS: EXPLAIN FPEY0613W SQLCODE=-4700 DB2-V8-ENFM
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK69623

  • Reported component name

    OM XE DB2PE/PM

  • Reported component ID

    5655OPE00

  • Reported release

    410

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2008-07-25

  • Closed date

    2008-10-10

  • Last modified date

    2017-02-04

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

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

    UK40629

Modules/Macros

  •    DGO@ALPT DGO@MAIN DGO@SEEE DGO@TPG3 DGO@TPG4
    DGO@TPG5 DGO@TPT0 DGO@YQPT DGO@YX00 DGOMYQPT DGOMYX00 DGOYALPT
    DGOYMAIN DGOYSEEE DGOYTPG3 DGOYTPG4 DGOYTPG5 DGOYTPT0
    

Fix information

  • Fixed component name

    OM XE DB2PE/PM

  • Fixed component ID

    5655OPE00

Applicable component levels

  • R410 PSY UK40629

       UP08/10/11 P F810

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

Document Information

Modified date:
31 March 2021