IBM Support

PH34496: IN SQL MODE, LOB/XML UNDULY UNLOADED WITH MAXIMUM LENGTH DESPITE FORMAT VARIABLE REQUESTED

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 requesting the data be unloaded in FORMAT
    VARIABLE unduly pads the LOB/XML data to the length of the
    related LOB/XML column where the output field should be written
    with the real length of the LOB/XML data.
    
    This occurs only if the unload is processed in SQL mode and the
    SPANNED YES options is not specified.
    

Local fix

  • If LOB data only is affected and if applicable to your use
    case, consider unloading the data with the SPANNED YES option
    and in native mode to get output fields for the LOB data written
    with the real length.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Db2 High Performance Unload         *
    *                 for z/OS                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: A logical unload requesting the data be *
    *                      unloaded in variable format (i.e FORMAT *
    *                      VARIABLE option for Db2 HPU native      *
    *                      syntax  OUTPUT-FORMAT VARIABLE for the  *
    *                      Unload Plus syntax or NOPAD option for  *
    *                      the Db2 UNLOAD utility syntax) unduly   *
    *                      pads the LOB/XML data to the length of  *
    *                      the related LOB/XML column where the    *
    *                      output field should be written with the *
    *                      real length of the LOB/XML data.        *
    *                                                              *
    *                      This occurs only if the unload is       *
    *                      processed in SQL mode and the SPANNED   *
    *                      YES options is not specified.           *
    ****************************************************************
    * RECOMMENDATION: Apply the PTF                                *
    ****************************************************************
    In SQL mode, LOB/XML unduly unloaded with maximum length despite
    FORMAT VARIABLE requested
    

Problem conclusion

  • Code has been changed to fix this problem
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH34496

  • 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-02-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 INZBIND  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