IBM Support

PH68158: (VAR)GRAPHIC data unduly unloaded as (VAR)GRAPHIC instead of CHAR if DBCS CCSID for target encoding scheme not defined in Db2 se

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The outcome of a logical unload is incorrect (incorrout) due to
    the following conditions:
     - (VAR)GRAPHIC type data is unloaded
     - The DBCS CCSID for the target SCHEME is not defined for the
       Db2 sub-system containing the unloaded table
    
    The second condition above forces the (VAR)GRAPHIC data be
    unloaded as CHAR data encoded with the applicable target SBCS
    CCSID.
    
    The issue has the following symptoms
     - the (VAR)GRAPHIC data is unduly unloaded as is, i.e. with the
     genuine data type and without any CCSID conversion
     - the LOAD command, if requested, reflects the lack of
     conversion: the related field is described as a (VAR)GRAPHIC
     instead of the expected CHAR data type. As the DBCS CCSID is
     not specified, the attempt to use this LOAD command fails.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Db2 High Performance Unload for     *
    *                 z/OS                                         *
    ****************************************************************
    * PROBLEM DESCRIPTION: The outcome of a logical unload is      *
    *                      incorrect (incorrout) due to the        *
    *                      following conditions:                   *
    *                       - (VAR)GRAPHIC type data is unloaded   *
    *                       - The DBCS CCSID for the target SCHEME *
    *                       is not defined for the Db2 sub-system  *
    *                       containing the unloaded table          *
    *                                                              *
    *                      The second condition above forces the   *
    *                      (VAR)GRAPHIC data be unloaded as CHAR   *
    *                      data encoded with the applicable target *
    *                      SBCS CCSID.                             *
    *                                                              *
    *                      The issue has the following symptoms    *
    *                       - the (VAR)GRAPHIC data is unduly      *
    *                         unloaded as is, i.e. with the        *
    *                         genuine data type and without any    *
    *                         CCSID conversion                     *
    *                       - the LOAD command, if requested,      *
    *                         reflects the lack of conversion: the *
    *                         related field is described as a      *
    *                         (VAR)GRAPHIC instead of the expected *
    *                         CHAR data type. As the DBCS CCSID is *
    *                         not specified, the attempt to use    *
    *                         this LOAD command fails.             *
    *                                                              *
    *                      Local Fix: None                         *
    ****************************************************************
    * RECOMMENDATION: Apply the PTF                                *
    ****************************************************************
    (VAR)GRAPHIC data unduly unloaded as (VAR)GRAPHIC instead of
    CHAR if DBCS CCSID for target encoding scheme not defined in Db2
    settings
    

Problem conclusion

  • Code has been changed to fix this problem
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH68158

  • Reported component name

    DB2 HI PERF UNL

  • Reported component ID

    5697F4400

  • Reported release

    520

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2025-09-16

  • Closed date

    2025-11-25

  • Last modified date

    2025-11-30

  • 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

  • R520 PSY UO05888

       UP25/11/27 P F511

  • R610 PSY UO05904

       UP25/11/27 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":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSZJXP","label":"DB2 Tools for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"520","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
30 November 2025