A fix is available
APAR status
Closed as program error.
Error description
A S0C4 exception is caused by R2 containing an invalid address (zeroes). The underlying problem pertains to IS NUMERIC tests.
Local fix
Compile using OPT(1) compile option
Problem summary
**************************************************************** * USERS AFFECTED: Users of Enterprise COBOL V5.2 and above * * running programs containing IS NUMERIC * * tests compiled using OPT(2). * * * **************************************************************** * PROBLEM DESCRIPTION: Runtime ABEND: S0C4 caused by a * * register containing zeroes following * * an IS NUMERIC test. * * * **************************************************************** * RECOMMENDATION: Apply the provided PTF. * * * **************************************************************** The instruction used to implement IS NUMERIC tests changes the value of GPR2. In certain rare cases, the code to save and restore the previous value of GPR2 was not being generated correctly.
Problem conclusion
The compiler was modified to generate the correct code to save and restore the previous value of GPR2.
Temporary fix
Comments
APAR Information
APAR number
PI68184
Reported component name
ENT COBOL FOR Z
Reported component ID
5655W3200
Reported release
520
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2016-08-26
Closed date
2016-09-27
Last modified date
2016-11-25
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
PI70274 128AC7 PI72819
Modules/Macros
IGYCBE
Fix information
Fixed component name
ENT COBOL FOR Z
Fixed component ID
5655W3200
Applicable component levels
R520 PSY UI41146
UP16/09/30 P F609
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:
25 November 2016