IBM Support

PK53965: INCORRECT SQL STATEMENTS ARE BEING GENERATED FOR GRAPHIC COLUMNSCONTAINING MORE THAN 20 CHARACTERS SQLCODE322

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When a graphic column has more than 20 characters for an update
    or more than 30 characters for an insert, the leading G is not
    being included in the statement. Executing the sql statement
    will fail with several different sqlcodes
    
    OTHER KEYWORDS: SQLCODE322 -322
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 Log Analysis Tool.              *
    ****************************************************************
    * PROBLEM DESCRIPTION: When a graphic column has more than 20  *
    *                      characters for an update or more than   *
    *                      30 characters for an insert, the        *
    *                      leading G is not being included in      *
    *                      the statement. Executing the sql        *
    *                      statement will fail with several        *
    *                      different sqlcodes.                     *
    ****************************************************************
    * RECOMMENDATION: APPLY the PTF.                               *
    ****************************************************************
    Code has been changed to correct this condition.
    

Problem conclusion

  • APPLY the PTF.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK53965

  • Reported component name

    DB2 LOG ANALYSI

  • Reported component ID

    5655E6601

  • Reported release

    230

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2007-10-02

  • Closed date

    2007-10-22

  • Last modified date

    2007-11-02

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

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

Modules/Macros

  •    ALABSQL
    

Fix information

  • Fixed component name

    DB2 LOG ANALYSI

  • Fixed component ID

    5655E6601

Applicable component levels

  • R220 PSY UK30502

       UP07/10/25 P F710

  • R230 PSY UK30503

       UP07/10/25 P F710

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":"230"}]

Document Information

Modified date:
12 April 2021