ʬ¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ
INDD=ddname
Specifies the statically allocated DDNAME representing the file to be copied
and placed into the AWS or HET virtual tape file.
INDSN=dsname
Specifies the datasetname to be dynamically allocated and placed into the
AWS or HET virtual tape file.
OUTDSN=dsname
The dataset name (up to 44 bytes) to be placed into the labels which preceed
and follow the file on the virtual tape.
TAPEDSN=tapedsn
The datasetname (up to 17 bytes) to be placed in the label.
UNLOAD=value
Selects the utility (IEBCOPY or IDCAMS) to be called to stage the input data-
set prior to insertion into the virtual tape.
TYPE=value
If UNLOAD=IDCAMS is selected then the TYPE value specifies the method
(EXPORT or REPRO) to be used to stage the dataset prior to insertion into the
virtual tape.
7.1.6 Samples
Sample 1:
Create an AWS virtual tape from several input datasets/input DDs:
//VIRTTAPE EXEC PGM=AWSSL
//STEPLIB DD DSN=your.loadlib,DISP=SHR
//AWSPRINT DD SYSOUT=*
//myddnam1 DD DSN=your.file1,DISP=SHR
//myddnam2 DD DSN=your.file2,DISP=SHR
//AWSFILE DD DSN=volser.aws,DISP=(NEW,CATLG,DELETE),
// SPACE=(your_space_parms),
// DCB=(your_DCB_parms)
//AWSCNTL DD *
AWSVOL VOLSER=mytape,COMPRESS=0
AWSPUT INDSN=your.first.dataset
AWSPUT INDSN=your.second.dataset,UNLOAD=IEBCOPY
AWSPUT INDD=myddnam1
AWSPUT INDD=myddnam1,UNLOAD=IEBCOPY
/*
Figure 61: AWSSL JCL (Create AWS virtual tape)