IBM Support

PH56729: LISTAGG FUNCTION IN ALT INDEX CAUSES SQL ERROR ON DB2 12 FL500

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • ALT index uses the LISTAGG function that is available from Db2
    12 FL501. When it is used on FL500, it causes SQLCODE = -4743,
    ERROR: ATTEMPT TO USE A FUNCTION WHEN THE APPLICATION
    COMPATIBILITY SETTING IS SET FOR A PREVIOUS LEVEL. The use of
    LISTAGG will be removed from ALT.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Db2 Administration Tool for z/OS    *
    ****************************************************************
    * PROBLEM DESCRIPTION: The use of ALT on an index fails with   *
    *                      SQLCODE = -4743 on application          *
    *                      compatibility level V12R1M500.          *
    ****************************************************************
    The LISTAGG function used in ALT on an index is available in
    V12R1M501 and later. So ALT processing fails on V12R1M500. This
    APAR removes use of the LISTAGG function.
    

Problem conclusion

  • The problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH56729

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    D10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2023-09-05

  • Closed date

    2023-12-15

  • Last modified date

    2024-01-02

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

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

    UI94958

Modules/Macros

  • ADB21XAR
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RD10 PSY UI94958

       UP23/12/19 P F312

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":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSZJXP","label":"DB2 Tools for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"D10","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
02 January 2024