IBM Support

PH25598: FUNCTION LOG RETURNS INCORRECT RESULT WHEN COMP-2 IS USED

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Function LOG returns incorrect result when COMP-2 is used
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Enterprise COBOL 6.2 compiling and  *
    *                 running programs compiled with the           *
    *                 ARITH(EXTEND) option in effect and where     *
    *                 the program contains an intrinsic function   *
    *                 invocation with an argument that is a        *
    *                 numeric expression containing at least one   *
    *                 COMP-2 operand.                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: INCORRECT OUTPUT: A loss of accuracy in *
    *                      the result of the intrinsic function    *
    *                      computation.                            *
    ****************************************************************
    * RECOMMENDATION: Apply the provided PTF.                      *
    ****************************************************************
    The code generated by the compiler for the intrinsic function
    computation was inadvertently truncating the 128-bit
    intermediate floating point result of the argument expression
    to a 64-bit floating point value.
    

Problem conclusion

  • The compiler was updated to avoid truncating the numeric
    expression result to a 64-bit floating point value when
    ARITH(EXTEND) is in effect.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH25598

  • Reported component name

    ENT COBOL FOR Z

  • Reported component ID

    5655EC600

  • Reported release

    620

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-05-20

  • Closed date

    2020-06-16

  • Last modified date

    2020-07-16

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

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

    PH26111 PH27538

Modules/Macros

  • IGY8RWTU IGYCASMB IGYCCBE  IGYCCCRT IGYCCICS IGYCCSRV IGYCDGEN
    IGYCDIAG IGYCDMAP IGYCEN$0 IGYCEN$1 IGYCEN$2 IGYCEN$3 IGYCEN$4
    IGYCEN$5 IGYCEN$8 IGYCEN$D IGYCEN$R IGYCFGEN IGYCFREE IGYCINIT
    IGYCJA$0 IGYCJA$1 IGYCJA$2 IGYCJA$3 IGYCJA$4 IGYCJA$5 IGYCJA$8
    IGYCJA$D IGYCJA$R IGYCLIBH IGYCLIBO IGYCLIBR IGYCLSTR IGYCLVL0
    IGYCLVL1 IGYCLVL2 IGYCLVL3 IGYCLVL8 IGYCMALL IGYCOB2E IGYCOPI
    IGYCOSCN IGYCPGEN IGYCRCTL IGYCRDPR IGYCRDSC IGYCREAL IGYCRWT
    IGYCSCAN IGYCSIMD IGYCUE$0 IGYCUE$1 IGYCUE$2 IGYCUE$3 IGYCUE$4
    IGYCUE$5 IGYCUE$8 IGYCUE$D IGYCUE$R IGYCXREF IGYDRV   IGYEQCWI
    IGYMSGE  IGYMSGK  IGYMSGT  IGYQCBE  IGYZQDRV IGYZQENU IGYZQJPN
    

Fix information

  • Fixed component name

    ENT COBOL FOR Z

  • Fixed component ID

    5655EC600

Applicable component levels

  • R620 PSY UI70081

       UP20/06/23 P F006

  • R621 PSY UI70082

       UP20/06/23 P F006

  • R622 PSY UI70083

       UP20/06/23 P F006

  • R62H PSY UI70084

       UP20/06/23 P F006

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":"SS6SG3","label":"Enterprise COBOL for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"620","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
12 December 2023