Page 1 of 1

EZIOE004 Logical I/O error on file occurred reading VB file

PostPosted: Mon Feb 15, 2021 7:54 pm
by savitha_y
I am new to easytrieve. Input VB file of length 277 is coded as below in an easytrieve program.

FILE IPFILE VB (281 285) and it is abending with the following error.

EZIOE004 Logical I/O error on file IPFILE
Error indicator returned by access method.
Error: Success
EZABX008 The error occurred at program statement number 41.

Statement#41 is JOB INPUT IPFILE and it is not VSAM file.

Could anyone please let me know how to declare a VB file and read it in easytrieve.

Thank you

Re: EZIOE004 Logical I/O error on file occurred reading VB f

PostPosted: Tue Feb 16, 2021 4:11 am
by sergeyken
You MUST use a VSAM file, instead of a PS, or any other type of dataset.

That’s it. Period.

P.S.
VSAM type of file depends on the way it has been created, but not on RECFM=VB attribute!

Re: EZIOE004 Logical I/O error on file occurred reading VB f

PostPosted: Tue Feb 16, 2021 4:14 am
by sergeyken
sergeyken wrote:You MUST use a VSAM file, instead of a PS, or any other type of dataset.

That’s it. Period.

P.S.
VSAM is the type of file organization, it depends on the way it has been created, but not on RECFM=VB attribute!

Re: EZIOE004 Logical I/O error on file occurred reading VB f

PostPosted: Wed Feb 17, 2021 5:02 am
by savitha_y
Thank you for the response. I will check it out.