IBM Support

PK65343: ALC ALTER ADD COLUMN DEFAULT NULL RESULTS IN STRING 'NULL' OR ME SSAGE 'DEFAULT VALUE TOO LONG' ON PANEL ADB26CTU

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The DB2 Administration Tool ALC function regards the NULL
    keyword as a literal on panel ADB26CTU'Create Table Column
    Number n' resulting in a quoted string 'NULL' or a message
    'Default value too long' for columns with a length less than
    four.
    

Local fix

  • Edit DDL manually to remove the quotes or add the NULL keyword
    for columns shorter than four bytes
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 Administration Tool V7.2.       *
    ****************************************************************
    * PROBLEM DESCRIPTION: When desiring to build the WITH DEFAULT *
    *                      NULL  clause,  specifying NULL  in  the *
    *                      default  value field on panels ADB26CUU *
    *                      or  ADB26CTU would lead to undesired or *
    *                      improper syntax.                        *
    *                                                              *
    *                      An  additional problem found on panel   *
    *                      ADB26CUU  is that  a numeric  default   *
    *                      value  for a  numeric field was being   *
    *                      quoted. This would cause SQLCODE -574.  *
    ****************************************************************
    * RECOMMENDATION: Apply The PTF.                               *
    ****************************************************************
    When using the CREATE TABLE dialog or the ALC line command,
    specifying NULL on panel ADB26CUU or ADB26CTU would lead to
    an incorrectly quoted value of 'NULL'.
    

Problem conclusion

  • The code has been corrected.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK65343

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    720

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-04-30

  • Closed date

    2008-08-15

  • Last modified date

    2008-09-03

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

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

Modules/Macros

  •    ADBH6CTU ADB2CCA  ADB26CRT ADB26CTU ADB26CUU
    ADB27DUP
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • R720 PSY UK38992

       UP08/08/30 P F808

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":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSCVQTD","label":"IBM Db2 Administration Tool for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"720","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
03 September 2008