IBM Support

PH45487: GEN FAILS WITH ONCODE 340 WHEN FORMATTING DBCS COMMENT - SIZE AND TRUNCATION ISSUES OCCUR

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • GEN fails with ONCODE 340 when doing some formatting adjustments
    to a double byte character set (DBCS) comment. The comment is
    also truncated.
    

Local fix

  • BYPASS/CIRCUMVENTION:
    NA
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Db2 Administration Tool for z/OS    *
    *                 and Db2 Object Comparison Tool for z/OS      *
    ****************************************************************
    * PROBLEM DESCRIPTION: Running the DDL Generator (GEN) on a    *
    *                      table with a double-byte character set  *
    *                      (DBCS) comment results in ONCODE 340    *
    *                      and truncation warnings ONCODE 150.     *
    ****************************************************************
    Running GEN on an object that was created on a system that
    allows double-byte characters results in the following
    errors:
    
    IBM0342S ONCODE=340 The SIZE condition was raised.
    From entry point DBCS_ADJUST at statement 8603 at compile unit
    offset >unit_offset< at entry offset >entry_offset< at
    address >address<.
    
    IBM0441W ONCODE=150 The STRINGSIZE condition was raised.
    From entry point DBCS_ADJUST at statement 8542 at compile unit
    offset >unit_offset< at entry offset >entry_offset< at
    address >address<.
    
    Note: Statement numbers might vary depending on the current
    maintenance level.
    
    Keywords: ONCODE340S, ONCODE150W
    

Problem conclusion

  • The problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH45487

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-04-06

  • Closed date

    2022-07-28

  • Last modified date

    2022-09-01

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

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

    UI81697 UI81704

Modules/Macros

  • ADB2REG  ADB2REH  ADB2RES
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RC10 PSY UI81697

       UP22/08/02 P F208

  • RD10 PSY UI81704

       UP22/08/02 P F208

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":"12.1.0","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
01 September 2022