VInitializeTape


 
Name
  VInitializeTape - checks whether the tape drive is on-line.
 
Synopsis
  VInitializeTape()
 
Description
  VInitializeTape checks whether the tape drive is on-line and rewinds the
tape if it is on-line.
 
Return Value
  0 - work successfully.
  2 - read error.
  7 - "VIEWNIX_ENV" environment variable not set.
  101 - tape drive is not on-line.
 
Parameters
  None.
 
Side Effects
  None.
 
Entry Conditions
  The environment variable "VIEWNIX_ENV" must be set to the 3DVIEWNIX
system directory. The file "TAPE_PATH_NAME" or 
"$(VIEWNIX_ENV)/FILES/VIEWNIX_ENV" should contain correct information 
(see Appendix C).
 
Related Functions
VReadTapePathName.