IBM Support

PH32218: NEW MESSAGE ADB3018E WSL VALIDATION PREVENTS SQLCODE = -542 DUE TO NULLABLE COLUMN

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • WSL execution may end with SQLCODE -542 due to a nullable column
    being used to define a primary key, hash key, or unique
    constraint. With this APAR applied, WSL validation reports this
    as an error via new error message ADB3018E.
    
    
    
    Keywords:  SQLCODE452N; MSGADB3018E
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the Db2 Administration Tool for     *
    *                 z/OS and Object Comparison Tool for z/OS.    *
    ****************************************************************
    * PROBLEM DESCRIPTION: SQLCODE -542 is returned when           *
    *                      running a change or work statement      *
    *                      list (WSL) if nullable columns are      *
    *                      used to define a primary key, hash      *
    *                      key, or unique constraint.              *
    ****************************************************************
    This APAR adds support during WSL validation to identify
    and report that nullable columns cannot be used to define
    the primary key, hash key, or unique constraint. New error
    message ADB3018E is issued for this use case when "Validate
    WSL = YES" is selected during the change analyze process or
    the WSL is validated using the "V - Validate" line command.
    
    ADB3018E An error occurred while processing the >name<
    object in the statement type of >type<. The column >name<
    is nullable. PRIMARY KEY, HASH KEY or UNIQUE constraint
    cannot be defined on it.
    

Problem conclusion

  • Fix has been delivered.
    

Temporary fix

Comments

  • ×**** PE21/07/16 FIX IN ERROR. SEE APAR PH39039  FOR DESCRIPTION
    

APAR Information

  • APAR number

    PH32218

  • 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

    2020-12-01

  • Closed date

    2020-12-24

  • Last modified date

    2021-09-17

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

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

    UI73297

Modules/Macros

  • ADB2WVL  ADB3000
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RC10 PSY UI73297

       UP20/12/30 P F012

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

Document Information

Modified date:
18 September 2021