Previous Topic: FTP the Files to the Target z/OS SystemNext Topic: Ensure the TCP/IP Interface is Installed


Restore the Partitioned Data sets (PDSs)

The CICS Agent load library PDS and control (JCL) library are restored with the TSO RECEIVE command, which typically runs in a batch job.

The following sample JCL restores the PDSs from the FTP’d files data sets ITKO.CICSAGNT.LOAD and ITKO.CICSAGNT.CNTL on volume VOL001. The data set names can be changed for your site data set naming conventions.

//job 
//* 
//* Unload the LOAD Library with TSO RECEIVE 
//* 
//UNLOAD EXEC PGM=IKJEFT01,DYNAMNBR=10 
//SYSTSPRT DD SYSOUT=* 
//SYSPRINT DD SYSOUT=* 
//SYSOUT DD SYSOUT=* 
//SYSTSIN DD * 
RECEIVE INDSNAME('ITKO.CICSAGNT.LOAD.UNLOAD')
   DATASET('ITKO.CICSAGNT.LOAD') VOLUME(VOL001)
RECEIVE INDSNAME('ITKO.CICSAGNT.CNTL.UNLOAD')
   DATASET('ITKO.CICSAGNT.CNTL') VOLUME(VOL001)
 
/*