IBM Support

PI31890: GEN SQLCODEN20522 CREATE INDEX BUSINESS_TIME WITHOUT OVERLAPS

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 for z/OS' GEN function creates
    DDL for a CREATE INDEX statement which will fail with a
    SQLCODE -20522 / SQLCODEN20522:
    DSNT408I SQLCODE = -20522, ERROR:  INVALID SPECIFICATION OF
    WITHOUT OVERLAPS
             CLAUSE. REASON CODE = 7
    DSNT411I SQLCAID    = SQLCAL SQLCA IDENTIFIER
    DSNT418I SQLSTATE   = 428HW SQLSTATE RETURN CODE
    DSNT415I SQLERRP    = DSNHSM5X SQL PROCEDURE DETECTING ERROR
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Administration Tool for     *
    *                 Z/OS who use the Generate (GEN) function.    *
    ****************************************************************
    * PROBLEM DESCRIPTION: The GEN function creates DDL for a      *
    *                      CREATE INDEX statement that fails with  *
    *                      a SQLCODE= -20522 / SQLCODEN20522       *
    *                      error:                                  *
    *                                                              *
    *                      CREATE UNIQUE INDEX                     *
    *                        >schema.index<                        *
    *                        ON >schema<.>table<                   *
    *                         (EMPNO             ASC,              *
    *                          BUSINESS_TIME WITHOUT               *
    *                          OVERLAPS)                           *
    *                        PARTITIONED                           *
    *                        USING STOGROUP                        *
    *                      >stogroupname<                          *
    *                        ...                                   *
    *                        (PARTITION 1,                         *
    *                          PARTITION 2,                        *
    *                          PARTITION 3)                        *
    *                        ...                                   *
    *                                                              *
    *                      DSNT408I SQLCODE = -20522,              *
    *                      ERROR:  INVALID SPECIFICATION           *
    *                      OF WITHOUT OVERLAPS CLAUSE.             *
    *                      REASON CODE = 7                         *
    *                      DSNT411I SQLCAID    =                   *
    *                      SQLCAL SQLCA IDENTIFIER                 *
    *                      DSNT418I SQLSTATE   =                   *
    *                      428HW                                   *
    *                      SQLSTATE RETURN CODE                    *
    *                                                              *
    *                      as the PARTITION clauses were           *
    *                      generated in error.                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Program does not ignore the partition-element when an index is
    defined with BUSINESS_TIME WITHOUT OVERLAPS.
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI31890

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    A20

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2014-12-19

  • Closed date

    2015-01-23

  • Last modified date

    2015-02-03

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

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

    UI24640 UI24641

Modules/Macros

  •    ADB2REG
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RA20 PSY UI24640

       UP15/01/27 P F501

  • RB10 PSY UI24641

       UP15/01/27 P F501

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"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
01 May 2020