This example shows how you set up your environment, how to recover the journal, and some of the messages that are issued during the backup and recovery processing.
SETSYS CDSVERSIONBACKUP(DATAMOVER(DSS) -
BACKUPCOPIES(4) -
MCDSBACKUPDSN(BHSM.MCDS.BACKUP) -
BCDSBACKUPDSN(BHSM.BCDS.BACKUP) -
OCDSBACKUPDSN(BHSM.OCDS.BACKUP) -
JRNLBACKUPDSN(BHSM.JRNL.BACKUP) -
BACKUPDEVICECATEGORY(DASD))
BHSM.MCDS.BACKUP.D0000001
BHSM.BCDS.BACKUP.D0000001
BHSM.OCDS.BACKUP.D0000001
BHSM.JRNL.BACKUP.D0000001
BHSM.MCDS.BACKUP.D0000002
BHSM.BCDS.BACKUP.D0000002
BHSM.OCDS.BACKUP.D0000002
BHSM.JRNL.BACKUP.D0000002
BHSM.MCDS.BACKUP.D0000003
BHSM.BCDS.BACKUP.D0000003
BHSM.OCDS.BACKUP.D0000003
BHSM.JRNL.BACKUP.D0000003
BHSM.MCDS.BACKUP.D0000004
BHSM.BCDS.BACKUP.D0000004
BHSM.OCDS.BACKUP.D0000004
BHSM.JRNL.BACKUP.D0000004
Assume DFSMShsm has successfully backed up the control data sets and the journal data set ten times. The backup data sets have the final qualifiers of D0000007, D0000008, D0000009, and D0000010.
ARC0026A JOURNALING DISABLED DUE TO I/O ERROR.
MIGRATION, BACKUP, DUMP, AND RECYCLE HELD.
Issue a BACKVOL CDS command to back up the control data sets and the journal data set. DFSMShsm successfully backs up the control data sets and issues message ARC0743I for each backup. The message indicates that DFSMShsm made the backup to the backup data set whose final qualifier is D0000007 (oldest version).
ARC0744E JRNL COULD NOT BE BACKED UP,
RC=retcode, REASON=reascode
MIGRATION, BACKUP, DUMP, AND RECYCLE HELD.
ARC0748I LAST SUCCESSFUL CDS BACKUP-SET QUALIFIER IS
D0000011
If you want to continue processing with the journal, you must stop DFSMShsm, delete and reallocate the journal data set to avoid getting another I/O error during processing of the data set. This process is described in Reasons for recovering the control data sets. A hardware problem could be causing the I/O error on the journal data set, so be sure you do not re-allocate the journal data set to where it was allocated before the I/O error occurred.
After you restart DFSMShsm, issue BACKVOL CDS to back up the control data sets and the new, empty journal data set. DFSMShsm backs up the control data sets and the journal data set to the backup data sets whose final qualifiers are D0000008. If DFSMShsm successfully backs up the control data sets and the journal data set, DFSMShsm renames the backup data sets with the final qualifier of D0000012 (or V0000012 if IDCAMS is the data mover).