IBM Support

PH28225: WRONG WHERE CLAUSE EVALUATION IF COMPARISON BETWEEN STRING CONSTANT AND COLUMN WITH FIELDPROC

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A logical unload with a WHERE clause, run in native mode, does
    not unload the expected rows. This can occur if a predicate of
    the WHERE clause, different from the LIKE predicate, requires
    the comparison of a string constant and a string column encoded
    by a FIELDPROC.
    
    This is due to the fact that Db2 HPU compares the constant and
    the decoded value of the column with FIELDPROC instead of
    comparing the encoded value of the constant with the encoded
    value of the column.
    

Local fix

  • if applicable, consider running the unload in SQL mode by
    specifying the DB2 FORCE option.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Db2 High Performance Unload         *
    *                 for z/OS                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: A logical unload with a WHERE clause,   *
    *                      run in native mode, does not unload the *
    *                      expected rows. This can occur if a      *
    *                      predicate of the WHERE clause,          *
    *                      different from the LIKE predicate,      *
    *                      requires the comparison of a string     *
    *                      constant and a string column encoded by *
    *                      a FIELDPROC.                            *
    *                                                              *
    *                      This is due to the fact that Db2 HPU    *
    *                      compares the constant and the decoded   *
    *                      value of the column with FIELDPROC      *
    *                      instead of comparing the encoded value  *
    *                      of the constant with the encoded value  *
    *                      of the column.                          *
    ****************************************************************
    * RECOMMENDATION: Apply the PTF                                *
    ****************************************************************
    Wrong WHERE clause evaluation if comparison between string
    constant and column with FIELDPROC
    

Problem conclusion

  • Code has been changed to fix this problem
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH28225

  • Reported component name

    DB2 HI PERF UNL

  • Reported component ID

    5697F4400

  • Reported release

    510

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-08-05

  • Closed date

    2020-11-19

  • Last modified date

    2021-01-30

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

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

Modules/Macros

  • INZ$$PRM INZA30   INZA40   INZB601E INZB601I INZB61   INZB70E
    INZB70I  INZBIND  INZCHECK INZCRXSM INZCRXSQ INZHPUCL INZSDN
    INZTDSC  INZTPMEM INZTVAR  INZUTIB1 INZUTIB2 INZUTILC INZUTILK
    INZUTILL
    

Fix information

  • Fixed component name

    DB2 HI PERF UNL

  • Fixed component ID

    5697F4400

Applicable component levels

  • R510 PSY UI72678

       UP21/01/04 P F012

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.

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

Document Information

Modified date:
12 February 2021