Run IEBGENER on the input dataset. Override the DCB to specify RECFM=FB and LRECL=2. The BLKSIZE from the DSCB should be a multiple of 338. Specify the DCB for the interim output dataset as RECFM=FB, LRECL=2, and BLKSIZE as any multiple of 336 you like.
Run IEBGENER on the interim output dataset. Override the DCB to specify LRECL=336. The RECFM and BLKSIZE should be good from the DSCB. Specify the DCB for the final output as RECFM=FB, LRECL=336, and BLKSIZE as any multiple of 336 you like. Delete the interim dataset. > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] On > Behalf Of Ron Thomas > Sent: Tuesday, March 03, 2015 8:45 AM > To: [email protected] > Subject: Data formatting > > Hello. > > We have a file that is send from a third part system whose LRECL is 336 and > we received > the same with the LRECL with 338 and in that process the data format got > corrupted . we > have the backup of the file with us in the mainframe. is there any way we can > format the > data so that we can get the data in the correct layout. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
