A damaged journal is often the result of a hardware-caused error on the journal volume. DFSMShsm issues error message ARC0026E when it encounters an input/output (I/O) error in the journal data set. Message ARC0026E states “JOURNALING DISABLED DUE TO I/O ERROR. MIGRATION, BACKUP, DUMP, TAPECOPY, TAPEREPL, RECYCLE, ARECOVER, AUDIT, AND EXPIREBV HELD.”
Once the problem occurs, follow this procedure:
//EXAMCDS JOB
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=A
//SYSIN DD *
EXAMINE -
NAME(?hlqual.MCDS) -
ERRORLIMIT(0)
//STEP2 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=A
//SYSIN DD *
EXAMINE -
NAME(?hlqual.BCDS) -
ERRORLIMIT(0)
//STEP3 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=A
//SYSIN DD *
EXAMINE -
NAME(?hlqual.OCDS) -
ERRORLIMIT(0)
If there are no errors reported by EXAMINE, continue to the next step.
If errors are reported by EXAMINE, do not proceed to the next step. Go to Case 1: Damaged CDS, full journal.
//JRNLDEF JOB
//STEP1 EXEC PGM=IEFBR14
//JRNLDD DD DISP=(,CATLG),UNIT=?3390,VOL=SER=?JNLVOL,
// SPACE=(CYL,(100),,CONTIG),DSN=?hlqual.JRNL