Sample 2:
Create datasets from files on an AWS virtual tape:
//VIRTTAPE EXEC PGM=AWSSL
//STEPLIB DD DSN=your.loadlib,DISP=SHR
//AWSPRINT DD SYSOUT=*
//myddnam1 DD DSN=my.file1,DISP=NEW,CATLG,DELETE),
// SPACE=(your_space_parms),
// DCB=(your_DCB_parms)
//myddnam2 DD DSN=my.file2, DISP=NEW,CATLG,DELETE),
// SPACE=(your_space_parms),
// DCB=(your_DCB_parms)
//AWSFILE DD DSN=volser.aws,DISP=SHR
//AWSCNTL DD *
AWSVOL VOLSER=mytape
AWSGET OUTDD=myddnam1,INDSN=your.dataset1,FILENO=1,SL=YES
AWSGET OUTDD=myddnam2,INDSN=your.dataset2,FILENO=5,SL=YES
/*
Figure 62: AWSSL JCL (Create datasets from AWS virtual tape)