TAPE TAPE Use the TAPE command to dump CMS'-formatted files from disk to tape, load
previously dumped files from tape to disk, and perform various control
operations on a specified tape drivee Files processea by the TAPE
command must be in a unique format. The TAPE command does not
process multivolume files. Disk files to be dumped can contain either
fixed- or variable-length records. The format of the TAPE command is:
r I , TAPE I r , DUMP Ifm I 1* , L .J ( (optionA optionB optionO[) ]]
r r , , LOAD {;t} Ifml , [ (optionB optionC optionD[) ]] I! , 1
L L .J .J r , SCAN {;n} {;t} I [ (optionB optionC optionD[) ]] , L .J r , SKIP I {;n} {;t} I [ (optionB optionC optionD[) ]] 1 I L .J MODESET r ,
tapcmd Inl 111
[ (optionD[)]]
[ (optionD[) ]]
L .J r , I WTM I L .J r , INOPRintl IPRint I , IDISK I L .J r , IEOT I IEOF nl 11
L .J rr " 'iTAPn " 111!fl I I IL .JI I r , , IIcuu " IIl!!1 I' LL .J.J r , I 7TRACK I 19TRACKI L .J
[DEN den] [TRTCH a]
\
________________________ -J Section 2. CMS Commands 187
TAPE DUMP LOAD SCAN SKIP {;n} {;t} [;m ]
dumps one or more disk files to
specified as an asterisk (*) all
file identifier are dumped.
tape. If fn and/or ft is
files that satisfy the other
If fm is coded as a letter, that disk and its extensions are
searched for the specified filets) If fm is coded as a
letter and number, only files with that mode number and letter
(and the extensions of the disk referenced by that fm letter)
are dumped. If fm is coded as asterisk (*), all accessed
disks are searched for the specified If fm is not
specified, only the A-disk and its extensions are searched.
[ reads tape files onto disk. If a file identifier is
specified, only that one file is loaded. If the option EOP n
is specified and no file identifier is entered, n tape files
are written to disk. If an asterisk (*) is specified for fn
or ft, all files within EOP n that satisfy the other file
identifier are loaded.
The files are written to the disk indicated by the filemode
letter. The filemode number, if entered, indicates that only
files with that filemode number are to be loaded.
[ J
positions the tape at a specified point, and lists the
identifiers of the files it scans. Scanning occurs over n
tape marks, as specified by the option EOP n (the default is 1
tape file). However, if a file identifier (fn and ft) is
specified, scanning stops upon encountering that file; the
tape remains positioned ahead of the file. positions the tape at a specified point and lists the
identifiers of the files it skips. Skipping occurs over n
tape marks, as specified by the option EOP n (tme default is 1
tape mark). However, if a file identifier (fn and ft) is
specified, skipping stops after encountering that file; the
tape remains positioned immediately following the file. MODESET sets the values specified by the DEN, TRACK, and TRTCH
options. After initial specification in a TAPE command, these
values remain in effect for the virtual tape device until they
are changed in a subsequent TAPE command or RDTAPE, WRTAPE, or TAPECTL macro.
r , tapcmdlnl specifies a tape control function (tapcmd) to be executed n 111 times (default is 1 if n is not specified). These functions
L J also work on tapes in a non-CMS format. BSF BSR ERG FSF FSR REi !£tiQ!! Backspace n tape marks
Backspace n tape records
Erase gap
Forward-space n tape marks Forward-space n tape records
Rewind tape to load point
188 IBM VM/370 CMS Command and Macro Reference
Previous Page Next Page