A fix is available
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.2 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 provided service. * **************************************************************** 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
PI48878
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-24
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:
Modules/Macros
IGYCCBE
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