> -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of Crispin Hugo > Sent: Monday, January 08, 2007 2:13 PM > To: [email protected] > Subject: Re: [SPAM] RE: IEBGENER and unlabled tape > > > I need to get 1st file onto tape 1st using DD. Then it seems > to write EOV > and rewind. More RTFM > > Crispin Hugo
That generally depends on the "device" to which you write. Again, this varies by UNIX variant and should be documented. As an example on my SUSE Linux system at home, there is /dev/st1 and /dev/nst1. If you output to /dev/st1, it will automatically rewind-and-unload the tape. If you output to /dev/nst1, it will leave the tape positioned in the drive. Eg: mt rew /dev/nst1 tar cf /dev/nst1 files* mt weof 1 tar cf /dev/nst1 /other/files* mt weof 1 tar cf /dev/st1 /still/more/files* WARNING: This is going off of some very old memories of mine. I no longer have a SCSI tape drive on my system. -- 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

