| Routine ID: Z301 | |
|---|---|
| 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:
| 2lWrite EOF(3 tape marksare written and the tape is positioned after the first | ||
| 2ltape mark). | ||
| Successful. | ||
| End-of-tape. | ||
| Trouble. | ||
| 2lWrite one record, tranferNDObytes from IBUFto tape. | ||
| Number of bytes written. | ||
| End-of-tape, but record written. | ||
| Trouble. |
| 2lRead one record, transfer at mostNDObytes from tape to IBUF, excess data | ||
| 2lare lost. | ||
| Number of bytes transferred. | ||
| EOF, end-of-tape. | ||
| Read error, record skipped. | ||
| Trouble. | ||
| 2lAssign a channel for logical unit(if not done explicitly, assignment occurs on | ||
| 2lfirst contact). | ||
| Successful. | ||
| Channel already assigned. | ||
| Trouble. | ||
| 2lSkip records, forward if , reverse if .( ) | ||
| Number of records skipped. | ||
| EOFseen, skipped, counted. | ||
| Trouble. | ||
| 2lSkip files, forwardif , reverse if . | ||
| Number of files skipped. | ||
| End-of-tape seen. | ||
| Trouble. | ||
| Rewind. | ||
| 2lRewind and unload. | ||
| Successful. | ||
| Trouble. | ||
| 2lDe-assign channel; this shouldbe done if a logical unit is no longer needed. | ||
| Successful. | ||
| Trouble. |