Pg. of GC20-1819-2 Rev March 30, 1979 by Supp. SD23-9024-1 for 5748-118 dlbl newfile b (extent sys001 DMSDLB331R ENTER EXTENT SPECIFICATIONS: 100 60, 400 80, 60 40 d sys003, 2000 100 c sys002 (null line)
Any extents you enter without specifying a .ode letter and SYSxxx value
default to the mode and SYSxxx on the DLBL command line, in this case,
the B-disk
l
SYS001. If you make any errors issuing the DLEL command or extent
information, you must re-enter the entire command sequence. IDENTIFYING EXISTING When you issue a DLBL command to IdentIfy-an exIstIng multivolume VSAM file, you must use the MULT option
of the DLBL command:
dlbl old b1 dsn ? (sys002 mult DMSDLB220R ENTER DATA SET NAME:
dostest.file DMSDLB330R ENTER VOLUME SPECIFICATIONS: c sys004, d sys003 e sys007 (null line) When you enter the DLBL command you should specify the mode letter and
logical unit for the first volume on the command line. When you enter
the MULT opticn you are prompted to enter additional sFecifications for
the remaining extents. In the preceding examFle, the data set has
extents on disks accessed as B-, C-, D-, and E-disks. USING TAPE INPUT AND OUTPUT If you are using AMSERV for a function that requires tape input and/or
output, you must have the tape(s) attached to your virtual machine. The
valid addresses for tapes are 181, 182, 183, and 184. When referring to
tapes, you can also refer to them using their CMS symtolic names TAP1,
TAP2, TAP3, and TAP4.
For AMSERV functions that use tape input/output, the TLBL control
statement is simulated by building a dummy DLBL containing a
user-supplied ddname (filename). CMS does not read tape labels and does
not recognize tape data set names. When you invoke the AMSERV command, you must use the TAPII or TAPOUT option to specify the tape device being used:
amserv export (tapout 181
In this examFle, the output from the AMSERV control statements in a file
named EXPORT goes to a tape at virtual address 181. CMS prompts you to
enter the ddname: DMSAMS367R ENTER TAPE OUTPUT DDNAMES: After you enter the ddname specified on the FILE parameter in the AMSERV file and press the carriage return, the AMSERV command executes. AMSERV opens all tape files as standard labelled tapes (FILAB=STD on
the DTFMT macro). Therefore, you need a LABELDEF command for any tape
file used for input or output with AMSERV. The LABELDEF command is the CMS/DOS equivalent of the DOS/VSE TLB control statement. The LABELDEF
command is used to specify information in VOL1 and HDR1 labels on the
196 IBM VM/370 eMS User's Guide
Pg. of GC20-1819-2 Rev March 30, 1979 by Supp. SD23-9024-1 for 5748-118 tape. See the description of the LABELDEF command in section 7 for more
information on this command. You should use the same name for the filename on your LABELDEF
command as you do for the ddname you enter in reply to message DMSAMS367R (the ddname specified on the FILE Farameter in the AMSERV file). However, the LABELDEF command must be issued hefore the AMSERV command. The following sequence of commands might be used when you have
tape output:
assgn sys005 tap1
tape rew (181
assgn syscat e
assgn 5ys006 e
labeldef catout fid catfile volid amserv
dlbl ijsysct e dsn mastcat (syscat vsam
dlbl catin e dsn file (sys006 vsam
amserv repro (tapout 181 DMSAMS367R ENTER TAPE OUTPUT DDNAMES catout
Note that if you do not care what is written in a tape output label
or do not want input labels checked, you can specify a LABELDEF with no parameters ether than filenamee The command:
labeldef intape
used for an input tape with ddname INTAPE causes the standard labels cn
the tape to be skipped without any A similar statement for
output writes tape labels with default values (see the description of
the LABELDEF command in section 7j.
If you try to use a tape that does not already contain
for an AMSERV tape file, you will receive an error message.
is used for output, this message is followed by another
informs you that you have a choice of continuing by writing
on the previously unlabelled tape or rejecting this tape.
files must already contain standard VOL1 and HtR1 labels to by AMSERV. a VOL1 label
If the tape
message that
a VOLl label
Input tape
be processed Section 10. Using Access Method Services and VSAM 196.1
Previous Page Next Page