How to install CA FAVER2 using IBM VTAPE

Document ID : KB000024507
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:

How does the JCL look like to install CA FAVER2 using a .AWS file?

Solution:

The JCL (example) below can be used:

// JOB INSTALL INTO EXISTING LIBRARY 
// SETPARM LIBNAME=libname 
// SETPARM SUBNAME=sublib 
// SETPARM TAPECUU=cuu 
// SETPARM IPADDR=?IPADDR 
// SETPARM AWSFILE=?AWSFILE 
// ON $CANCEL GOTO RELTAP 
DVCDN &TAPECUU 
 VTAPE STOP,UNIT=&TAPECUU 
 VTAPE START,UNIT=&tapecuu,LOC=&ipaddr,FILE='c:\&awsfile.AWS'
DVCUP &TAPECUU 
// MTC REW,&TAPECUU 
// ASSGN SYS006,&TAPECUU 
// DLBL libname,'your.lib',99/365 
// EXTENT SYS005,vvvvvv,1,0,sss,nnn 
// ASSGN SYS005,DISK,VOL=vvvvvv,SHR 
// DLBL IJSYSHF,'your.history.file',99/365
// EXTENT SYS010,vvvvvv,1,0,sss,nn 
// ASSGN SYS010,DISK,VOL=vvvvvv,SHR 
// EXEC MSHP,SIZE=760K 
INSTALL PROD PROD INTO=libname.sublib 
/* 
/. RELTAP
/&
// JOB RELTAP
DVCDN &TAPECUU
VTAPE STOP,UNIT=&TAPECUU
DVCUP &TAPECUU
/*
/&