CA Easytrieve Report Generator : S0C4 abend occurs in the Easytrieve program, but if the same program is rerun without modification, the program finishes normally.
search cancel

CA Easytrieve Report Generator : S0C4 abend occurs in the Easytrieve program, but if the same program is rerun without modification, the program finishes normally.

book

Article ID: 192109

calendar_today

Updated On:

Products

Easytrieve Report Generator Easytrieve Report Generator for Common Services

Issue/Introduction

A S0C4 abend sometime occurs in a Easytrieve program. However, if the same program is just rerun without modification, the program finishes normally without any problem. Why? 

Environment

Release : 6.4

Component : CA Easytrieve Plus Report Generator

Resolution

If the program has no incorrect code ;  (For example, A record length is wrong. Length of a defined field is wrong (It exceeds the record length, etc..). Length of a arrays field wrong. Subscript for a arrays field is wrong. etc..)

Please check that the allocation of the EZTVFM is specified in the execution JCL.
Ex.)
//EZTVFM   DD  UNIT=SYSDA,SPACE=(CYL,(1,1))

(The space amount should be increase if necessary. That will change depending on the target program. )

The EZTVFM is used as working file to run of a Easytrieve program.  
For example :
The work file at the compilation.
The intermediate file when SEQUENCE is specified in a program.
The intermediate file when multiple reports are defined in a program.
The definition files that VIRTUAL keyword are specified to.   
etc..

If the amount of the EZTVFM is insufficient, a S0C4 abend can occur.