IBM Support

PI53262: ON CREATE OF A NEW INDEX, LS IS TRYING TO CREATE A ALTER TABLEWITH A CONSTRAINT AND IT IS FAILING AS ATTRIBUTE NOT UNIQUE -542

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When customer is adding an index to an item type and the index
    has multiple attributes and one of them is not unique, the
    create fails with a -542 sql code.  This happens because LS is
    required to add a Constraint given all attributes of the index
    are unique.  But if one is not, then the constraint fails.  This
    is causing a RC=8 and causing customer problems even thought the
    RC=8 could be ignored.
    

Local fix

  • Ignore -542 given attribute in index can be nulls and constraint
    is not needed.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of IBM(R) Content Manager for z/OS(R)  *
    *                 V8.5.0 library server who want to add a      *
    *                 unique constraint but there is a nullable    *
    *                 attribute.                                   *
    ****************************************************************
    * PROBLEM DESCRIPTION: Library server z/OS gets an sqlcode     *
    *                      -542 when it tries to add a unique      *
    *                      constraint but there is a nullable      *
    *                      attribute.                              *
    ****************************************************************
    * RECOMMENDATION: APPLY CORRECTIVE SERVICE                     *
    ****************************************************************
    Library server z/OS gets an sqlcode -542 when it tries
    to add a unique constraint but there is a nullable
    attribute.
    

Problem conclusion

  • Code was modified to remove the unique constaint creation if
    there is a nullable attribute.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI53262

  • Reported component name

    CM390 LIB SER R

  • Reported component ID

    5697H6000

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-11-30

  • Closed date

    2016-04-13

  • Last modified date

    2016-05-04

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

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

Modules/Macros

  •    INTLPRTS
    

Fix information

  • Fixed component name

    CM390 LIB SER R

  • Fixed component ID

    5697H6000

Applicable component levels

  • R850 PSN UI37023

       UP16/04/23 P F604

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":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSLQWS","label":"Content Manager for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
04 May 2016