How to install .aws if unable to use the VTAPE server on a PC
/&hCreate an empty VSAM ESDS file to hold the VTAPE data. IBM has a sample job to do this in Library 59 of the DTSFILE (ICCF library).
It is called ‘SKVTAPE’.
Once the VSAM ESDS file has been created, use FTP to transfer the contents of the .AWS file to the VSAM file.
Establish an FTP connection from your PC to VSE
Make the VSAM user catalog your remote directory (your local directory is the location of the .AWS file)
Issue the following FTP commands:
‘quote site unix off’
‘bin’
‘quote site lrecl 32758’
'put yourfile.aws YOUR.ESDS.FILE’
Note: Depending on which TCP/IP you run, some of the commands listed above may have slightly different
syntax,but you basically need to perform a binary transfer of a variable length record file that has a max
record length of 32758.
Use the VSAM ESDS file as a VTAPE file.
The below job will retrieve CA FAQS ASO and member CA FAQS PCS install JCL supplied as source members
in file #8 of the electronic delivery file
// JOB CAINSTC0 CATAL INSTALL JCL TO LIBRARY
// DLBL VTAPER,'AWS.VTAPE.FILE',2099/366,VSAM,CAT=xxxx
// SETPARM LIBNAME=xxxxx
// SETPARM SUBNAME=xxxxx
// SETPARM TAPECUU=nnn
// ON $CANCEL GOTO RELTAP
DVCDN &TAPECUU
VTAPE START,UNIT=&TAPECUU,FILE='VTAPER',LOC=VSAM,READ
DVCUP &TAPECUU
// MTC REW,&TAPECUU
// MTC FSF,&TAPECUU,7
// ASSGN SYSIPT,&TAPECUU
// EXEC LIBR,SIZE=256K,PARM='ACCESS SUBLIB=&LIBNAME..&SUBNAME'
// RESET SYSIPT
/. RELTAP
DVCDN &TAPECUU
VTAPE STOP,UNIT=&TAPECUU
DVCUP &TAPECUU
/&