> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of Jon Brock
> Sent: Monday, January 21, 2008 2:42 PM
> To: [email protected]
> Subject: Copying Unix tar file to tape
> 
> 
> I am trying to write out a Unix System Services file -- a tar 
> archive --
> to tape.  For simplicity's sake, I was planning on using IEBGENER, but
> I'm a bit confused as to what file characteristics to use for this.
> Anybody out there have any sample JCL?
> 
> Thanks,
> Jon

I'd just use RECFM=FB,LRECL=1,BLKSIZE=0,DSORG=PS. No, I've never done
this.

//STEP1 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
//SYSUT1 DD PATH='/path/to/file.tar',FILEDATA=BINARY,
// DCB=(RECFM=FB,LRECL=1,BLKSIZE=8000)
//SYSUT2 DD DSN=TAPE.OUTPUT.TAR,DISP=(NEW,CATLG),
// UNIT=TAPE,DCB=(RECFM=FB,LRECL=1,BLKSIZE=0,DSORG=PS)
//

Note that the BLKSIZE=8000 on the SYSUT1 doesn't really matter too much.
Any valid value will do.

--
John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology

The information contained in this e-mail message may be privileged
and/or confidential.  It is for intended addressee(s) only.  If you are
not the intended recipient, you are hereby notified that any disclosure,
reproduction, distribution or other use of this communication is
strictly prohibited and could, in certain circumstances, be a criminal
offense.  If you have received this e-mail in error, please notify the
sender by reply and delete this message without copying or disclosing
it. 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to