On Tue, 15 Jan 2013 09:04:30 -0800, Charles Mills <charl...@mcn.org> wrote:
>I've got a dataset that has been mangled through some misguided efforts such >that original record boundaries have been lost. It used to be RECFM=V and >now it is RECFM=F You did not say how it was mangled, and that can be important. In the simplest case, if the data is good but someone mangled the DCB characteristics, then if you know the proper DCB characteristics you can do something like this and largely or completely recover things: // EXEC PGM=IEBGENER //SYSIN DD DUMMY //SYSPRINT DD SYSOUT=* //SYSUT1 DD DUMMY,DCB=(RECFM=VB,LRECL=proper-lrecl) //SYSUT2 DD DSN=broken-data-set-name,DISP=MOD,DCB=(RECFM=VB,LRECL=proper-lrecl,BLKSIZE=proper-blksize) This will copy "nothing" to the end of the data set, and in the process reset the DCB characteristics. Of course, you should try that with a copy of the data set, not the original, so you don't accidentally make things worse. -- Walt ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN