IBM Support

PH58237: IGYJG5013-U An error occurred while attempting to open file "{module}_java_native.cbl" from CURRENT PHASE: IGYCJGEN

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • For a PROGRAM-ID "{module}" JAVA-CALLABLE procedure, a
    {module}_java_native.cbl file is generated by the compiler to
    the JAVAIOP(OUTPATH(...)) directory, failing which the compiling
    userid's home directory. Should there be some issue writing this
    file, the compiler terminates IGYJG5013-U without specifying the
    nature of the problem in any detail.
    

Local fix

  • Verify the compiling userid has a proper home directory or can
    write to the OUTPATH() directory.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Enterprise COBOL 6.4 compiling      *
    *                 programs where the JAVAIOP OUTPATH directory *
    *                 indicates a directory that is not accessible *
    *                 for writing.                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: Compiler abort, with message:           *
    *                                                              *
    *                      CURRENT PHASE: IGYCJGEN                 *
    *                      CURRENT LINE NUMBER: 000324             *
    *                      REGISTERS 0 - 15:                       *
    *                      212CA8D6 00000000 000920DC 00000000     *
    *                      0002BDD0 00000000 00000000 00092089     *
    *                      00000000 00000000 00024A14 212B0B80     *
    *                      212CA7A4 212CA4E8 A12B073A 0001D832     *
    *                                                              *
    *                      000324 IGYJG5000-U The compilation was  *
    *                      terminated due to an uncorrectable      *
    *                      error condition.                        *
    *                                                              *
    *                      000324 IGYJG5013-U An error occurred    *
    *                      while attempting to open file           *
    *                      "TSTHELLO_java_native.cbl".             *
    ****************************************************************
    * RECOMMENDATION: Apply the provided PTF                       *
    ****************************************************************
    When the compiler was trying to create a Java/COBOL
    interoperability stub file, but the user did not have write
    access to the output directory indicated by the JAVAIOP option,
    the compiler aborted without providing much useful information
    about the nature of the problem.
    

Problem conclusion

  • The compiler was updated to improve the way the compiler shuts
    down when the user does not have write access to the output
    directory indicated by the JAVAIOP option. In particular, the
    name of the output directory is now provided in the error
    message instead of the output file name, and the return code and
    reason code from the BPX1OPN routine is returned to help the
    user diagnose the problem.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH58237

  • Reported component name

    ENT COBOL FOR Z

  • Reported component ID

    5655EC600

  • Reported release

    640

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2023-11-15

  • Closed date

    2024-02-13

  • Last modified date

    2024-03-03

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

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

    UI95661 UI95662 UI95663 UI95664

Modules/Macros

  • IGY8RWRD 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 IGYCJBLD IGYCJGEN IGYCLIBR IGYCLSTR
    IGYCLVL0 IGYCLVL1 IGYCLVL2 IGYCLVL3 IGYCLVL8 IGYCMALL 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  IGYQSPLT IGYZQEN6 IGYZQENU IGYZQJP6
    IGYZQJPN
    

Fix information

  • Fixed component name

    ENT COBOL FOR Z

  • Fixed component ID

    5655EC600

Applicable component levels

  • R640 PSY UI95661

       UP24/02/27 P F402

  • R641 PSY UI95662

       UP24/02/27 P F402

  • R642 PSY UI95663

       UP24/02/27 P F402

  • R64H PSY UI95664

       UP24/02/27 P F402

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":"640","Line of Business":{"code":"LOB70","label":"Z TPS"}}]

Document Information

Modified date:
04 April 2024