IBM Support

PK60450: NULL VALUE MAY BE QUOTED IN SQL IF ALTER CONDITION FOUND

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If a table is altered by adding a new column, that new column
    may incorrectly have its NULL value quoted (i.e., value =
    'NULL', rather than VALUE=NULL) if an action occurs against a
    row in the table while no such values exist for the newly added
    column(s). This can cause SQL execution failure. This will only
    occur if the column's value should be quoted in cases where it
    is not a NULL value, for example , any CHAR field
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 Log Analysis Tool.              *
    ****************************************************************
    * PROBLEM DESCRIPTION: If a table is altered by adding a new   *
    *                      column, that new column may incorrectly *
    *                      have its NULL value quoted (i.e., value *
    *                       = 'NULL', rather than VALUE=NULL) if   *
    *                      an action occurs against a row in the   *
    *                      table while no such values exist for    *
    *                      the newly added column(s). This can     *
    *                      cause SQL execution failure. This will  *
    *                      only occur if the column's value should *
    *                      be quoted in cases where it is not a    *
    *                      NULL value, for example , any CHAR      *
    *                      field.                                  *
    ****************************************************************
    * RECOMMENDATION: APPLY the PTF.                               *
    ****************************************************************
    Code has been changed to correct this condition.
    

Problem conclusion

  • APPLY the PTF.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK60450

  • Reported component name

    DB2 LOG ANALYSI

  • Reported component ID

    5655E6601

  • Reported release

    310

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2008-02-04

  • Closed date

    2008-02-15

  • Last modified date

    2008-03-04

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

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

Modules/Macros

  •    ALAFRMTR
    

Fix information

  • Fixed component name

    DB2 LOG ANALYSI

  • Fixed component ID

    5655E6601

Applicable component levels

  • R220 PSY UK33767

       UP08/02/28 P F802

  • R230 PSY UK33768

       UP08/02/28 P F802

  • R310 PSY UK33769

       UP08/02/28 P F802

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

Document Information

Modified date:
31 March 2021