|
The journal cannot, strictly speaking, be moved. You move it by
allocating a new journal data set and later deleting the old one.
To move your journal to a different device, follow this procedure:
- Allocate a new journal data set.
- Stop or quiesce the DFSMSrmm procedure to prevent any further
updates to the control data set and journal.
- With DFSMSrmm stopped or quiesced, run EDGBKUP,PARM='BACKUP' to
backup both the control data set and journal as shown in Figure 1.
Figure 1. JCL example
for backing up the control data set and journal // EXEC PGM=EDGBKUP,PARM='BACKUP'
//SYSPRINT DD SYSOUT=*
//MASTER DD DISP=SHR,DSN=cds name
//JOURNAL DD DISP=SHR,DSN=journal name
//BACKUP DD DISP=(,CATLG),DSN=cds backup(+1),UNIT=SYSALLDA,
// SPACE=(CYL,(ppp,sss),RLSE),RECFM=VB,LRECL=9216
//JRNLBKUP DD DISP=(,CATLG),DSN= journal backup(+1),UNIT=SYSALLDA,
// SPACE=(CYL,(ppp,sss),RLSE),RECFM=VB,LRECL=9248
This provides you with a valid point-in-time backup of
the control data set and the old journal data set. After this step,
if you need to recover the control data set, you can use this control
data set backup, and the new journal data set.
Optionally you can
back up just the journal by removing the BACKUP DD statement. Because
you are only moving the journal, you only need to back up the journal.
- Implement the journal by using one of these techniques:
- Use IDCAMS ALTER command to rename the new journal, having first
renamed the old data set, or
- Create a new EDGRMMxx parmlib member, or
- Update the current parmlib member to include the name of the new
journal.
- If DFSMSrmm was stopped, start the DFSMSrmm procedure, using the
current, updated, or the new parmlib member. If DFSMSrmm was quiesced,
use the MODIFY command to specify the parmlib member suffix to be
used. Doing so, uses the unmoved control data set and the newly allocated
journal.
- Delete the old journal.
|