IBM Support

PI55762: SQLCODE-904, SQLCODEN904 WITH REASON CODE 00C90305 WAS ISSUED FROM SELECT STATEMENT WHEN ZPARM MAXTEMPS = 0041944064

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When zparm MAXTEMPS is set to 0041944064, a SELECT statement
    returning a large amount of data such as 40G, will incur the
    SQLCODE-904 with reason code 00C90305 RC00C90305.
    

Local fix

  • set MAXTEMPS to zero as a bypass
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All DB2 10 and 11 for z/OS users who change  *
    *                 MAXTEMPS subsystem parameter.                *
    ****************************************************************
    * PROBLEM DESCRIPTION: Unexpected SQLCODE904 with REASON code  *
    *                      RC00C90305 can occur.                   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The MAXTEMPS subsystem parameter determines the maximum amount
    of temporary storage in the work file database and the
    acceptable maximum value is 2147483647 in MB units. DB2 uses a
    31 bit variable to store MAXTEMPS and needs transfer it to KB
    units. When the MAXTEMPS is set to a large value (customer case
    is 41944064), the significant digits are truncated. It causes
    DB2 to use wrong value to calculate the maximum amount of
    temporary storage and rusults in the reported SQLCODE904.
    

Problem conclusion

  • DB2 code is modified to correct the problem.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI55762

  • Reported component name

    DB2 OS/390 & Z/

  • Reported component ID

    5740XYR00

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-01-20

  • Closed date

    2016-03-10

  • Last modified date

    2016-04-05

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

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

    UI36163 UI36164

Modules/Macros

  • DSNIERST
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • RA10 PSY UI36163

       UP16/03/29 P F603

  • RB10 PSY UI36164

       UP16/03/29 P F603

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":"10.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":"10.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
05 April 2016