IBM Support

PH73337: ON Z/OS 3.2, COBOL COMPUTE STATEMENT PRODUCES AN INCORRECT SIGN 26/09/27 PTF PECHANGE

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • COBOL programs compiled with the ARITH(EXTEND) compiler option
    that contain COMPUTE statements may produce a value with an
    incorrect sign.
    For example, the following COMPUTE can result in 904.88
    (incorrect positive) instead of -904.88 (correct negative).
    
    COMPUTE RES = A * .01 * (B / 12) * C * D
    (where RES is PICTURE S9(15)V99 COMP-3)
    
    This APAR PE's the following COBOL Runtime PTFs:
         z/OS V3.2: UO08823 (COBOL Runtime August 2026)
         z/OS V3.2: UO08255 (COBOL Runtime June 2026)
         z/OS V3.2: UO07530 (COBOL Runtime April 2026)
    
    Note that the z/OS V2.5 and 3.1 are not affected.
    

Local fix

  • Contact support for relief by opening a case.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Enterprise COBOL 5 and later        *
    *                 releases running AMODE 31 COBOL programs     *
    *                 on z/OS 3.2with any of the following PTFs    *
    *                 applied:                                     *
    *                                                              *
    *                 COBOL Runtime PTFs in error (PE):            *
    *                 August 2026:                                 *
    *                 APAR: PH72394 (PTF:UO08823 for HLE77F0 3.2)  *
    *                                                              *
    *                 June 2026:                                   *
    *                 APAR: PH71725 (PTF:UO08255 for HLE77F0 3.2)  *
    *                                                              *
    *                 April 2026:                                  *
    *                 APAR: PH70652, PH70734                       *
    *                 (PTF:UO07530 for HLE77F0 3.2)                *
    ****************************************************************
    * PROBLEM DESCRIPTION: When COBOL 5 or 6 programs compiled     *
    *                      with ARITH(EXTEND) performs long        *
    *                      multiplications using explicit or       *
    *                      implied COMPUTE or MULTIPLY             *
    *                      statements, the programs may produce    *
    *                      a value with an incorrect sign.         *
    *                                                              *
    *                      For example, the following COMPUTE can  *
    *                      result in 904.88 (incorrect positive)   *
    *                      instead of -904.88 (correct negative):  *
    *                                                              *
    *                      COMPUTE RES = A * .01 * (B / 12) * C    *
    *                      (where RES is PICTURE S9(15)V99 COMP-3) *
    ****************************************************************
    * RECOMMENDATION: Install the provided PTF.                    *
    ****************************************************************
    APAR PH70734 (Continuation of PH68222 for long multiplication
    performance improvement), introduced in the April 2026 COBOL
    Runtime PTF for z/OS 3.2 (PTF UO07530 for HLE77F0 3.2),
    causes calculation values with an incorrect sign.
    
    This problem occurs only if all of the following conditions
    are met:
    
    - The programs are AMODE 31 COBOL version 5 or 6.
    - The programs are run on z/OS 3.2 with any of
    the PTFs in error applied.
    - 'Call IGZXXMU0' or 'Call IGZXXMU2' appears in the COBOL
    listing generated with the COBOL LIST option. For example,
    ...
    BASR    R14,R15               #  Call IGZXXMU0
    ...
    BASR    R14,R15               #  Call IGZXXMU2
    ...
    
    Note:
    1. Call to IGZXXMU0 or IGZXXMU2 are typically generated
    by long multiplications using explicit or implied COMPUTE
    or MULTIPLY statements.
    
    2, Running the same program on z/OS 2.5 or z/OS 3.1 is
    not affected by the problem.
    
    COBOL Runtime PTFs in error (PE):
    August 2026:
    APAR: PH72394 (PTF:UO08823 for HLE77F0 3.2)
    
    June 2026:
    APAR: PH71725 (PTF:UO08255 for HLE77F0 3.2)
    
    April 2026:
    APAR: PH70652, PH70734
    (PTF:UO07530 for HLE77F0 3.2)
    
    COB0501T/K COB0502T/K COB0601T/K COB0602T/K COB0603T/K
    COB0604T/K COB0605T/K
    

Problem conclusion

  • The COBOL Runtime logic error has been corrected.
    
    This APAR reverts the changes(UO07530) introduced by
    the PTF in error (UO07530).
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH73337

  • Reported component name

    LE ENT COBOL LI

  • Reported component ID

    568819812

  • Reported release

    7F0

  • Status

    CLOSED PER

  • PE

    YesPE

  • HIPER

    YesHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2026-09-27

  • Closed date

    2026-09-29

  • Last modified date

    2026-10-03

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

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

Modules/Macros

  • IGZBXITA IGZCCCHK IGZCER4  IGZCEV4  IGZCFREM IGZCGETI IGZCGETM
    IGZCJNI2 IGZCLOAD IGZGLUE  IGZLLIBV IGZQR004 IGZRIDT  IGZRTMON
    IGZSETRT IGZTRUE  IGZXAPI  IGZXCA31 IGZXCDA  IGZXD24  IGZXDMR
    IGZXJNI2 IGZXLPIO IGZXLPKA IGZXLPKB IGZXLPKC IGZXLPKD IGZXLPKE
    IGZXLPKF IGZXLPKG IGZXPK2
    

Fix information

  • Fixed component name

    LE ENT COBOL LI

  • Fixed component ID

    568819812

Applicable component levels

  • R7D0 PSY UO09745

       UP26/10/03 I 1000 ­

  • R7E0 PSY UO09746

       UP26/10/03 I 1000 ­

  • R7F0 PSY UO09747

       UP26/10/03 I 1000 ­

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":"BU048","label":"IBM Software"},"Product":{"code":"SS6SG3","label":"Enterprise COBOL for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7F0","Line of Business":{"code":"LOB70","label":"Z TPS"}}]

Document Information

Modified date:
03 October 2026