IBM Support

PH62049: POSSIBLE INCORRECT SQL GENERATION WHEN TABLE HAS UNIQUE WHERE NOT NULL INDEX.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The LAT could generate SQL with an incorrect WHERE statement
    when the reported table has an index defined as UNIQUE WHERE NOT
    NULL.
    
    This situation happens when corresponding values contain NULLs
    making the WHERE statement non-unique.
    
    This APAR corrects the tool behavior, and it will produce the
    full WHERE statement in such situations.
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Db2 Log Analysis Tool for z/OS      *
    ****************************************************************
    * PROBLEM DESCRIPTION: The LAT could generate SQL with an      *
    *                      incorrect WHERE statement when the      *
    *                      reported table has an index defined as  *
    *                      UNIQUE WHERE NOT NULL.                  *
    *                      This APAR corrects the tool behavior,   *
    *                      and it will produce the full WHERE      *
    *                      statement in such situations.           *
    ****************************************************************
    * RECOMMENDATION: Apply the PTF.                               *
    ****************************************************************
    Possible incorrect SQL generation when table has UNIQUE WHERE
    NOT NULL index
    

Problem conclusion

  • Apply the PTF.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH62049

  • Reported component name

    DB2 LOG ANALYSI

  • Reported component ID

    5655E6601

  • Reported release

    350

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2024-06-25

  • Closed date

    2024-08-21

  • Last modified date

    2024-09-03

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

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

    UI98121

Modules/Macros

  • ALABSQL  ALABSSQL ALACURR  ALAEXP   ALAFMAIN ALAFRMFC ALAFRMTR
    ALAIXP   ALASQL2  ALASQL3  ALAUNI
    

Fix information

  • Fixed component name

    DB2 LOG ANALYSI

  • Fixed component ID

    5655E6601

Applicable component levels

  • R350 PSY UI98121

       UP24/08/27 P F408

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

Document Information

Modified date:
03 September 2024