11.11 x/zvtpmode—Indicate
whether an image file is on tape
call xvtpmode(unit,ind)
status =zvtpmode(unit,ind)
x/zvtpmode
is used to indicate to the calling program whether or not a given unit number
is actually on tape. It should be used by programs which absolutely require a
file to be on tape to verify that it is. Normally the device a file resides on
should not matter.
The
given unit must have been opened with a call to
x/zvopen
before
x/zvtpmode
may be called.
Arguments:
- UNIT:
input, integer
The
VICAR unit number of the file. The unit must have already been opened with a
call to
x/zvopen.
- IND:
output, integer
If
the unit is not a tape, IND will be set to zero, or FALSE. If the output is a
tape, then IND should indicate the current density of the drive (800, 1600, or
6250). If an error occurs determining the drive density, then IND will be set
to one.