IBM Support

PI23475: JVM RECEIVED ZERO DIVIDE ERROR AS COBOL V5 SETS IEEE DIVIDE-BY-ZERO MASK

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • COBOL version 5 sets floating point divide-by-zero mask on.
    Expected zero divide in JVM routine
    helperDoubleDivideDouble+0x4 fails since the program mask is
    set on in COBOL
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Version 5 Enterprise COBOL users using OO    *
    *                 COBOL, or interacting with other programs    *
    *                 that expect an IEEE divide by zero operation *
    *                 to result in infinity.                       *
    *                                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: Starting with version 5, the COBOL      *
    *                      runtime enables the IEEE divide-by-zero *
    *                      exception mask in order to catch and    *
    *                      diagnose divide by zero operations.     *
    *                      This may lead to LE message CEE3224S to *
    *                      be produced in other non-COBOL programs *
    *                      running in the same enclave, where such *
    *                      programs expect the divide operation    *
    *                      to return infinity instead.             *
    *                                                              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Other non-COBOL IEEE programs may terminate with LE condition
    CEE3224S due to the COBOL runtime enabling the IEEE
    divide-by-zero exception mask.
    

Problem conclusion

  • Apply provided service.
    Follow the instructions in the IGZXDIVZ sample installed by this
    PTF to compile and link the condition handler into the SCEERUN
    dataset, and use the LE runtime option USRHDLR(IGZXDIVZ) with
    the affected application.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI23475

  • Reported component name

    LE ENT COBOL LI

  • Reported component ID

    568819812

  • Reported release

    780

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2014-08-07

  • Closed date

    2014-09-23

  • Last modified date

    2014-10-02

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

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

Modules/Macros

  • IGZXDIVZ
    

Fix information

  • Fixed component name

    LE ENT COBOL LI

  • Fixed component ID

    568819812

Applicable component levels

  • R780 PSY UI21657

       UP14/09/30 P F409

  • R790 PSY UI21658

       UP14/09/30 P F409

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":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSCVR7X","label":"Runtime"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
14 December 2020