IBM Support

PK96496: PANEL ADB2EC "CREATE PLAN_TABLE" SQLCODEN874 AS CCSID UNICODE USED EVEN IF "IN" LOOKUP SELECTION SELECTS AN EBCDIC TABLESPACE

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The DB2 Administration Tool for z/OS panel ADB2EC "Create
    PLAN_TABLE" running on a DB2 9 CM subsystem created DDL with
    CCSID UNICODE even though the "IN" database and tablespace
    were CCSID EBCDIC. The CREATE TABLE fails with a message:
    DSNT408I SQLCODE = -874, ERROR:  THE ENCODING SCHEME SPECIFIED
    FOR THE TABLE MUST BE THE SAME AS THE CONTAINING TABLE SPACE
    OR OTHER PARAMETERS
    

Local fix

  • Use the PROMPT feature to edit the CREATE TABLE statement before
    execution to replace/remove the CCSID statement.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 Administration Tool for         *
    *                 z/OS who want to create a Plan table         *
    *                 for the Explain SQL function.                *
    ****************************************************************
    * PROBLEM DESCRIPTION: When creating a Plan table in an        *
    *                      encoding scheme EBCDIC type             *
    *                      of database, the SQL fails              *
    *                      with error code -874.                   *
    ****************************************************************
    * RECOMMENDATION: Apply The PTF.                               *
    ****************************************************************
    Panel ADB2EC fails with SQLERROR -874.
    

Problem conclusion

  • The problem has been fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK96496

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    720

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-09-17

  • Closed date

    2010-02-26

  • Last modified date

    2010-04-03

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

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

Modules/Macros

  •    ADB2E    ADB2EC
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • R720 PSY UK54756

       UP10/03/04 P F003

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":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSCVQTD","label":"IBM Db2 Administration Tool for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"720","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
03 April 2010