From: dunnett@mala.bc.ca (Malcolm Dunnett)
Subject: How to tell if tape in drive?
Date: 1996/06/25 [thread overview]
Message-ID: <1996Jun25.103140@malad1.mala.bc.ca> (raw)
I'm trying to determine from within a shell script, whether or not
there is a tape in the tape drive, the idea being that if there is
the script will write some files to the tape, and if not it will just
exit.
For anyone who speaks VMS, I'm looking for the equivalent of
$MOUNT/FOR/NOASSIST <tape> and then checking $STATUS.
Thanks in advance.
--
=============================================================================
Malcolm Dunnett Malaspina University-College Email: dunnett@mala.bc.ca
Computer Services Nanaimo, B.C. CANADA V9R 5S5 Tel: (604)755-8738
next reply other threads:[~1996-06-25 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-06-25 4:00 Malcolm Dunnett [this message]
1996-07-01 4:00 ` How to tell if tape in drive? Marek Pola
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox