IBM Support

PI44200: SQLCODE904 ON AN ACCELERATED QUERY WHEN LOAD_ENABLE_HOUR24_CONVERSION=TRUE

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using TIME() function on an accelerated query and with
    environment variable LOAD_ENABLE_HOUR24_CONVERSION = true,
    SQLCODE -904 is returned with message text:
    
    ERROR: Bad time external representation '24:00:00'
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All users of DB2 for z/OS who use query      *
    *                 acceleration.                                *
    ****************************************************************
    * PROBLEM DESCRIPTION: When the accelerator server parameter   *
    *                      LOAD_ENABLE_HOUR24_CONVERSION is set    *
    *                      to true, an SQLCODE -904 can occur      *
    *                      for an accelerated SQL statement that   *
    *                      contains the TIME() scalar function.    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When the accelerator server parameter
    LOAD_ENABLE_HOUR24_CONVERSION is set to true, an SQLCODE -904
    can occur for an accelerated SQL statement that contains the
    TIME() scalar function.
    
    Keywords:
    IDAAV4R1/K SQLTIME
    

Problem conclusion

  • Code is fixed so that the SQL statement executes successfully
    on the accelerator.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI44200

  • Reported component name

    DB2 OS/390 & Z/

  • Reported component ID

    5740XYR00

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-07-02

  • Closed date

    2015-09-10

  • Last modified date

    2015-12-02

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

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

    UI31038

Modules/Macros

  • DSNXONZA DSNXONZS
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • RB10 PSY UI31038

       UP15/11/06 P F511

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

Document Information

Modified date:
02 December 2015