Example for enabling dynamic allocation
Use this example to enable dynamic allocation for the Recovery function.
Recovering a database from image copy—dynamic allocation enabled
The following JCL example is for invoking FABJMAIN to run the Recovery function. In this example, dynamic allocation is enabled:
//EXAMPLE5 JOB
// EXEC PGM=FABJMAIN
//STEPLIB DD DISP=SHR,DSN=HPS.SHPSLMD0
// DD DISP=SHR,DSN=IMS.SDFSRESL
//DFSRESLB DD DISP=SHR,DSN=IMS.SDFSRESL
//IMS DD DISP=SHR,DSN=IMS.DBDLIB
//IMSDALIB DD DISP=SHR,DSN=IMS.EXAMPLE.MDALIB
//DFSPRINT DD SYSOUT=*
//ICEPRINT DD SYSOUT=*
//ICEIN DD *
RCV DBD=HDAMDB01,DDN=HDAMDD01
/*
The data set DDN=HDAMDD01 of the output database (DBD=HDAMDB01) is dynamically allocated by the Recovery function using DFSMDA members.
The input image copy data set, the log data set, and the change accumulation data set are also dynamically allocated by the Recovery function. The name of each input data set is read from the RECON data set.