Endevor Generate of Easytrieve program failing with - ezt: error on listing file
search cancel

Endevor Generate of Easytrieve program failing with - ezt: error on listing file

book

Article ID: 369219

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

When trying to generate an Easytrieve program, it is failing and the only message found is:

ezt: error on listing file: EDC5003I Truncation of a record occurred during an I/O operation. 

Environment

All supported versions of Endevor

Resolution

The EDC5003I error message indicates that the record being written out has a record length larger than the LRECL defined in the file being written to.  The ezt:  part of the message points to the listing file -   ezt: error on listing file:

 

Check the COMPILE step and determine what the LRECL of the SYSPRINT DD is.
In this case, it was defined with an LRECL of 121:
C1G0249I  //SYSPRINT  DD DISP=(MOD,PASS),DSN=&&SYSPR121    

C1G0249I  //BC1PDSIN EXEC PGM=BC1PDSIN 
C1G0249I  //C1INIT01  DD DSN=&&SYSPR121,DISP=(,PASS),SPACE=(CYL,(2,10)),      
C1G0249I  //             UNIT=&SYSDA,DCB=(RECFM=FBA,LRECL=121,BLKSIZE=3630)   

SYSPRINT should have a LRECL of 133.

 

1)  Update the processor and create a new temp dataset in the BC1PDSIN step with a LRECL of 133

C1G0249I  //C1INIT02  DD DSN=&&SYSPR133,DISP=(,PASS),SPACE=(CYL,(2,10)),    
C1G0249I  //             UNIT=&SYSDA,DCB=(RECFM=FBA,LRECL=133,BLKSIZE=13300)

2)  Change the COMPILE step to use the new temp dataset with the 133 LRECL for the SYSPRINT DD.

3)  Change any CONWRITE steps to include the new temp data when Printing or Storing listings.

4)  Re-Generate the processor.