IBM Support

PM87316: INCORRECT TIMESTAMP(CHAR_COLUMN) FOR LOGICAL UNLOAD

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The result of a logical unload involving an expression such as
    such as TIMESTAMP(char_column) is incorrect.
    
    This might have the following impact (non comprehensive list):
    - the output field corresponding to the expression including
      the TIMESTAMP(char_column) expression has an incorrect content
    - the generated LOAD staement, if any is requested, describes
      the related field as an INTEGER
    
    For example, with the following unload command:
    SELECT
         TIMESTAMP(CHAR_26_COLUMN)
    FROM
    MZLFLB.TBDZ9DFLB99901
    FORMAT DSNTIAUL
    OUTDDN(SYSREC01)
    
    where CHAR_26_COLUMN is defined as CHAR(26), the output data set
    contains
    (hex view)
    21000000
    02110000
    
    instead of
    (hew view)
    2012-01-01-00.00.00.000000
    FFFF6FF6FF6FF4FF4FF4FFFFFF
    2012001001000B00B00B000000
    
    PB11817
    

Local fix

  • use the DB2 FORCE option.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of High Performance Unload.            *
    ****************************************************************
    * PROBLEM DESCRIPTION: The result of a logical unload          *
    *                      involving an expression such as such    *
    *                      as TIMESTAMP(char_column) is incorrect. *
    *                      This might have the following impact    *
    *                      (non comprehensive list):               *
    *                      - the output field corresponding to     *
    *                       the expression including the           *
    *                       TIMESTAMP(char_column) expression has  *
    *                       an incorrect content                   *
    *                      - the generated LOAD staement, if any   *
    *                       is requested, describes the related    *
    *                       field as an INTEGER                    *
    *                      For example, with the following unload  *
    *                      command:                                *
    *                                                              *
    *                      SELECT                                  *
    *                           TIMESTAMP(CHAR_26_COLUMN)          *
    *                      FROM                                    *
    *                      MZLFLB.                                 *
    *                      TBDZ9DFLB99901                          *
    *                      FORMAT DSNTIAUL                         *
    *                      OUTDDN(SYSREC01)                        *
    *                      where CHAR_26_COLUMN is defined as      *
    *                      CHAR(26), the output data set contains  *
    *                      (hex view)                              *
    *                      21000000                                *
    *                      02110000                                *
    *                      instead of                              *
    *                      (hew view)                              *
    *                      2012-01-01-00.00.00.000000              *
    *                      FFFF6FF6FF6FF4FF4FF4FFFFFF              *
    *                      2012001001000B00B00B000000              *
    *                      pb 11817                                *
    ****************************************************************
    * RECOMMENDATION: APPLY the PTF.                               *
    ****************************************************************
    The inznode, inznodeh and udbspgsq modules were fixed.
    

Problem conclusion

  • APPLY the PTF.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM87316

  • 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-04-18

  • Closed date

    2013-05-07

  • Last modified date

    2013-06-04

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

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

Modules/Macros

  •    INZCHECK INZSIVP
    

Fix information

  • Fixed component name

    DB2 HI PERF UNL

  • Fixed component ID

    5697F4400

Applicable component levels

  • R410 PSY UK94106

       UP13/05/14 P F305

  • R420 PSY UK94107

       UP13/05/14 P F305

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