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.
All supported versions of Endevor
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:.
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.