Perform all ANSI tape functions.
Perform all of the available ANSI labeled tape manipulation functions. This includes initialization, directory listings, reading, and writing.
- DRIVE
- Tape drive. Tape drive the tape is mounted on.
- TAPEID
- Tape identification. ANSI tape identification number for the tape mounted on DRIVE. See User Note 1.
- RELOPT(YES)
- Release option. Indicates if the tape drive should be released after the last tape has been initialized.
= YES: Release tape drive = NO: Do not release tape drive
- DRIVE
- Tape drive. Tape drive the tape is mounted on.
- TAPEID(--)
- Tape identification. ANSI tape identification number for the tape mounted on DRIVE. If an ID is specified ANSI-DIR will ensure that is indeed the tape mounted on DRIVE. If NULL, ANSI-DIR will ignore the ID of the tape mounted on DRIVE.
- LISTOPT(LONG)
- List option. Specifies the type of file listings that should be produced.
= SHORT: File names only. = MED: Medium length listing of the files. = LONG: Long listing of the files.
- DRIVE
- Tape drive. Tape drive the tape is mounted on.
- TAPEID
- Tape identification. ANSI tape identification number for the tape mounted on DRIVE.
- FILES(--)
- Files. The files to be copied from the specified tape. NULL indicates that all files should be copied.
- LISTOPT(LONG)
- List option. Specifies the type of file listings that should be produced.
= SHORT: File names only. = MED: Medium length listing of the files. = LONG: Long listing of the files.
- DRIVE
- Tape drive. Tape drive the tape is mounted on.
- TAPEID
- Tape identification. ANSI tape identification number for the tape mounted on DRIVE.
- RECSIZE
- Record size. Number of bytes in each record for the specified files.
- BLKSIZE
- Block size. Number of bytes to be contained in a block.
- FILES
- Files. The files that are to be copied to the specified tape. See User Note 2.
- RECTYPE(FIXED)
- Record type. Indicates that the specified files should be written to the tape as fixed or variable length records.
= FIXED: Fixed length records. = VAR: Variable length records.
- TAPEOPT(CREATE)
- Tape option. Indicates that the specified files should over write any files currently on the tape or if they should be appended to the end of the tape.
= CREATE: Over write any files on the tape. = APPEND: Append files to the end of the tape.
- LISTOPT(LONG)
- List option. Specifies the type of file listings that should be produced.
= SHORT: File names only. = MED: Medium length listing of the files. = LONG: Long listing of the files.
The tape mounted on drive four is initialized to be the ANSI labeled tape 000001. Upon completion the tape is dismounted.
The tape mounted on drive four is initialized to be the ANSI labeled tape 000002. Upon completion the tape is left in drive four.
A long listing of the files contained on the tape mounted on drive zero is displayed.
The names of the files contained on the tape mounted on drive zero are displayed.
All of the files contained on tape 000003 are copied into the current working directory. A long listing is provided for each file as it is copied.
The files test1.prt, test2.prt and all of the files matching imp*.prt are copied from tape 000004 to the current directory. A medium length listing is provided for each file as it is copied.
All of the files matching ah11* are copied to the tape 000005 mounted on drive two. The files are written with a record size of 13,796 bytes and are blocked at 27,592 bytes. A long listing is provided for each file as it is copied to tape.
The files img1.arch and img2.arch are appended to the end of tape 000006 mounted in drive two. Both files are copied to the tape with a record and block size of 14,800 bytes. The names of both files are displayed as they are copied to tape.
ANSI will make a call to the appropriate system command for each subcommand. The system commands ansinit, ansidir, ansiin, and ansiout are commands that are only available at the EROS Data Center.
The user aborted the specified command.
A fatal error was encountered. Processing terminates. The error message preceding this message is the specific error that was encountered.