TAPPDS If conflicting options are specified, the last one entered
is the one that is used. All options, except TAPn, are ignored when
unloaded (IEHMOVE) PDS tapes are read. indicates that the tape contains members of an OS partitioned
data set, each preceded by a MEMBER NAME=name statement5 The
tape must have been created by the OS IEBPTPCH service
program if this option is specified. NOPDS indicates that the contents of the tape will be placed in one eMS file. indicates that the tape file is in IEBUPDTE control file
format. The filename of each file is taken from the NAKE= parameter in the ".1 ADD" record that precedes each member. (See Usage Note 2.) COLl reads data from columns 1-80. You should specify this option
when you use the UPDATE option. reads data from columns 2-81; column 1 contains control
character information. This is the format produced by the OS IEBPTPCH service program. TAPn END
is the tape
representing
respectively.
unit number. n can be 1, 2,
virtual units 181, 182, 183,
If not specified, TAPl is assumed.
3,
and
or 4,
184,
considers an END statement (characters 'END' in columns 2-5)
a delimiter for the current member.
specifies that END statements are not to be treated as member
delimiters, but are to be processed as text. MAXTEN reads up to ten members.
option is selected.
This is valid only if the PDS reads any number of members.
1. You can use the TAPE command to position a tape at a particular
tape file before reading it with the TAPPDS command. If the tape
has as standard labels, TAPDDS will read and display the "VOL1" and
"HDR" records at the terminal. If the file you want to process is
not at the beginning of the tape, the TAPE command must be used to
position the tape at a particular tape file before reading it with
the command. Be aware that each file on an OS standard
label tape is actually three physical files (HDR, DATA, TRAILER).
If positioning to other than the first file, the user must skip physical tape files (3n-3 if positioning to the header labels,
3n-2 if positioning to the data file, where n is the number of the
file on the tape).
2. If you use the UPDATE option, you must also specify the COLl option. Each tape record is scanned for a "./ ADD" record in column 1. When a "./ ADD" record is found, subsequent reGords are read onto disk until the next ".1 ADD" record is
encountered or until a ".1 ENDUP" record is encountered.
Section 2. CMS Commands 195
TAPPDS A ".1 ENDUP" record or a tape mark ends the TAPPDS command
execution; the tape is not repositioned. ".1 label" records are not recognized by CMS and are included in
the file as data records.
If the NAME= parameter is missing on the ".1 ADD" record or if it
is followed by a blank, TAPPDS uses the default filename, TAPPDS, for the CMS disk file. If this happens more than once during the
execution of the command, only the last unnamed member is contained
in the TAPPDS file.
3. If vou are reading a macro library from a tape created by the IEHMOVE utilitv, you can create a CMS MACLIB file directly by using
the TAPEMAC command. DMSTPD7031 FILE 'fn ft [fm]' COPIED The named file is copied to disk. DMSTPD7011 TEN FILES COPIED The MAXTEN option was specified and ten members have been copied. If the tape being read contains standard OS labels, the labels are
displayed at the terminal. DMSTPD003E INVALID OPTION 'option' RC=24 DMSTPD05AE END-OF-FILE OR END-OF-TAPE RC=40 DMSTPD105S ERROR 'nn' WRITING FILE 'fn ft fm' ON DISK RC=100 DMSTPD109S VIRTUAL STORAGE CAPACITY EXCEEDED RC=104 DMSTPD110S ERROR 'nnw READING 'TAPn(cuu)' RC=100 196 VM/370 CMS Command and Macro Reference
Previous Page Next Page