Previous Topic: FTP the Files to the Target z/OS SystemNext Topic: Set up the LPAR Agent


Restore the PDSEs and PDS

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

The following sample JCL restores the Extended Partitioned Data Sets (PDSE) and Partitioned Data Set (PDS) from the FTP’d data sets ITKO.LPARAGNT.LOAD and ITKO.LPARAGNT.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.LPARAGNT.LOAD.UNLOAD')
   DATASET('ITKO.LPARAGNT.LOAD') VOLUME(VOL001)
RECEIVE INDSNAME('ITKO.LPARAGNT.CNTL.UNLOAD')
   DATASET('ITKO.LPARAGNT.CNTL') VOLUME(VOL001)
/*