Closing an open online PRILOG record
During time stamp recoveries, when DBRC reports that there are open allocations that are not needed for the recovery, it might be easier to close the open PRILOG record rather than deleting the individual allocations. Use the NOTIFY.PRILOG command to close the open PRILOG record.
If an open PRILOG record is found for an online IMS subsystem, and the PRILOG record is not for the current run of IMS, it indicates that the last OLDS for this online IMS has not yet been archived. If the OLDS is no longer available and you must close the open PRILOG record, the following commands can be used to create a dummy DSN entry in the PRILOG:
/* This command creates dummy dataset */
NOTIFY.PRILOG DSN(DUMMY) STARTIME('2010.072 10:23:53.979935 -07:00') -
FIRSTREC(00) RLDS SSID(IMS1) VOLSER(VOL001)
/* This command closes PRILOG record-Stoptime of 0's becomes runtime */
NOTIFY.PRILOG RUNTIME('2010.072 11:23:53.980001 -07:00') -
STARTIME('2010.072 10:23:53.979935 -07:00') -
LASTREC(500) RLDS SSID(IMS1)
/* This command changes last PRILOG, DUMMY, to ERROR */
CHANGE.PRILOG STARTIME('2010.072 10:23:53.979935 -07:00') ERROR -
DSSTART ('2010.072 10:24:43.286431 -07:00')
The following example is the PRILOG record as it appears in the RECON data set before issuing the NOTIFY.PRILOG command to close it:
PRILOG RECORD SIZE= 464
START = 2010.072 10:23:53.979935 -07:00* SSID=IMS1 VERSION=15.1
STOP = 0000.000 00:00:00.000000 -07:00 #DSN=2
GSGNAME=**NULL**
FIRST RECORD ID= 0000000000000001 PRILOG TOKEN= 0
EARLIEST CHECKPOINT = 2010.072 10:23:54.517056 -07:00
DSN=IMSVS.RLDSP.IMS1.D07072.T1023539.V00 UNIT=SYSDA
START = 2010.072 10:23:53.979935 -07:00 FIRST DS LSN= 0000000000000001
STOP = 2010.072 10:24:32.697834 -07:00 LAST DS LSN= 00000000000006D1
FILE SEQ=0001 #VOLUMES=0001
VOLSER=000000 STOPTIME = 2010.072 10:24:32.697834 -07:00
CKPTCT=1 CHKPT ID = 2010.072 10:23:54.517056 -07:00
LOCK SEQUENCE#= 000000000000
DSN=IMSVS.RLDSP.IMS1.D07072.T1024326.V00 UNIT=SYSDA
START = 2010.072 10:24:32.697834 -07:00 FIRST DS LSN= 00000000000006D2
STOP = 2010.072 10:24:43.286431 -07:00 LAST DS LSN= 0000000000000831
FILE SEQ=0001 #VOLUMES=0001
VOLSER=000000 STOPTIME = 2010.072 10:24:43.286431 -07:00
CKPTCT=0 CHKPT ID = 2010.072 10:23:54.517056 -07:00
LOCK SEQUENCE#= 000000000000
LOGALL
START = 2010.072 10:23:53.979935 -07:00*
EARLIEST ALLOC TIME = 2010.072 10:24:23.704405 -07:00
DBDS ALLOC=1 -DBD- -DDN- -ALLOC-
DBVHDJ05 CJVHDG1E 1
The following example is the PRILOG record as it appears in the RECON data set after issuing the NOTIFY.PRILOG command to close it (differences are highlighted).
PRILOG RECORD SIZE= 624
START = 2010.072 10:23:53.979935 -07:00* SSID=IMS1 VERSION=15.1
STOP = 2010.072 11:23:53.980001 -07:00 #DSN=3
GSGNAME=**NULL**
FIRST RECORD ID= 0000000000000001 PRILOG TOKEN= 0
EARLIEST CHECKPOINT = 2010.072 10:23:54.517056 -07:00
DSN=IMSVS.RLDSP.IMS1.D07072.T1023539.V00 UNIT=SYSDA
START = 2010.072 10:23:53.979935 -07:00 FIRST DS LSN= 0000000000000001
STOP = 2010.072 10:24:32.697834 -07:00 LAST DS LSN= 00000000000006D1
FILE SEQ=0001 #VOLUMES=0001
VOLSER=000000 STOPTIME = 2010.072 10:24:32.697834 -07:00
CKPTCT=1 CHKPT ID = 2010.072 10:23:54.517056 -07:00
LOCK SEQUENCE#= 000000000000
DSN=IMSVS.RLDSP.IMS1.D07072.T1024326.V00 UNIT=SYSDA
START = 2010.072 10:24:32.697834 -07:00 FIRST DS LSN= 00000000000006D2
STOP = 2010.072 10:24:43.286431 -07:00 LAST DS LSN= 0000000000000831
FILE SEQ=0001 #VOLUMES=0001
VOLSER=000000 STOPTIME = 2010.072 10:24:43.286431 -07:00
CKPTCT=0 CHKPT ID = 2010.072 10:23:54.517056 -07:00
LOCK SEQUENCE#= 000000000000
DSN=DUMMY ERROR UNIT=3400
START = 2010.072 10:24:43.286431 -07:00 FIRST DS LSN= 0000000000000000
STOP = 2010.072 11:23:53.980001 -07:00 LAST DS LSN= 00000000000001F4
FILE SEQ=0001 #VOLUMES=0001
VOLSER=VOL001 STOPTIME = 2010.072 11:23:53.980001 -07:00
CKPTCT=0 CHKPT ID = 0000.000 00:00:00.000000 -07:00
LOCK SEQUENCE#= 30E100000000
LOGALL
START = 2010.072 10:23:53.979935 -07:00*
EARLIEST ALLOC TIME = 2007.072 10:24:23.704405 -07:00
DBDS ALLOC=1 -DBD- -DDN- -ALLOC-
DBVHDJ05 CJVHDG1E 1