IBM Support

PH36328: ALLOW TO REQUEST THAT THE LOAD COMMAND GENERATED FOR AN UNLOAD IN SQL MODE SPECIFIES THE DATA UNLOADED FROM THE ROWID COLUMNS

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as new function.

Error description

  • As designed, the LOAD command generated for a logical unload
    involving a a ROWID GENERATED ALWAYS column processed in SQL
    mode when the unload is run in SQL mode (either the DB2 FORCE
    option is specified or the SELECT statement is not supported)
    may request the ROWID column be loaded from the field from the
    input dataset instead of being  automatically populated by the
    LOAD utility. This occurs regardless of the setting for the
    "Technique to generate SYSIN for identity column
    (VUU058/ULIDENT)" parmlib parameter that only applies to the
    native mode.
    In SQL mode, Db2 HPU can usually not determine if a ROWID column
    has the GENERATED ALWAYS attribute and, as in most of the cases,
    it is relevant to let the LOAD utility generate a value for
    identity columns, Db2 HPU should be fitted with a way to request
    the data unloaded from the identity columns be ignored by the
    LOAD utility by not using the genuine column name for the
    related field description and specifying the IGNOREFIELDS option
    whenever the GENERATED ALWAYS attribute of a ROWID column
    involved in the unload cannot be determined.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Db2 High Performance Unload         *
    *                 for z/OS                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: As designed, the LOAD command generated *
    *                      for a logical unload involving a ROWID  *
    *                      GENERATED ALWAYS column processed in    *
    *                      SQL mode when the unload is run in SQL  *
    *                      mode (either the DB2 FORCE option is    *
    *                      specified or the SELECT statement is    *
    *                      not supported) may request the ROWID    *
    *                      column be loaded from the field from    *
    *                      the input dataset instead of being      *
    *                      automatically populated by the LOAD     *
    *                      utility. This occurs regardless of the  *
    *                      setting for the "Technique to generate  *
    *                      SYSIN for identity column               *
    *                      (VUU058/ULIDENT)" parmlib parameter     *
    *                      that only pplies to the native mode.    *
    *                                                              *
    *                      In SQL mode, Db2 HPU can usually not    *
    *                      determine if a ROWID column has the     *
    *                      GENERATED ALWAYS attribute and, as in   *
    *                      most of the cases, it is relevant to    *
    *                      let the LOAD utility generate a value   *
    *                      for identity columns, Db2 HPU should be *
    *                      fitted with a way to request the data   *
    *                      unloaded from the identity columns be   *
    *                      ignored by the LOAD utility by not      *
    *                      using the genuine column name for the   *
    *                      related field description and           *
    *                      specifying the IGNOREFIELDS option      *
    *                      whenever the GENERATED ALWAYS attribute *
    *                      of a ROWID column involved in the       *
    *                      unload cannot be determined.            *
    ****************************************************************
    * RECOMMENDATION: Apply the PTF                                *
    ****************************************************************
    Allow to request that the LOAD command generated for an unload
    in SQL mode requests the data unloaded from the ROWID columns be
    ignored by the LOAD utility.
    

Problem conclusion

  • Code has been changed to fix this problem
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH36328

  • Reported component name

    DB2 HI PERF UNL

  • Reported component ID

    5697F4400

  • Reported release

    510

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-04-15

  • Closed date

    2021-04-26

  • Last modified date

    2021-06-01

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

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

Modules/Macros

  • INZ$$PRM INZTDSC  INZTVAR  INZUTILK
    

Fix information

  • Fixed component name

    DB2 HI PERF UNL

  • Fixed component ID

    5697F4400

Applicable component levels

  • R510 PSY UI75101

       UP21/05/07 P F105

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.

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSZJXP","label":"DB2 Tools for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.1.0"}]

Document Information

Modified date:
03 June 2021