IBM Support

PM77140: SQLCODE -204 ON SYSIBM.TABLESPACESTATS WITH DB2 V9/V10

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Customer is having an issue with FOPD2EXE when executing SQL
    using FOPD2EXE.
    They are in DB2 v9, but error is SQLCODE -204 on
    SYSIBM.TABLESPACESTATS which is a DB2 v8 user defined RTS table.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All Optim/z users executing the FOPD2EXE CLIST to EXECUTE    *
    * SQL fragments.                                               *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * o SQLCODE -204 on SYSIBM.TABLESPACESTATS may be reported     *
    * when executing SQL statements with FOPD2EXE in DB2 V9 or     *
    * V10.                                                         *
    * o ABEND S0C4 ABEND0C4 or USER ABEND CODE=4042 U4042 may be   *
    * reported with error message                                  *
    * CEE0802C Heap storage control information was damaged.       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Apply the provided fix.                                      *
    ****************************************************************
    Under certain circumstances when using DB2 V9 or V10 and
    executing SQL statements which may produce SQL errors or
    additional prompts for substitution variables Optim may
    incorrectly reference storage which was released prematurely
    leading to errors.
    

Problem conclusion

  • Program logic has been changed to correct product behavior.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM77140

  • Reported component name

    OPTIM MOVE FOR

  • Reported component ID

    5655V0700

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-11-14

  • Closed date

    2012-12-06

  • Last modified date

    2013-01-02

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

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

Modules/Macros

  • FOPMMUTL FOPMDXTR FOPCFPMN FOPMAIN  FOPMEMAI FOPMDDDL FOPMMUNU
    FOPMCMAI FOPZMAIN FOPUMCBT FOP0PIMN FOPZSUB  FOPMUXIM FOPHSTM
    FOPOMN   FOP9APIM
    

Fix information

  • Fixed component name

    OPTIM MOVE FOR

  • Fixed component ID

    5655V0700

Applicable component levels

  • R710 PSY UK90093

       UP12/12/11 P F212

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"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
02 January 2013