IBM Support

PH51820: JAVAINTEROP IMPROVEMENTS IN THE COBOL RUNTIME (JANUARY 2023) FOR AMODE64

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as new function.

Error description

  • This APAR provides improvements to JavaInterop in the COBOL
    AMODE64 bit Runtime.
    
    - Improve the way Java resources are cleaned up when COBOL makes
    calls to Java, to ensure there are no resource leaks.
    
    KNOWN IMPACT:
    AMODE64 modules/programs.
    

Local fix

  • BYPASS/CIRCUMVENTION:
    n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Enterprise COBOL 6.4 running        *
    *                 AMODE 64 programs that use non-OO COBOL/Java *
    *                 interoperability support to make repeated    *
    *                 calls to static Java methods using the CALL  *
    *                 statement, passing array or zoned/packed     *
    *                 decimal data items as arguments.             *
    ****************************************************************
    * PROBLEM DESCRIPTION: The application terminates with         *
    *                      out-of-memory condition. The failure    *
    *                      output might vary and one of the        *
    *                      symptoms can be:                        *
    *                                                              *
    *                      Exception in thread "main"              *
    *                      java/lang/OutOfMemoryError:             *
    *                      Java heap space                         *
    *                      at java/lang/VMAccess.findClassOrNull   *
    *                       (NativeMethod:4294967295)              *
    *                      at java/lang/VMAccess.findClassOrNull   *
    *                       Helper (VMAccess.java:55)              *
    *                      at com/ibm/oti/vm/BootstrapClassLoader. *
    *                      loadClass                               *
    *                       (BootstrapClassLoader.java:81)         *
    ****************************************************************
    * RECOMMENDATION: Apply the IBM-provided PTF                   *
    ****************************************************************
    When making calls to static Java methods from COBOL, local
    references relating to the processing of array and zoned/packed
    decimal arguments were not being cleaned up properly.
    
    COB0604T/K
    

Problem conclusion

  • The runtime was updated to ensure that local references for
    various Java objects are cleaned up after a CALL statement is
    used to call a static Java method with array or zoned/packed
    decimal arguments.
    
    Note that a program must be compiled with an Enterprise COBOL
    6.4 compiler with the PTF(s) for APAR PH51749 installed in order
    to receive the full fix for this issue.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH51820

  • Reported component name

    LE ENT COBOL LI

  • Reported component ID

    568819812

  • Reported release

    7D0

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2023-01-10

  • Closed date

    2023-01-19

  • Last modified date

    2023-02-01

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

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

Modules/Macros

  • CELQSG04 CELQV004 IGZQAPI  IGZQCA64 IGZQCDA  IGZQINPL IGZQJNI2
    

Fix information

  • Fixed component name

    LE ENT COBOL LI

  • Fixed component ID

    568819812

Applicable component levels

  • R7C0 PSY UI90153

       UP23/01/24 P F301

  • R7D0 PSY UI90154

       UP23/01/24 P F301

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":"7D0","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
01 February 2023