IBM Support

PM63788: SQLCODE904 WITH REASON 00000000 , TYPE OF RESOURCE 00000000

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Application received SQLCODE904 due to RC00C9000A and
    RC00C20023 . However, MSGDSNT408I had zeroes for REASON and
    TYPE OF RESOURCE identifiers and blank RESOURCE NAME identifier.
    Additional Keywords: SQLCA -904 DSNT408I
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: DB2 users.                                   *
    ****************************************************************
    * PROBLEM DESCRIPTION: SQL fails with reason code -904         *
    *                      (resource unavailable), but the reason  *
    *                      code and resource type are zeroes, and  *
    *                      the resource name is blank.             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    If an unconditional page latch is requested and there is
    contention on the latch, it is possible for a residual flag
    in a control block to cause the request to be denied as a
    conditional latch failure.  The requesting code expects no
    such failure and assumes any failure must be a "resource
    unavailable" condition, so it ends up as a -904 SQLCODE.
    However, since there was never any real "resource unavailable"
    situation, the reason code, resource type, and resource name
    are left unformatted.
    

Problem conclusion

  • The page latching code has been modified to avoid treating an
    unconditional request as conditional due to a residual flag.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM63788

  • Reported component name

    DB2 OS/390 & Z/

  • Reported component ID

    5740XYR00

  • Reported release

    910

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-05-03

  • Closed date

    2012-07-05

  • Last modified date

    2012-08-08

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

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

    UK80056 UK80057

Modules/Macros

  • DSNB1LTS DSNB1LTX
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • RA10 PSY UK80056

       UP12/07/20 P F207

  • R910 PSY UK80057

       UP12/07/20 P F207

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":"SSEPEK","label":"Db2 for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}},{"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":"9.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
08 August 2012