PM96837: Optimizing compiler generates bad code.

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • After APAR PM74761, the error message is seen using compile
    option OPTIMIZE.  The compiler failed to handle large
    compilations.  It should not give this fatal error when
    optimizing large programs.
    IGYOP5201-U   INTERNAL COMPILER ERROR CODE "OSRVE-V1"
    This most likely happens in very large programs that have many
    statements such as MOVE SPACE TO A, MOVE SPACE TO B,
    MOVE SPACE TO C, etc one after another.  Such programs are
    usually created by EGL or a source language generator.
    

Local fix

  • Compile with option NOOPT.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Enterprise COBOL V4 who compile     *
    *                 with the OPTIMIZE compiler option            *
    *                                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: Either incorrect results per APAR       *
    *                      PM74761 or if PM74761 is installed then *
    *                      compiler abort with message             *
    *                      IGYOP5201-U   INTERNAL COMPILER ERROR   *
    *                      CODE "OSRVE-V1"                         *
    *                                                              *
    ****************************************************************
    * RECOMMENDATION: Apply the provided PTF.                      *
    *                                                              *
    ****************************************************************
    The optimizer was saving values for possible re-use and an index
    into the saved values could overflow with certain code sequences
    such as thousands of subscripted MOVEs with no code flow verbs
    such PERFORM or CALL or GOTO.  APAR PM74761 fixed this overflow
    problem by ABORTing the compilation, but it was found that
    some programs would no longer compile with that fix.
    

Problem conclusion

  • The optimizer is changed to not overflow the index of saved
    values so that correct code is generated and also so that the
    compiler does not ABORT.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM96837

  • Reported component name

    ENT COBOL FOR Z

  • Reported component ID

    5655S7100

  • Reported release

    420

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-09-11

  • Closed date

    2013-10-04

  • Last modified date

    2013-11-20

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

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

    PM98355 UK98159 UK98160

Modules/Macros

  • IGYOCNTL IGYOCOMN IGYOCOMP IGYOENV  IGYOFCTA IGYOFOLD IGYOPRFM
    IGYORSCF IGYOSRVE IGY1ATXT
    

Fix information

  • Fixed component name

    ENT COBOL FOR Z

  • Fixed component ID

    5655S7100

Applicable component levels

  • R400 PSY UK98159

       UP13/10/08 P F310

  • R420 PSY UK98160

       UP13/10/08 P F310

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.



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Enterprise COBOL for z/OS

Software version:

4.2

Reference #:

PM96837

Modified date:

2013-11-20

Translate my page

Machine Translation

Content navigation