Author(s): C. Ciapetti, J. Zoll | Library: KERNLIB, VAX only |
Submitter: | Submitted: 01.09.1983 |
Language: VAX Fortran | Revised: |
VAXTIO handles non-native tapes on the VAX; it is needed because VAX Fortran does not provide a U format.
If the tape to be handled is on logical unit 11, mounted on MTAO, with physical records of 3600 bytes maximum, for example, the following commands have to be given:
$ MOUNT MTAO:/FOREIGN/BLOCKSIZE=3600/RECORDSIZE=3600 $ ASSIGN MTA0: QIOUNIT11
Structure:
SUBROUTINE subprogram
User Entry Names: VAXTIO
Internal Entry Names: WAIT2S
Files Referenced: User defined parameter
COMMON Block Names and Lengths: /VAXTIO/ 240
Usage:
CALL VAXTIO(LUN,MODOP,IBUF,NDO,NDONE,NCODE,LUNMSG)Input parameters:
Write EOF (3 tape marks are written and the tape is positioned after the first | ||
tape mark). | ||
Successful. | ||
End-of-tape. | ||
Trouble. | ||
Write one record, tranfer NDO bytes from IBUF to tape. | ||
Number of bytes written. | ||
End-of-tape, but record written. | ||
Trouble. |
Read one record, transfer at most NDO bytes from tape to IBUF, excess data | ||
are lost. | ||
Number of bytes transferred. | ||
EOF, end-of-tape. | ||
Read error, record skipped. | ||
Trouble. | ||
Assign a channel for logical unit (if not done explicitly, assignment occurs on | ||
first contact). | ||
Successful. | ||
Channel already assigned. | ||
Trouble. | ||
Skip records, forward if , reverse if . | ||
Number of records skipped. | ||
EOF seen, skipped, counted. | ||
Trouble. | ||
Skip files, forward if , reverse if . | ||
Number of files skipped. | ||
End-of-tape seen. | ||
Trouble. | ||
Rewind. | ||
Rewind and unload. | ||
Successful. | ||
Trouble. | ||
De-assign channel; this should be done if a logical unit is no longer needed. | ||
Successful. | ||
Trouble. |