Example: recovering a single HALDB partition in a non-data-sharing environment
To perform a full forward recovery for a single HALDB partition, specify the partition name instead of the HALDB master database name in the DBD parameter of the DBRC command GENJCL.RECOV.
The GENJCL.RECOV command generates the JCL to recover only the specified partition. After the DBDSs are recovered, you must rebuild the primary index and the ILDS.
To recover a single partition in a PHIDAM database:
Procedure
The following code shows an example of the GENJCL.RECOV command that generates the JCL to recover a single HALDB partition.
//DBRC EXEC PGM=DSPURX00
//STEPLIB DD DISP=SHR,DSN=IMS.SDFSRESL
// DD DISP=SHR,DSN=IMS.MDALIB
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//IMS DD DISP=SHR,DSN=IMS.DBDLIB
//JCLPDS DD DISP=SHR,DSN=IMS.PROCLIB
//JCLOUT DD DISP=SHR,DSN=JOUKO4.HALDB.CNTL(RECOVOUT)
//JCLOUTS DD SYSOUT=*
//SYSIN DD *
GENJCL.RECOV NOJOB DBD(NORDDB1) MEMBER(RECOVJCL)
/*
The following code shows the JCL that is generated by the GENJCL.RECOV command to recover a single HALDB partition.
//RCV1 EXEC PGM=DFSRRC00,
// PARM='UDR,DFSURDB0,NORDDB,,,,,,,,,,,Y,,,,,,,,'
//*
//STEPLIB DD DISP=SHR,DSN=IMS.SDFSRESL
// DD DISP=SHR,DSN=IMS.MDALIB
//IMS DD DISP=SHR,DSN=IMS.DBDLIB
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//NORDDB1A DD DSN=IMSPSA.IM0A.NORDDB.A00001,
// DISP=OLD,
// DCB=BUFNO=10
//DFSUDUMP DD DSN=IMSPSA.NORDDB1.IMCOPY,
// DISP=OLD,DCB=BUFNO=10
//DFSVDUMP DD DUMMY
//DFSUCUM DD DUMMY
//DFSULOG DD DUMMY
//DFSVSAMP DD DSN=IMS.PROCLIB(DFSVSM0S),DISP=SHR
//SYSIN DD *
S NORDDB NORDDB1A
/*