S0C4 in Easytrieve

Document ID : KB000122899
Last Modified Date : 12/12/2018
Show Technical Document Details
Issue:
CA Easytrieve is failing with:
... 
SYSTEM COMPLETION CODE=0C4 REASON CODE=00000004
...
and/or:
...
EZABX007 Program PGMNAME ended with error code 840C4000. 
EZABX024 Program ended in PGMNAME. Check report procedures. Check flow table. 
EZABX011 The program encountered a protection exception (program interrupt code 4). 

...
When analyzing the dump you see the Abend occurs in EZOLETJAI or ETRSM +2114, for instance.
Resolution:
One possible reason is that Rocket Software's "Performance Essential" is being used.
Please disable it by adding the following DD:
...
//PSPOFF DD DUMMY
...
to the Abending job step.
Additional Information:
CA Easytrieve seems to be a victim of an incorrect FREEMAIN.
This seems to be a similar problem for another product:
http://www-01.ibm.com/support/docview.wss?uid=swg21543261