IBM Support

PI46295: THE COMPILER RETURN CODE DOES NOT CORRECTLY ACCOUNT FOR BACKEND MESSAGE SEVERITIES CHANGED VIA MSGEXIT

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Both the compiler frontend and backend can generate messages
    whose severity may be modified by the MSGEXIT; the compiler
    return code is intended to represent the highest modified
    severity encountered.
    
    In the case of backend messages, a change of severity by the
    MSGEXIT is not correctly accounted for, so the unmodified
    severity determines the return code. As the backend may generate
    certain messages only with OPT(1) or OPT(2), this error appears
    to be related to optimization.
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Enterprise COBOL V5.1 compiling     *
    *                 programs with OPT(1|2) and EXIT(MSGEXIT) and *
    *                 customizing optimizer messages from W (RC=4) *
    *                 to I (RC=0).                                 *
    *                                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: Incorrect compiler listing output. The  *
    *                      individual messages get changed from W  *
    *                      to I, but the compilation return code   *
    *                      is still 4, even with no Warning        *
    *                      messages.                               *
    *                                                              *
    ****************************************************************
    * RECOMMENDATION: Apply the provided PTF.                      *
    *                                                              *
    ****************************************************************
    The compiler was incorrectly overriding the overall return code
    with the return code from the optimizer phase, instead of
    honoring the customized messages result.
    

Problem conclusion

  • The compiler was changed to use the return code resulting from
    the post-customized messages severity in all cases.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI46295

  • Reported component name

    ENT COBOL FOR Z

  • Reported component ID

    5655W3200

  • Reported release

    510

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-08-05

  • Closed date

    2015-08-21

  • Last modified date

    2015-10-02

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

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

    PI48878

Modules/Macros

  • IGYPSRVE
    

Fix information

  • Fixed component name

    ENT COBOL FOR Z

  • Fixed component ID

    5655W3200

Applicable component levels

  • R510 PSY UI30482

       UP15/09/02 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":"5.1","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":"5.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
02 October 2015