IBM Support

PM96330: A LOGICAL UNLOAD RUN IN NATIVE MODE IN WHICH THE SQL STATEMENT INVOLVES THE TIMESTAMP() SCALAR FUNCTION GIVES INCORRECT RESULT

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A logical unload run in native mode which SQL statement involves
    the TIMESTAMP() scalar function with no precision argument gives
    an incorrect result.
    This can occur when the expected precision of the output of
    TIMESTAMP() function is not 6 ; i.e. if the first argument is
    either a timestamp with a precision different from 6 or a date.
    PB12011
    

Local fix

  • Add the precision argument to the TIMESTAMP() function
    invocation or run the unload in SQL mode by using the DB2 FORCE
    option.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 High Performance Unload.        *
    ****************************************************************
    * PROBLEM DESCRIPTION: A logical unload run in native which    *
    *                      SQL statement involves the TIMESTAMP()  *
    *                      scalar function with no precision       *
    *                      argument gives an incorrect result.     *
    *                      This can occur when the expected        *
    *                      precision of the output of TIMESTAMP()  *
    *                      function is not 6 ; i.e. if the first   *
    *                      argument is either a timestamp with a   *
    *                      precision different from 6 or a date.   *
    *                      PB 12011                                *
    ****************************************************************
    * RECOMMENDATION: APPLY the PTF.                               *
    ****************************************************************
    The inznodeh and udbspgsq modules were fixed.
    

Problem conclusion

  • APPLY the PTF.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM96330

  • Reported component name

    DB2 HI PERF UNL

  • Reported component ID

    5697F4400

  • Reported release

    410

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-09-03

  • Closed date

    2013-09-11

  • Last modified date

    2013-10-04

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

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

Modules/Macros

  •    INZUTILK
    

Fix information

  • Fixed component name

    DB2 HI PERF UNL

  • Fixed component ID

    5697F4400

Applicable component levels

  • R410 PSY UK97441

       UP13/09/13 P F309

  • R420 PSY UK97442

       UP13/09/13 P F309

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

Document Information

Modified date:
12 February 2021