IBM Support

PH33305: After PH17958, ABENDS0CA or 227 * EXPRESSION EVALUATION ERROR or incorrout for an unload involving DECIMAL division

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • After the application of the fix for PH17958, a logical unload
    run in native mode fails with one of the following error:
    
    
    - an ABENDS0CA occurs
    
    
    - the 227 * EXPRESSION EVALUATION ERROR error message is issued
    
    
    - the output field for an expression involving a division with
    DECIMAL contains an incorrect value (e.g. the decimal value is
    unduly replaced by zeroes),
    
    
    - the unload completes with completion code 8 after having
    issued the following message:
    INZU238E UNEXPECTED UNSUPPORTED SELECT UTILITY CANNOT SWITCH TO
    SQL PROCESSING REASON 0Xb0034 / reason_code
    
    
    This only occurs if the logical unload involves an SQL
    expression whose evaluation requires the casting of one of the
    operands into a DECIMAL. The issue occurs only if some specific
    additional conditions about the operands are fulfilled. These
    conditions cannot be comprehensively listed or described. Some
    of the conditions on the operators are:
    
    
    - In a division, the numerator is a DECIMAL(p,s) value and the
    denominator is an integer constant which value is greater than
    the biggest value of the DECIMAL(P,S) data type resulting from
    the division of DECIMAL(p,s) value by the integer constant.
    
    
    - In a division, the numerator is a DECIMAL(p,s) value and the
    denominator is is a DECIMAL(p',s') value that is greater than
    the the biggest value of the DECIMAL(P,S) data type resulting
    from the division of DECIMAL(p,s) value by the DECIMAL(p',s')
    value.
    
    
    - In a multiplication, an operand is a DECIMAL and needs to be
    converted into a DECIMAL with greater precision to match the
    output precision.
    
    
    - In a multiplication, one operand is a DECIMAL, and the other
    one needs to be converted into DECIMAL to match the output type.
    

Local fix

  • if applicable, consider runnng 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: After the application of the fix for    *
    *                      PH17958, a logical unload run in native *
    *                      mode fails with one of the following    *
    *                      error:                                  *
    *                      - an ABENDS0CA occurs                   *
    *                      - the 227 * EXPRESSION EVALUATION ERROR *
    *                      error message is issued                 *
    *                      - the output field for an expression    *
    *                      involving a division with DECIMAL       *
    *                      contains an incorrect value (e.g. the   *
    *                      decimal value is unduly replaced by     *
    *                      zeroes),                                *
    *                                                              *
    *                      - the unload completes with completion  *
    *                      code 8 after having issued the following*
    *                      message:                                *
    *                      INZU238E UNEXPECTED UNSUPPORTED SELECT  *
    *                      UTILITY CANNOT SWITCH TO SQL PROCESSING *
    *                      REASON 0Xb0034 / reason_code            *
    *                                                              *
    *                      This only occurs if the logical unload  *
    *                      involves an SQL expression with a       *
    *                      division having a DECIMAL value as one  *
    *                      of the operand. The issue occurs only   *
    *                      if some specific additional conditions  *
    *                      about the operands are fulfilled. These *
    *                      conditions cannot be comprehensively    *
    *                      listed or described. Some of the        *
    *                      conditions on the operators are:        *
    *                      - the numerator is a DECIMAL(p,s) value *
    *                      and the denominator is an integer       *
    *                      constant which value is greater than    *
    *                      the biggest value of the DECIMAL(P,S)   *
    *                      data type resulting from the division   *
    *                      of DECIMAL(p,s) value by the integer    *
    *                      constant.                               *
    *                      - the numerator is a DECIMAL(p,s) value *
    *                      and the denominator is is a             *
    *                      DECIMAL(p',s') value that is greater    *
    *                      than the the biggest value of the       *
    *                      DECIMAL(P,S) data type resulting from   *
    *                      the division of DECIMAL(p,s) value by   *
    *                      the DECIMAL(p',s') value.               *
    ****************************************************************
    * RECOMMENDATION: Apply the PTF                                *
    ****************************************************************
    After PH17958, ABENDS0CA or 227 * EXPRESSION EVALUATION ERROR or
    incorrout for an unload involving DECIMAL division.
    

Problem conclusion

  • Code has been changed to fix this problem
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH33305

  • Reported component name

    DB2 HI PERF UNL

  • Reported component ID

    5697F4400

  • Reported release

    510

  • Status

    CLOSED PER

  • PE

    YesPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-01-13

  • Closed date

    2021-04-27

  • Last modified date

    2022-06-14

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

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

Modules/Macros

  • INZ$$PRM INZBIND  INZTDSC  INZTVAR  INZUTILK
    

Fix information

  • Fixed component name

    DB2 HI PERF UNL

  • Fixed component ID

    5697F4400

Applicable component levels

  • R430 PSY UI75100

       UP21/05/07 P F105 {

  • R510 PSY UI75101

       UP21/05/07 P F105 {

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":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSZJXP","label":"DB2 Tools for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.1.0"}]

Document Information

Modified date:
15 June 2022