Summary of Tape Device Commands

This topic summarizes alphabetically the commands related to tape device tasks or functions.

Summary by Command Function

This table lists (by function) the tasks which can be performed for or with tape device commands. Each of these commands is explained in greater detail in the following cyclopedic listing.

If you want to...

use tape command(s)...

append data to tape

T-EOD

attach a cartridge tape unit

T-ONLINE

attach a tape drive or floppy disk drive

T-ATT, T-SELECT, T-ONLINE

configure tape devices and virtual tape files

SET-TAPE, RESET-TAPE

copy between two tape drives

T-COPY

detach a tape or floppy disk unit

T-DET

examine the contents of a tape or floppy disk

T-READ

list current tape or floppy disk device assignments

T-WHAT, T-STATUS

perform an account-save or a filesave and restore

:FILELOAD, ACCOUNT-RESTORE, ADD-ACCOUNTS (Proc)

position the tape or floppy disk

T-REW, T-FWD, T-RDLBL, T-SPACE (Proc), T-EOD, T-BCK, T-WEOF

restore items from tape

T-LOAD, T-REW

read and write files using INFO/ACCESS commands

T-DUMP, S-DUMP, T-LOAD, T-REW

read and write spooler printer files

SP-ASSIGN, SP-EDIT, SP-TAPEOUT, READT, WRITET

restore selected items in a file

SEL-RESTORE

save the data area to tape

SAVE

select a tape drive for an account

T-SELECT

select a tape drive or floppy drive

T-SELECT

specify tape drive or floppy disk format

T-FORMAT

transfer data to and from other systems

T-DUMP, T-LOAD, T-READ

troubleshoot

T-CHK

write a label on a tape

T-WTLBL

write a record onto a magnetic tape or floppy disk

WRITET

Summary by Alphabetical Listing

This table lists alphabetically the tape unit commands, Procs and statement, and their associated functions. This list is more comprehensive than the preceding list.

Command

Description

:FILELOAD

(SYSPROG command) Fully restores the data area from tape.

ACCOUNT-RESTORE

(SYSPROG command) Restores one or more accounts from a FILE-SAVE, or ACCOUNT-SAVE tape or floppy disk.

ADD-ACCOUNTS

(SYSPROG command) Restores accounts on tape that are not on disk.

READT

(mvBASIC statement) Reads next record from magnetic tape or floppy disk.

READTX

(mvBASIC statement) Reads the next record (block) on the magnetic tape or floppy disk unit in hexadecimal format, assigning its value to the specified variable.

RESET-TAPE

(SYSPROG command) Cancels a logical tape unit assignment.

SAVE

(SYSPROG command) Saves the data area to tape.

S-DUMP

(User account command) Copies sorted items to magnetic tape.

SEL-RESTORE

(SYSPROG command) Restores selected items in a file.

SET-TAPE

(SYSPROG command) Assigns a logical tape unit to a tape device or drive.

SP-ASSIGN

(User account command) Defines print job output assignments.

SP-EDIT

(User account command) Edits Spooler hold files.

SP-TAPEOUT

(User account command) Transfers a print file from tape to the Spooler.

T-ATT

(User account command) Attaches a tape unit to the user’s process.

T-BCK

(User account command) Moves a floppy, 1/2-inch, 8mm, or DAT backwards.

T-CHK

(User account command) Checks tape for parity errors.

T-COPY

User account command) Copies a tape to another tape.

T-DET

(User account command) Detaches a tape unit from the user’s process.

T-DUMP

(User account command) Copies items to tape.

T-EOD

(User account command) Advances a tape to the end of the data.

T-FORMAT

(User account command) Sets the tape drive format.

T-FWD

(User account command) Advances tape forward.

T-LOAD

(User account command) Restores items from tape to disk.

T-ONLINE

(User account command) Resets the tape drive.

T-RDLBL

(User account command) Reads and stores tape labels.

T-READ

(User account command) Displays the contents of a tape.

T-REW

(User account command) Rewinds a tape.

T-SELECT

(User account command) Selects and attaches tape unit to a process.

T-SPACE

(User account command) Spaces a tape forward.

T-STATUS

(User account command) Lists the current tape device assignments.

T-WEOF

(User account command) Writes an End-Of-File mark on a tape.

T-WHAT

(User account command) Displays the type drive currently selected.

T-WTLBL

(User account command) Writes a label on a tape.

WRITET

(mvBASIC statement) Write a record onto a magnetic tape or floppy disk.

In addition to these commands, Procs and statements, the TAPE modifier reads items from the current file on tape.

See Also

Tape Unit Command Summary

Understanding Tape Command Types