S0C4 abend results when SYS1.COB2LIB is added to CA Easytrieve r11.x JCL.

Document ID : KB000053512
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

SYSTEM COMPLETION CODE=0C4 REASON CODE=00000010
PSW AT TIME OF ERROR 078D1000 94341AB8 ILC 4 INTC 10
 ACTIVE LOAD MODULE ADDRESS=1433ECF8 OFFSET=00002DC0
 DATA AT PSW 14341AB2 - 300CBE3F D0D595C5 302B4770

Solution:

SYS1.SCEERUN should be added before the SYS1.COB2LIB to avoid the s0c4 abend.
Please see IBM Reference #:1038868.
The IBM doc says to code the SCEERUN library before the COB2LIB.