IBM Support

PI48881: V5 COMPILER DOES NOT PROPERLY FLAG UNREACHABLE CODE COMPARED TO V4.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • V5 compiler does not properly flag unreachable code compared to
    V4.
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Enterprise COBOL V5.2 compiling     *
    *                 programs at OPT(1|2) with code that can      *
    *                 never be reached.                            *
    *                                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: Enterprise COBOL V5 sometimes does not  *
    *                      report code removals when a PERFORM     *
    *                      statement or the body of an IF block is *
    *                      unreachable.                            *
    *                                                              *
    ****************************************************************
    * RECOMMENDATION: Apply provided service.                      *
    ****************************************************************
    The purpose of reporting unreachable code is to help COBOL
    programmers find coding errors. However, Enterprise COBOL V5 has
    many optimizations that can remove code, and it's not easy to
    determine which removals come from coding errors and which come
    from the optimizer behaving as normal. Enterprise COBOL V5 was
    too conservative in this case about which removals it would
    report.
    

Problem conclusion

  • The compiler was fixed to report PERFORM statements and bodies
    of IF blocks that got removed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI48881

  • Reported component name

    ENT COBOL FOR Z

  • Reported component ID

    5655W3200

  • Reported release

    520

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-09-16

  • Closed date

    2015-09-23

  • Last modified date

    2015-10-02

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

    PI41481

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

Modules/Macros

  • IGYCBE
    

Fix information

  • Fixed component name

    ENT COBOL FOR Z

  • Fixed component ID

    5655W3200

Applicable component levels

  • R520 PSY UI31476

       UP15/09/30 P F509

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"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"520","Edition":"","Line of Business":{"code":"LOB17","label":"Mainframe TPS"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"520","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
02 October 2015