IBM Support

PH70550: Using Db2ZAI SQL optimization exploration with validation might result in incorrectly executing user-defined functions.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • During the Db2ZAI SQL optimization exploration process that
    includes validation of the recommended access path, if the
    statement being explored invokes a user-defined function (UDF),
    then the validation process might incorrectly execute the UDF.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All Db2 AI for z/OS (Db2ZAI) users that      *
    *                 use the SQL optimization exploration         *
    *                 with validation feature.                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: Unnecessary or incorrect invocation     *
    *                      of certain SQL processes during         *
    *                      Db2ZAI SQL optimization exploration     *
    *                      with valdation.                         *
    ****************************************************************
    * RECOMMENDATION: Apply corrective PTF when available          *
    ****************************************************************
    During the Db2ZAI SQL optimization exploration process that
    involves validation of the recommended access path, the
    validation process might perform processing which is
    incompatible with the validation process. For example, if
    the statement being explored involves a user defined
    function (UDF), the validation process might execute the UDF.
    
    Additional keywords: DB2AIV1R6/K
    

Problem conclusion

  • The Db2ZAI SQL optimization exploration logic is modified to
    block validation when a statement being explored involves
    processing which is incompatible with validation processing.
    In these cases, the statement can only be explored without
    validation.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH70550

  • Reported component name

    DB2 AI FOR Z/OS

  • Reported component ID

    5698CGN00

  • Reported release

    160

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    YesHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2026-03-16

  • Closed date

    2026-03-24

  • Last modified date

    2026-04-02

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

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

    UO07248

Modules/Macros

  • COYAKIRA COYREADM
    

Fix information

  • Fixed component name

    DB2 AI FOR Z/OS

  • Fixed component ID

    5698CGN00

Applicable component levels

  • R160 PSY UO07248

       UP26/03/27 P F603 ¢

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":"BU011","label":"Systems - zSystems software"},"Product":{"code":"SG19M"},"Platform":[{"code":"PF054","label":"z Systems"}],"Version":"160"}]

Document Information

Modified date:
02 April 2026