A fix is available
APAR status
Closed as program error.
Error description
A COBOL program that has an INSPECT TALLYING verb can generate an SRK assembler instruction when compiling with option ARCH(8). An s0c1 will occur if running on architecture that does not support distinct-operands facility - such as z10.
Local fix
Run on z196 or higher architecture; restore UI39594
Problem summary
**************************************************************** * USERS AFFECTED: Users of Enterprise COBOL 5.2 running * * compiled programs containing INSPECT * * TALLYING/REPLACING ALL statements searching * * for a single value of length 4-7 in data * * items of length 16 or greater, with no * * BEFORE or AFTER clause, compiled using * * ARCH(7) or ARCH(8), running on a z9 or z10 * * machine. * * * **************************************************************** * PROBLEM DESCRIPTION: Runtime abend: S0C1 caused by an SRK * * (subtract-register with distinct * * operands) being executed on hardware * * that does not support the * * distinct-operands facility. * * * **************************************************************** * RECOMMENDATION: Apply the provided PTF. * * * **************************************************************** While generating code for an inlined INSPECT statement, the compiler did not check the ARCH level to verify that it was permitted to generate an SRK instruction.
Problem conclusion
The compiler was modified to check the ARCH level before generating an SRK instruction, and to generate an LR/SR sequence if SRK is not available.
Temporary fix
Comments
APAR Information
APAR number
PI69254
Reported component name
ENT COBOL FOR Z
Reported component ID
5655W3200
Reported release
520
Status
CLOSED PER
PE
YesPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2016-09-14
Closed date
2016-09-27
Last modified date
2016-10-03
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
IGYCBE IGYECWI IGYMSGE IGYMSGK IGYMSGT
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:
03 October 2016