Those of us who received unlabeled tapes in the "good" old days lived by this technique. The only down side was when there were one or more blocks not a multiple of the override LRECL. Then things got interesting.
IBM Mainframe Discussion List <[email protected]> wrote on 12/11/2012 04:08:42 PM: > From: Bill Ashton <[email protected]> > Gerhard, I just tried this - what a hoot! I never would have thought of > it...Thanks for such a simple suggestion - I will keep this JCL around! > Billy > On Tue, Dec 11, 2012 at 3:55 PM, Gerhard Postpischil > <[email protected]>wrote: > > On 12/11/2012 3:44 PM, Gibney, Dave wrote: > >> I've never used it, but this seems to be a basic function of IEBGENER(and > >> therefore SYNC/ICE GENER) > >> .8.2.5 RECORD Statement > > All this is overkill. A simple gener will do: > > // EXEC PGM=IEBGENER > > //SYSPRINT DD SYSOUT=* > > //SYSIN DD DUMMY > > //SYSUT1 DD DSN=old.ds,DISP=SHR, > > // DCB=(RECFM=FB,LRECL=82) > > //SYSUT2 DD DSN=new.ds,DISP=(,CATLG)...**etc. > > // DCB=(RECFM=FB,LRECL=82,**BLKSIZE=0) > > Gerhard Postpischil > > Bradford, Vermont ----------------------------------------- The information contained in this communication (including any attachments hereto) is confidential and is intended solely for the personal and confidential use of the individual or entity to whom it is addressed. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this communication in error and that any review, dissemination, copying, or unauthorized use of this information, or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. Thank you ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
