A fix is available
APAR status
Closed as program error.
Error description
In some circumstances, control flow optimization leads to an incorrect return address being loaded by a PERFORM. In the case at hand the return address is set to the end of the program code, and the return from the PERFORMed paragraph branches to the eyecatcher x'00CCDDFF' of the constants area following the program code, resulting in an abend0C1.
Local fix
Compile with OPTIMIZE(0).
Problem summary
**************************************************************** * USERS AFFECTED: Users of Enterprise COBOL V5.1 compiling * * programs at OPT(1|2) where a PERFORMed * * paragraph A ends with a PERFORM statement * * performing paragraph B, and B is performed * * at least one other time. * * * **************************************************************** * PROBLEM DESCRIPTION: The program ABENDs with an S0C1. * * * **************************************************************** * RECOMMENDATION: Apply the provided PTF. * * * **************************************************************** The compiler was incorrectly getting rid of information that would tell the compiler to generate a label. The compiled program would attempt to branch to that label, but because the compiler hadn't created it, the code would branch to the start of the constant area instead. Since the constant area begins with an eyecatcher that isn't a valid z/OS instruction, the program abends with a S0C1.
Problem conclusion
The compiler was fixed to create the label when it is needed.
Temporary fix
Comments
APAR Information
APAR number
PI67256
Reported component name
ENT COBOL FOR Z
Reported component ID
5655W3200
Reported release
510
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2016-08-09
Closed date
2016-08-20
Last modified date
2016-09-02
APAR is sysrouted FROM one or more of the following:
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
R510 PSY UI40241
UP16/08/25 P F608
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":"510","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":"510","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
02 September 2016