Hi,
I am getting a program ABEND if my sequential file is empty for the easytrieve. I tried to find if I could find the status and found that file status could be checked only for VSAM or ISAM in easytrieve.
But how can I handle empty input for sequential files?
Error: 138 *******A010 INVALID FILE REFERENCE - VELOFIL
Code:
137 JOB INPUT NULL
138 GET VELOFIL
139 IF EOF VELOFIL
140 DISPLAY 'EMPTY INPUT FILE'
141 ELSE
142 DISPLAY FILE-RECORD
143 END-IF
138 *******A010 INVALID FILE REFERENCE - VELOFIL
I cannot modify to have a VSAM file. Can anyone help me handle this situation?
Regards,
Murugs