IBM Support

PM57820: SQLCODE -101 SQLCODE101 WITH A LARGE QUERY DUE TO LARGE AMOUNTS OF SPACEBLKS ALLOCATED

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • SQLCODE -101 with a large query that used to work.  Failure was
    due to not enough storage available to process the query. An
    analysis of the dump shows large amounts (~2GB) of SPACEBLKS
    allocated by DSNXOPRU
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All DB2 9 and DB2 10                         *
    *                 z/OS users who uses complex                  *
    *                 statement with a large number                *
    *                 of predicates                                *
    ****************************************************************
    * PROBLEM DESCRIPTION: SQLCODE -101 with return code           *
    *                      RC00E20002 may be issued                *
    *                      for a complex SQL statement             *
    *                      which contains a large number           *
    *                      of predicates because numerous          *
    *                      SPACEBLK are allocated by               *
    *                      DSNXOPRU and they are not               *
    *                      deallocated.                            *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    SQLCODE -101 with return code RC00E20002 may be issued for
    a complex SQ L statement which contains a large number of
    predicates because numerous SPACEBLK are allocated by DSNXOPRU
    and they are not deallocated.
    
    DB2 issued SQLCODE -101 because it ran out of storage.
    

Problem conclusion

  • DB2 was fixed to free the storage thus eliminate SQLCODE -101.
    
    Additional Keywords: SQLSTOR SQLPRUN
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM57820

  • 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-02-09

  • Closed date

    2012-03-30

  • Last modified date

    2012-05-02

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

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

    UK77557 UK77558

Modules/Macros

  • DSNXOPRU
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • RA10 PSY UK77557

       UP12/04/17 P F204

  • R910 PSY UK77558

       UP12/04/17 P F204

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:
02 May 2012