dbrc advanced topics - ims ug singapore 8-2013

64
5.2 Welcome to: DBRC Advanced Topics Rick Long – IMS LVL2 DB Service Team & Solution Test Team [email protected] © Copyright IBM Corporation 2013 Welcome to:

Upload: ibm-ims

Post on 19-Jul-2015

287 views

Category:

Technology


12 download

TRANSCRIPT

Page 1: DBRC Advanced Topics - IMS UG Singapore 8-2013

5.2

Welcome to:

DBRC Advanced Topics

Rick Long – IMS LVL2 DB Service Team&

Solution Test Team

[email protected]

© Copyright IBM Corporation 2013

Welcome to:

Page 2: DBRC Advanced Topics - IMS UG Singapore 8-2013

Disclaimer

© Copyright IBM Corporation 2013. All rights reserved.U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.

THE INFORMATION CONTAINED IN THIS PRESENTATION IS PROVIDED FOR INFORMATIONAL PURPOSES ONLY. WHILE EFFORTS WERE MADE TO VERIFY THE COMPLETENESS AND ACCURACY OF THE INFORMATION CONTAINED IN THIS PRESENTATION, IT IS PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. IN ADDITION, THIS INFORMATION IS BASED ON IBM’S CURRENT PRODUCT PLANS AND STRATEGY, WHICH ARE SUBJECT TO CHANGE BY IBM WITHOUT NOTICE. IBM SHALL NOT BE RESPONSIBLE FOR ANY DAMAGES ARISING OUT OF THE USE OF, OR OTHERWISE RELATED TO, THIS PRESENTATION OR ANY OTHER DOCUMENTATION. NOTHING CONTAINED IN THIS PRESENTATION IS INTENDED TO, NOR SHALL HAVE THE EFFECT OF, CREATING ANY WARRANTIES OR REPRESENTATIONS FROM IBM (OR ITS SUPPLIERS OR LICENSORS), OR ALTERING THE TERMS AND CONDITIONS OF ANY AGREEMENT OR LICENSE GOVERNING THE USE OF IBM PRODUCTS AND/OR SOFTWARE.

IBM, the IBM logo, ibm.com, IMS, IBM High Performance Pointer Checker for z/OS and CICS are trademarks or registered trademarks of International Business Machines Corporation in the United States, other countries, or both. If these and other IBM trademarked terms are marked on their first occurrence in this information with a trademark symbol (® or ™), these symbols indicate U.S. registered or common law trademarks owned by IBM at the time this information was published. Such trademarks may also be registered or common law trademarks in other countries. A current list of IBM trademarks is available on the Web at “Copyright and trademark information” at www.ibm.com/legal/copytrade.shtml

Other company, product, or service names may be trademarks or service marks of others.

© Copyright IBM Corporation 2013

Page 3: DBRC Advanced Topics - IMS UG Singapore 8-2013

5.2

Welcome to:

RECON Overview

© Copyright IBM Corporation 2013

Page 4: DBRC Advanced Topics - IMS UG Singapore 8-2013

• In its simplest form it is those IMS functions which provide database integrity

• RECON definitions and usage

• Database authorization processing

• GENJCL functions for IMS utilities

© Copyright IBM Corporation 2013

What is DBRC

Page 5: DBRC Advanced Topics - IMS UG Singapore 8-2013

RECON Records

© Copyright IBM Corporation 2013

RECON HEADERRECON

HEADER

SSYS

BKOUT

PRILOG(SECLOG)

LOGALL

REORG

DBDSGRP

CAGRP

IMAGE

RECOV

CA

DBDS

DB

ALLOC

PRISLD(SECSLD)

PRIOLD(SECOLD)

Page 6: DBRC Advanced Topics - IMS UG Singapore 8-2013

RECON records:

RECON HEADERRECON

HEADER

SSYS

BKOUT

PRILOG(SECLOG)

LOGALL

REORG

DBDSGRP

CAGRP

IMAGE

RECOV

CA

DBDS

DB

ALLOC

PRISLD(SECSLD)

PRIOLD(SECOLD)

© Copyright IBM Corporation 2013

Page 7: DBRC Advanced Topics - IMS UG Singapore 8-2013

• SUBSYS (SSYS)–Created at start up time

• IMSID or JOBNAME–Deleted at normal shutdown–Held if failure (conditionally)

• DB Authorizations need to be held• Emergency restart (online)

– Failed– Not yet attempted

–LOGALL• Authorised Databases

RECON Records

© Copyright IBM Corporation 2013

Page 8: DBRC Advanced Topics - IMS UG Singapore 8-2013

RECON Records

© Copyright IBM Corporation 2013

SSYS SSID=IMAA LOG START=13.205 20:35:44.555477 SSTYPE=ONLINE ABNORMAL TERM=OFF RECOVERY STARTED=NO BACKUP=NO TRACKED=NO TRACKER TERM=OFF SHARING COVERED DBS=NO IRLMID=IRDI IRLM STATUS=NORMAL GSGNAME=**NULL** COEXISTENCE LEVEL=12.1

AUTHORIZED DATA BASES/AREAS=1 VERSION=12.1 XRF CAPABLE=NO ENCODED

-DBD- -AREA- -LEVEL- -ACCESS INTENT- -STATE-

C1CUST1 C1CUST1A 3 UPDATE 3

Page 9: DBRC Advanced Topics - IMS UG Singapore 8-2013

• Delete SUBSYS Command• CHANGE.SUBSYS SSID(IMAA) STARTRCV• CHANGE.SUBSYS SSID(IMAA) ENDRECOV• DELETE.SUBSYS SSID(IMAA)

–Removes all DB Authorisations–Handle with care

• May leave open PRILOG record

RECON Records

CHANGE.SUBSYS SSID(IMAA) STARTRCV DSP0203I COMMAND COMPLETED WITH CONDITION CODE 00 DSP0220I COMMAND COMPLETION TIME 13.230 16:34:05.615092

IMS VERSION 12 RELEASE 1 DATA BASE RECOVERY CONTROL PAGE 0002 CHANGE.SUBSYS SSID(IMAA) ENDRECOV DSP0203I COMMAND COMPLETED WITH CONDITION CODE 00 DSP0220I COMMAND COMPLETION TIME 13.230 16:34:05.632066

IMS VERSION 12 RELEASE 1 DATA BASE RECOVERY CONTROL PAGE 0003 DELETE.SUBSYS SSID(IMAA) DSP0299I ONLINE SUBSYSTEM RECORD SSID=IMAA BEING DELETED BY COMMAND DSP0203I COMMAND COMPLETED WITH CONDITION CODE 00 DSP0220I COMMAND COMPLETION TIME 13.230 16:34:05.639413

IMS VERSION 12 RELEASE 1 DATA BASE RECOVERY CONTROL PAGE 0004© Copyright IBM Corporation 2013

Page 10: DBRC Advanced Topics - IMS UG Singapore 8-2013

RECON Records

RECON HEADERRECON

HEADER

SSYS

BKOUT

PRILOG(SECLOG)

LOGALL

REORG

DBDSGRP

CAGRP

IMAGE

RECOV

CA

DBDS

DB

ALLOC

PRISLD(SECSLD)

PRIOLD(SECOLD)

© Copyright IBM Corporation 2013

Page 11: DBRC Advanced Topics - IMS UG Singapore 8-2013

• PRIOLD (SECOLDS if DUAL)–Created/Replaced at IMS COLD start time

–List OLDS defined in DFSVSMxx member

–Updated by START OLDS commands to add more OLDS (including pair if DUAL).

–ACTIVE OLDS listed last

–Can use START TIME to locate PRILOG

RECON Records

© Copyright IBM Corporation 2013

Page 12: DBRC Advanced Topics - IMS UG Singapore 8-2013

PRIOLD SSID=IMAA # DD ENTRIES=6 EARLIEST CHECKPOINT = 13.215 08:53:00.016667

DDNAME=DFSOLP00 DSN=IMSVS.IMAA.OLP00 START = 13.205 20:35:44.555477 FIRST DS LSN= 0000000000000001 STOP = 13.205 21:33:31.603698 LAST DS LSN= 0000000000000264 LOCK SEQUENCE# = CBB5E0167F2C STATUS=ARC COMPLT FEOV=YES AVAIL PRILOG TIME=13.205 20:35:44.555477 ARCHIVE JOB NAME=IMAACTLJ VERSION=12.1

DDNAME=DFSOLP01 DSN=IMSVS.IMAA.OLP01 START = 13.205 21:33:31.603698 FIRST DS LSN= 0000000000000265 STOP = 13.208 21:20:02.025511 LAST DS LSN= 00000000000177AC LOCK SEQUENCE# = CBB9AF9462CE STATUS=ARC COMPLT FEOV=YES AVAIL PRILOG TIME=13.205 20:35:44.555477 ARCHIVE JOB NAME=IMAACTLJ VERSION=12.1 …

DDNAME=DFSOLP05 DSN=IMSVS.IMAA.OLP05 START = 13.215 09:51:00.301164 FIRST DS LSN= 00000000004336C3 STOP = 00.000 00:00:00.000000 LAST DS LSN= 0000000000000000LOCK SEQUENCE# = 000000000000 STATUS=ACTIVE FEOV=NO AVAIL PRILOG TIME=13.205 20:35:44.555477 VERSION=12.1

PRIOLD (LIST.LOG SSID(xxxx)

© Copyright IBM Corporation 2013

Page 13: DBRC Advanced Topics - IMS UG Singapore 8-2013

• DISPLAY OLDS Command

• DFSVSMxx Member

RECON Records

/DIS OLDS DFS000I OLDS-DDNAME % FULL RATE ARCH-JOB ARCH-STATUS OTHER-STATUS IMAADFS000I *DFSOLP00 0 0 IN USE IMAA DFS000I DFSOLP05 NEEDED IMAA DFS000I DFSOLP04 AVAILABLE IMAA DFS000I DFSOLP03 AVAILABLE IMAA DFS000I DFSOLP02 AVAILABLE IMAA DFS000I DFSOLP01 AVAILABLE IMAA DFS000I SINGLE OLDS LOGGING, DUAL WADS LOGGING IMAA DFS000I AUTOMATIC ARCHIVE = 01 IMAA DFS000I WADS = *DFSWADS0 *DFSWADS1 DFSWADS8 DFSWADS9 IMAA DFS000I SLDSREAD ON IMAA DFS000I *13230/163701* IMAA IMDD

OLDSDEF OLDS=(00,01,02,03,04,05),BUFNO=005,MODE=SINGLE

© Copyright IBM Corporation 2013

Page 14: DBRC Advanced Topics - IMS UG Singapore 8-2013

• PRIOLD–Must be close for following restarts:

• ERE COLDSYS• NRE

–Closed Via GENJCL.CLOSE Command

–Closed Manually Via DFSULTR0

RECON Records

© Copyright IBM Corporation 2013

Page 15: DBRC Advanced Topics - IMS UG Singapore 8-2013

–GENJCL.CLOSE SSID(IMAA) LIST MEMBER (LOGCLJCL)

//CL%STPNO EXEC PGM=DFSULTR0,PARM='IMSID=%SSID,DBRC=YES'//STEPLIB DD DSN=IMSVS.IM0C.SDFSRESL,DISP=SHR //SYSPRINT DD SYSOUT=* %SELECT OLDS(%SSID,(%CDDNAME)) //DFSOL%OLDSTYP DD DSN=%OLDSDSN,DISP=SHR %ENDSEL %DELETE (%WADS EQ 'NO') //DFSWADS0 DD DSN=IMSVS.IMAA.WADS0,DISP=OLD //DFSWADS1 DD DSN=IMSVS.IMAA.WADS1,DISP=OLD %ENDDEL %DELETE (%WADS EQ 'YES') %SELECT OLDS(%SSID,(%NDDNAME)) //DFSNOL%OLDSTYP DD DSN=%OLDSDSN,DISP=SHR %ENDSEL %ENDDEL%DELETE (%PDDNAME EQ '') %SELECT OLDS(%SSID,(%PDDNAME)) //DFSPOL%OLDSTYP DD DSN=%OLDSDSN,DISP=SHR%ENDSEL %ENDDEL //SYSIN DD * CLS /*

Close the OLDS

© Copyright IBM Corporation 2013

Page 16: DBRC Advanced Topics - IMS UG Singapore 8-2013

DFSULTR0 in CLS mode

© Copyright IBM Corporation 2013

–DFSOLP – OLDS to be closed–DFSPOLP – Previous OLDS–DFSWADS0 – WADS –SYSIN DD *

• CLS• /* //DFSULTR0 EXEC

PGM=DFSULTR0,PARM='IMSID=IMAA,DBRC=YES' //STEPLIB DD DSN=IMSVS.IM0C.SDFSRESL,DISP=SHR //DFSRESLB DD DSN=IMSVS.IM0C.SDFSRESL,DISP=SHR //SYSPRINT DD SYSOUT=* //SYSUDUMP DD SYSOUT=* //DFSPOLP DD DISP=SHR,DSN=IMSVS.IMAA.OLP03 //DFSOLP DD DISP=SHR,DSN=IMSVS.IMAA.OLP04//DFSWADS0 DD DISP=SHR,DSN=IMSVS.IMAA.WADS0 //DFSWADS1 DD DISP=SHR,DSN=IMSVS.IMAA.WADS1 //* //SYSIN DD * CLS/*

Page 17: DBRC Advanced Topics - IMS UG Singapore 8-2013

RECON Records

RECON HEADERRECON

HEADER

SSYS

BKOUT

PRILOG(SECLOG)

LOGALL

REORG

DBDSGRP

CAGRP

IMAGE

RECOV

CA

DBDS

DB

ALLOC

PRISLD(SECSLD)

PRIOLD(SECOLD)

© Copyright IBM Corporation 2013

Page 18: DBRC Advanced Topics - IMS UG Singapore 8-2013

• PRILOG/PRISLD–Created at subsystem start time–Closed at subsystem normal termination–Closed at subsystem emergency restart (ERE)–Deleted when no longer needed

• When older then the oldest IC for all DBDs in LOGALL• DELETE.LOG INACTIVE

–Contains SLDS entries for all OLDS archived • RLDS entries used when RLDS are created • PRISLD then contains SLDS entries• Compressed by IC processing to remove OLD SLDS

entries –Can be a problem if left open

• GENJCL.RECOV – can’t handle open PRILOGs

RECON Records

© Copyright IBM Corporation 2013

Page 19: DBRC Advanced Topics - IMS UG Singapore 8-2013

PRILOG RECORD SIZE= 744 START = 13.205 20:35:44.555477 * SSID=IMAA VERSION=12.1 STOP = 00.000 00:00:00.000000 #DSN=4 GSGNAME=**NULL** FIRST RECORD ID= 0000000000000001 PRILOG TOKEN= 0 EARLIEST CHECKPOINT = 13.215 08:53:00.016667

DSN=**** COMPRESSED DATA SET **** UNIT= START = 13.205 20:35:44.555477 FIRST DS LSN= 0000000000000001 STOP = 13.208 21:20:02.025511 LAST DS LSN= 00000000000177AC FILE SEQ=0000 #VOLUMES=0000

DSN=IMSVS.IMAA.SLDS.G5517V00 UNIT=3390 START = 13.208 21:20:02.025511 FIRST DS LSN= 00000000000177AD STOP = 13.208 21:33:58.845368 LAST DS LSN= 00000000001CF4BB FILE SEQ=0001 #VOLUMES=0001

DSN=IMSVS.IMAA.SLDS.G5519V00 UNIT=3390 START = 13.209 05:01:00.630030 FIRST DS LSN= 000000000037CA84 STOP = 13.215 09:51:00.301164 LAST DS LSN= 00000000004336C2 FILE SEQ=0001 #VOLUMES=0001 …

LOGALL START = 13.205 20:35:44.555477 * EARLIEST ALLOC TIME = 13.208 21:28:37.155654 DBDS ALLOC=1 -DBD- -DDN- -ALLOC-

C1CUST1 C1CUST1A 1© Copyright IBM Corporation 2013

Recon Records: PRILOG

Page 20: DBRC Advanced Topics - IMS UG Singapore 8-2013

• Closing a PRILOG–If left open after an abend– IMS ERE will close the OLDS and PRILOG

• Archive of OLDS will close PRILOG–DELETE.LOG INACTIVE

• will never delete an open PRILOG–CLEANUP.RECON

• Will delete open PRILOGs if before purge date–NOTIFY.PRILOG RLDS

• CLOSE PRILOG–NOTIFY.PRILOG SLDS

• CLOSE PRISLD (not always required)

RECON Records

© Copyright IBM Corporation 2013

Page 21: DBRC Advanced Topics - IMS UG Singapore 8-2013

• Deleting a PRILOG–Don’t try to delete an individual PRILOG

• If you get it wrong you run the risk of breaking the recon record integrity which can lead to losing it ALL

–Must delete all related ALLOC records• Very hard to find all of them as they are associated with the

DB records • Very hard to delete them all

–Use CLEANUP.RECON• Delete all records up to a specific date• Cleans all PRILOG, ALLOC, REORG, RECOV records • Can delete OPEN PRILOG records• Creates “CLEAN” environment

RECON Records

© Copyright IBM Corporation 2013

Page 22: DBRC Advanced Topics - IMS UG Singapore 8-2013

RECON Records

PRILOG RECORD SIZE= 744 START = 13.205 20:35:44.555477 * SSID=IMAA VERSION=12.1 STOP = 00.000 00:00:00.000000 #DSN=4 GSGNAME=**NULL** FIRST RECORD ID= 0000000000000001 PRILOG TOKEN= 0 EARLIEST CHECKPOINT = 13.215 08:53:00.016667

START = 13.205 20:35:44.555477 FIRST DS LSN= 0000000000000001 STOP = 13.208 21:20:02.025511 LAST DS LSN= 00000000000177AC FILE SEQ=0000 #VOLUMES=0000

DSN=IMSVS.IMAA.SLDS.G5517V00 UNIT=3390 START = 13.208 21:20:02.025511 FIRST DS LSN= 00000000000177AD STOP = 13.208 21:33:58.845368 LAST DS LSN= 00000000001CF4BB FILE SEQ=0001 #VOLUMES=0001

DSN=IMSVS.IMAA.SLDS.G5518V00 UNIT=3390 START = 13.208 21:33:58.845368 FIRST DS LSN= 00000000001CF4BC STOP = 13.209 05:01:00.630030 LAST DS LSN= 000000000037CA83 FILE SEQ=0001 #VOLUMES=0001

DSN=IMSVS.IMAA.SLDS.G5519V00 UNIT=3390 START = 13.209 05:01:00.630030 FIRST DS LSN= 000000000037CA84 STOP = 13.215 09:51:00.301164 LAST DS LSN= 00000000004336C2 FILE SEQ=0001 #VOLUMES=0001

© Copyright IBM Corporation 2013

Page 23: DBRC Advanced Topics - IMS UG Singapore 8-2013

RECON Records- Closing with NOTIFY

PRILOG RECORD SIZE= 744 START = 13.205 20:35:44.555477 * SSID=IMAA VERSION=12.1 STOP = 00.000 00:00:00.000000 #DSN=4 GSGNAME=**NULL** FIRST RECORD ID= 0000000000000001 PRILOG TOKEN= 0 EARLIEST CHECKPOINT = 13.215 08:53:00.016667 LAST RLDS in PRILOG DSN=IMSVS.IMAA.SLDS.G5519V00 UNIT=3390 START = 13.209 05:01:00.630030 FIRST DS LSN= 000000000037CA84 STOP = 13.215 09:51:00.301164 LAST DS LSN= 00000000004336C2 FILE SEQ=0001 #VOLUMES=0001

VOLSER=SM4221 STOPTIME = 13.215 09:51:00.301164 CKPTCT=2 CHKPT ID = 13.215 08:53:00.016667 LOCK SEQUENCE#= CBB9BDEDE780

NOTIFY.PRILOG RLDS STARTIME(13205203544555477) -VOLSER(VOL004) DSN(PRILOG4) FIRSTREC(00000000)

NOTIFY.PRILOG RLDS STARTIME(13205203544555477) -RUNTIME(13215095300000004) LASTREC(0000000000999999)

Select PRILOG by STARTIME value

© Copyright IBM Corporation 2013

Page 24: DBRC Advanced Topics - IMS UG Singapore 8-2013

RECON Records

PRILOG RECORD SIZE= 744 START = 13.205 20:35:44.555477 * SSID=IMAA VERSION=12.1 STOP = 00.000 00:00:00.000000 #DSN=4 GSGNAME=**NULL** FIRST RECORD ID= 0000000000000001 PRILOG TOKEN= 0 EARLIEST CHECKPOINT = 13.215 08:53:00.016667 LAST RLDS in PRILOG DSN=IMSVS.IMAA.SLDS.G5519V00 UNIT=3390 START = 13.209 05:01:00.630030 FIRST DS LSN= 000000000037CA84 STOP = 13.215 09:51:00.301164 LAST DS LSN= 00000000004336C2 FILE SEQ=0001 #VOLUMES=0001

VOLSER=SM4221 STOPTIME = 13.215 09:51:00.301164 CKPTCT=2 CHKPT ID = 13.215 08:53:00.016667 LOCK SEQUENCE#= CBB9BDEDE780

NOTIFY.PRILOG RLDS STARTIME(13205203544555477) -VOLSER(VOL004) DSN(PRILOG4) FIRSTREC(00000000)

NOTIFY.PRILOG RLDS STARTIME(13205203544555477) -RUNTIME(13215095300000004) LASTREC(0000000000999999)

Add DUMMY VOLUME and DSN information

© Copyright IBM Corporation 2013

Page 25: DBRC Advanced Topics - IMS UG Singapore 8-2013

RECON Records

PRILOG RECORD SIZE= 744 START = 13.205 20:35:44.555477 * SSID=IMAA VERSION=12.1 STOP = 00.000 00:00:00.000000 #DSN=4 GSGNAME=**NULL** FIRST RECORD ID= 0000000000000001 PRILOG TOKEN= 0 EARLIEST CHECKPOINT = 13.215 08:53:00.016667 LAST RLDS in PRILOG DSN=IMSVS.IMAA.SLDS.G5519V00 UNIT=3390 START = 13.209 05:01:00.630030 FIRST DS LSN= 000000000037CA84 STOP = 13.215 09:51:00.301164 LAST DS LSN= 00000000004336C2 FILE SEQ=0001 #VOLUMES=0001

VOLSER=SM4221 STOPTIME = 13.215 09:51:00.301164 CKPTCT=2 CHKPT ID = 13.215 08:53:00.016667 LOCK SEQUENCE#= CBB9BDEDE780

NOTIFY.PRILOG RLDS STARTIME(13205203544555477) -VOLSER(VOL004) DSN(PRILOG4) FIRSTREC(00000000)

NOTIFY.PRILOG RLDS STARTIME(13205203544555477) -RUNTIME(13215095300000004) LASTREC(0000000000999999)

Set FIRSTREC ValueCan be any value or convert previous to decimal +1

© Copyright IBM Corporation 2013

Page 26: DBRC Advanced Topics - IMS UG Singapore 8-2013

RECON Records

PRILOG RECORD SIZE= 744 START = 13.205 20:35:44.555477 * SSID=IMAA VERSION=12.1 STOP = 00.000 00:00:00.000000 #DSN=4 GSGNAME=**NULL** FIRST RECORD ID= 0000000000000001 PRILOG TOKEN= 0 EARLIEST CHECKPOINT = 13.215 08:53:00.016667 LAST RLDS in PRILOG DSN=IMSVS.IMAA.SLDS.G5519V00 UNIT=3390 START = 13.209 05:01:00.630030 FIRST DS LSN= 000000000037CA84 STOP = 13.215 09:51:00.301164 LAST DS LSN= 00000000004336C2 FILE SEQ=0001 #VOLUMES=0001

VOLSER=SM4221 STOPTIME = 13.215 09:51:00.301164 CKPTCT=2 CHKPT ID = 13.215 08:53:00.016667 LOCK SEQUENCE#= CBB9BDEDE780

NOTIFY.PRILOG RLDS STARTIME(13205203544555477) -VOLSER(VOL004) DSN(PRILOG4) FIRSTREC(00000000)

NOTIFY.PRILOG RLDS STARTIME(13205203544555477) -RUNTIME(13215095300000004) LASTREC(0000000000999999)

Set RUNTIME valueCan be any value greater than previous STOP TIME

© Copyright IBM Corporation 2013

Page 27: DBRC Advanced Topics - IMS UG Singapore 8-2013

RECON Records

PRILOG RECORD SIZE= 744 START = 13.205 20:35:44.555477 * SSID=IMAA VERSION=12.1 STOP = 00.000 00:00:00.000000 #DSN=4 GSGNAME=**NULL** FIRST RECORD ID= 0000000000000001 PRILOG TOKEN= 0 EARLIEST CHECKPOINT = 13.215 08:53:00.016667 LAST RLDS in PRILOG DSN=IMSVS.IMAA.SLDS.G5519V00 UNIT=3390 START = 13.209 05:01:00.630030 FIRST DS LSN= 000000000037CA84 STOP = 13.215 09:51:00.301164 LAST DS LSN= 00000000004336C2 FILE SEQ=0001 #VOLUMES=0001

VOLSER=SM4221 STOPTIME = 13.215 09:51:00.301164 CKPTCT=2 CHKPT ID = 13.215 08:53:00.016667 LOCK SEQUENCE#= CBB9BDEDE780

NOTIFY.PRILOG RLDS STARTIME(13205203544555477) -VOLSER(VOL004) DSN(PRILOG4) FIRSTREC(00000000)

NOTIFY.PRILOG RLDS STARTIME(13205203544555477) -RUNTIME(13215095300000004) LASTREC(000999999)

Set LASTREC valueCan be any value greater than FIRSTREC value

© Copyright IBM Corporation 2013

Page 28: DBRC Advanced Topics - IMS UG Singapore 8-2013

RECON Records

© Copyright IBM Corporation 2013

RECON HEADERRECON

HEADER

SSYS

BKOUT

PRILOG(SECLOG)

LOGALL

REORG

DBDSGRP

CAGRP

IMAGE

RECOV

CA

DBDS

DB

ALLOC

PRISLD(SECSLD)

PRIOLD(SECOLD)

Page 29: DBRC Advanced Topics - IMS UG Singapore 8-2013

• Created at first update for this PRILOG (FF) –DEDB create it at DB start time. –Each IMS creates it’s own ALLOC

• Will be different time for each IMS

• Timestamp of first update log record for this DB/Partition/Area

© Copyright IBM Corporation 2013

ALLOC Records

Page 30: DBRC Advanced Topics - IMS UG Singapore 8-2013

ALLOC Records

© Copyright IBM Corporation 2013

ALLOC ALLOC =13.227 21:04:57.789057 * ALLOC LRID =0000000000000000 DSSN=0000000001 USID=0000000002 START = 13.226 22:33:02.863754

ALLOC ALLOC =13.232 22:43:13.818838 * ALLOC LRID =0000000000000000 DSSN=0000000002 USID=0000000003 START = 13.227 22:25:02.541402 DEALLOC =13.232 22:44:09.964201 DEALLOC LRID =0000000000000000 QUIESCE

ALLOC ALLOC =13.232 22:45:23.239274 * ALLOC LRID =0000000000000000 DSSN=0000000003 USID=0000000004 START = 13.227 22:25:02.541402 DEALLOC =13.232 23:40:40.001435 DEALLOC LRID =0000000000000000

ALLOC ALLOC =13.232 23:42:32.530134 * ALLOC LRID =0000000000000000 DSSN=0000000004 USID=0000000005 START = 13.227 22:25:02.541402

IMAGE RUN = 13.227 21:03:19.146570 * RECORD COUNT =3 STOP = 00.000 00:00:00.000000 BATCH USID=0000000001 IC1 DSN=RLONG.IMS13.C1CST03A.D2013227.T210316 FILE SEQ=0001 UNIT=SYSALLDA VOLS DEF=0001 VOLS USED=0001

VOLSER=SMS001

First update time stamp

Page 31: DBRC Advanced Topics - IMS UG Singapore 8-2013

ALLOC Records

© Copyright IBM Corporation 2013

ALLOC ALLOC =13.227 21:04:57.789057 * ALLOC LRID =0000000000000000 DSSN=0000000001 USID=0000000002 START = 13.226 22:33:02.863754

ALLOC ALLOC =13.232 22:43:13.818838 * ALLOC LRID =0000000000000000 DSSN=0000000002 USID=0000000003 START = 13.227 22:25:02.541402 DEALLOC =13.232 22:44:09.964201 DEALLOC LRID =0000000000000000 QUIESCE

ALLOC ALLOC =13.232 22:45:23.239274 * ALLOC LRID =0000000000000000 DSSN=0000000003 USID=0000000004 START = 13.227 22:25:02.541402 DEALLOC =13.232 23:40:40.001435 DEALLOC LRID =0000000000000000

ALLOC ALLOC =13.232 23:42:32.530134 * ALLOC LRID =0000000000000000 DSSN=0000000004 USID=0000000005 START = 13.227 22:25:02.541402

IMAGE RUN = 13.227 21:03:19.146570 * RECORD COUNT =3 STOP = 00.000 00:00:00.000000 BATCH USID=0000000001 IC1 DSN=RLONG.IMS13.C1CST03A.D2013227.T210316 FILE SEQ=0001 UNIT=SYSALLDA VOLS DEF=0001 VOLS USED=0001

VOLSER=SMS001

PRILOG STARTTIME

Page 32: DBRC Advanced Topics - IMS UG Singapore 8-2013

ALLOC Records

© Copyright IBM Corporation 2013

ALLOC ALLOC =13.227 21:04:57.789057 * ALLOC LRID =0000000000000000 DSSN=0000000001 USID=0000000002 START = 13.226 22:33:02.863754

ALLOC ALLOC =13.232 22:43:13.818838 * ALLOC LRID =0000000000000000 DSSN=0000000002 USID=0000000003 START = 13.227 22:25:02.541402 DEALLOC =13.232 22:44:09.964201 DEALLOC LRID =0000000000000000 QUIESCE

ALLOC ALLOC =13.232 22:45:23.239274 * ALLOC LRID =0000000000000000 DSSN=0000000003 USID=0000000004 START = 13.227 22:25:02.541402 DEALLOC =13.232 23:40:40.001435 DEALLOC LRID =0000000000000000

ALLOC ALLOC =13.232 23:42:32.530134 * ALLOC LRID =0000000000000000 DSSN=0000000004 USID=0000000005 START = 13.227 22:25:02.541402

IMAGE RUN = 13.227 21:03:19.146570 * RECORD COUNT =3 STOP = 00.000 00:00:00.000000 BATCH USID=0000000001 IC1 DSN=RLONG.IMS13.C1CST03A.D2013227.T210316 FILE SEQ=0001 UNIT=SYSALLDA VOLS DEF=0001 VOLS USED=0001

VOLSER=SMS001

First update time stamp PRILOG STARTTIME NEW PRILOG

Page 33: DBRC Advanced Topics - IMS UG Singapore 8-2013

ALLOC Records

© Copyright IBM Corporation 2013

ALLOC ALLOC =13.227 21:04:57.789057 * ALLOC LRID =0000000000000000 DSSN=0000000001 USID=0000000002 START = 13.226 22:33:02.863754

ALLOC ALLOC =13.232 22:43:13.818838 * ALLOC LRID =0000000000000000 DSSN=0000000002 USID=0000000003 START = 13.227 22:25:02.541402 DEALLOC =13.232 22:44:09.964201 DEALLOC LRID =0000000000000000 QUIESCE

ALLOC ALLOC =13.232 22:45:23.239274 * ALLOC LRID =0000000000000000 DSSN=0000000003 USID=0000000004 START = 13.227 22:25:02.541402 DEALLOC =13.232 23:40:40.001435 DEALLOC LRID =0000000000000000

ALLOC ALLOC =13.232 23:42:32.530134 * ALLOC LRID =0000000000000000 DSSN=0000000004 USID=0000000005 START = 13.227 22:25:02.541402

IMAGE RUN = 13.227 21:03:19.146570 * RECORD COUNT =3 STOP = 00.000 00:00:00.000000 BATCH USID=0000000001 IC1 DSN=RLONG.IMS13.C1CST03A.D2013227.T210316 FILE SEQ=0001 UNIT=SYSALLDA VOLS DEF=0001 VOLS USED=0001

VOLSER=SMS001

DB QUIESCE completed

Page 34: DBRC Advanced Topics - IMS UG Singapore 8-2013

ALLOC Records

© Copyright IBM Corporation 2013

ALLOC ALLOC =13.227 21:04:57.789057 * ALLOC LRID =0000000000000000 DSSN=0000000001 USID=0000000002 START = 13.226 22:33:02.863754

ALLOC ALLOC =13.232 22:43:13.818838 * ALLOC LRID =0000000000000000 DSSN=0000000002 USID=0000000003 START = 13.227 22:25:02.541402 DEALLOC =13.232 22:44:09.964201 DEALLOC LRID =0000000000000000 QUIESCE

ALLOC ALLOC =13.232 22:45:23.239274 * ALLOC LRID =0000000000000000 DSSN=0000000003 USID=0000000004 START = 13.227 22:25:02.541402 DEALLOC =13.232 23:40:40.001435 DEALLOC LRID =0000000000000000

ALLOC ALLOC =13.232 23:42:32.530134 * ALLOC LRID =0000000000000000 DSSN=0000000004 USID=0000000005 START = 13.227 22:25:02.541402

IMAGE RUN = 13.227 21:03:19.146570 * RECORD COUNT =3 STOP = 00.000 00:00:00.000000 BATCH USID=0000000001 IC1 DSN=RLONG.IMS13.C1CST03A.D2013227.T210316 FILE SEQ=0001 UNIT=SYSALLDA VOLS DEF=0001 VOLS USED=0001

VOLSER=SMS001

First update time stamp PRILOG STARTTIME Same PRILOG

Page 35: DBRC Advanced Topics - IMS UG Singapore 8-2013

ALLOC Records

© Copyright IBM Corporation 2013

ALLOC ALLOC =13.227 21:04:57.789057 * ALLOC LRID =0000000000000000 DSSN=0000000001 USID=0000000002 START = 13.226 22:33:02.863754

ALLOC ALLOC =13.232 22:43:13.818838 * ALLOC LRID =0000000000000000 DSSN=0000000002 USID=0000000003 START = 13.227 22:25:02.541402 DEALLOC =13.232 22:44:09.964201 DEALLOC LRID =0000000000000000 QUIESCE

ALLOC ALLOC =13.232 22:45:23.239274 * ALLOC LRID =0000000000000000 DSSN=0000000003 USID=0000000004 START = 13.227 22:25:02.541402 DEALLOC =13.232 23:40:40.001435 DEALLOC LRID =0000000000000000

ALLOC ALLOC =13.232 23:42:32.530134 * ALLOC LRID =0000000000000000 DSSN=0000000004 USID=0000000005 START = 13.227 22:25:02.541402

IMAGE RUN = 13.227 21:03:19.146570 * RECORD COUNT =3 STOP = 00.000 00:00:00.000000 BATCH USID=0000000001 IC1 DSN=RLONG.IMS13.C1CST03A.D2013227.T210316 FILE SEQ=0001 UNIT=SYSALLDA VOLS DEF=0001 VOLS USED=0001

VOLSER=SMS001

DBR completed

Page 36: DBRC Advanced Topics - IMS UG Singapore 8-2013

ALLOC Records

© Copyright IBM Corporation 2013

ALLOC ALLOC =13.227 21:04:57.789057 * ALLOC LRID =0000000000000000 DSSN=0000000001 USID=0000000002 START = 13.226 22:33:02.863754

ALLOC ALLOC =13.232 22:43:13.818838 * ALLOC LRID =0000000000000000 DSSN=0000000002 USID=0000000003 START = 13.227 22:25:02.541402 DEALLOC =13.232 22:44:09.964201 DEALLOC LRID =0000000000000000 QUIESCE

ALLOC ALLOC =13.232 22:45:23.239274 * ALLOC LRID =0000000000000000 DSSN=0000000003 USID=0000000004 START = 13.227 22:25:02.541402 DEALLOC =13.232 23:40:40.001435 DEALLOC LRID =0000000000000000

ALLOC ALLOC =13.232 23:42:32.530134 * ALLOC LRID =0000000000000000 DSSN=0000000004 USID=0000000005 START = 13.227 22:25:02.541402

IMAGE RUN = 13.227 21:03:19.146570 * RECORD COUNT =3 STOP = 00.000 00:00:00.000000 BATCH USID=0000000001 IC1 DSN=RLONG.IMS13.C1CST03A.D2013227.T210316 FILE SEQ=0001 UNIT=SYSALLDA VOLS DEF=0001 VOLS USED=0001

VOLSER=SMS001

First update time stamp

Page 37: DBRC Advanced Topics - IMS UG Singapore 8-2013

ALLOC Records

© Copyright IBM Corporation 2013

ALLOC ALLOC =13.227 21:04:57.789057 * ALLOC LRID =0000000000000000 DSSN=0000000001 USID=0000000002 START = 13.226 22:33:02.863754

ALLOC ALLOC =13.232 22:43:13.818838 * ALLOC LRID =0000000000000000 DSSN=0000000002 USID=0000000003 START = 13.227 22:25:02.541402 DEALLOC =13.232 22:44:09.964201 DEALLOC LRID =0000000000000000 QUIESCE

ALLOC ALLOC =13.232 22:45:23.239274 * ALLOC LRID =0000000000000000 DSSN=0000000003 USID=0000000004 START = 13.227 22:25:02.541402 DEALLOC =13.232 23:40:40.001435 DEALLOC LRID =0000000000000000

ALLOC ALLOC =13.232 23:42:32.530134 * ALLOC LRID =0000000000000000 DSSN=0000000004 USID=0000000005 START = 13.227 22:25:02.541402

IMAGE RUN = 13.227 21:03:19.146570 * RECORD COUNT =3 STOP = 00.000 00:00:00.000000 BATCH USID=0000000001 IC1 DSN=RLONG.IMS13.C1CST03A.D2013227.T210316 FILE SEQ=0001 UNIT=SYSALLDA VOLS DEF=0001 VOLS USED=0001

VOLSER=SMS001

First update time stamp

Page 38: DBRC Advanced Topics - IMS UG Singapore 8-2013

ALLOC Records

© Copyright IBM Corporation 2013

ALLOC ALLOC =13.227 21:04:57.789057 * ALLOC LRID =0000000000000000 DSSN=0000000001 USID=0000000002 START = 13.226 22:33:02.863754

ALLOC ALLOC =13.232 22:43:13.818838 * ALLOC LRID =0000000000000000 DSSN=0000000002 USID=0000000003 START = 13.227 22:25:02.541402 DEALLOC =13.232 22:44:09.964201 DEALLOC LRID =0000000000000000 QUIESCE

ALLOC ALLOC =13.232 22:45:23.239274 * ALLOC LRID =0000000000000000 DSSN=0000000003 USID=0000000004 START = 13.227 22:25:02.541402 DEALLOC =13.232 23:40:40.001435 DEALLOC LRID =0000000000000000

ALLOC ALLOC =13.232 23:42:32.530134 * ALLOC LRID =0000000000000000 DSSN=0000000004 USID=0000000005 START = 13.227 22:25:02.541402

IMAGE RUN = 13.227 21:03:19.146570 * RECORD COUNT =3 STOP = 00.000 00:00:00.000000 BATCH USID=0000000001 IC1 DSN=RLONG.IMS13.C1CST03A.D2013227.T210316 FILE SEQ=0001 UNIT=SYSALLDA VOLS DEF=0001 VOLS USED=0001

VOLSER=SMS001

First update time stamp

Page 39: DBRC Advanced Topics - IMS UG Singapore 8-2013

ALLOC Records

© Copyright IBM Corporation 2013

ALLOC ALLOC =13.227 21:04:57.789057 * ALLOC LRID =0000000000000000 DSSN=0000000001 USID=0000000002 START = 13.226 22:33:02.863754

ALLOC ALLOC =13.232 22:43:13.818838 * ALLOC LRID =0000000000000000 DSSN=0000000002 USID=0000000003 START = 13.227 22:25:02.541402 DEALLOC =13.232 22:44:09.964201 DEALLOC LRID =0000000000000000 QUIESCE

ALLOC ALLOC =13.232 22:45:23.239274 * ALLOC LRID =0000000000000000 DSSN=0000000003 USID=0000000004 START = 13.227 22:25:02.541402 DEALLOC =13.232 23:40:40.001435 DEALLOC LRID =0000000000000000

ALLOC ALLOC =13.232 23:42:32.530134 * ALLOC LRID =0000000000000000 DSSN=0000000004 USID=0000000005 START = 13.227 22:25:02.541402

IMAGE RUN = 13.227 21:03:19.146570 * RECORD COUNT =3 STOP = 00.000 00:00:00.000000 BATCH USID=0000000001 IC1 DSN=RLONG.IMS13.C1CST03A.D2013227.T210316 FILE SEQ=0001 UNIT=SYSALLDA VOLS DEF=0001 VOLS USED=0001

VOLSER=SMS001

First update time stamp PRILOG STARTTIME Same PRILOG

Page 40: DBRC Advanced Topics - IMS UG Singapore 8-2013

ALLOC Records

© Copyright IBM Corporation 2013

PRILOG RECORD SIZE= 624 START = 13.227 22:25:02.541402 * SSID=IMDD VERSION=13.1 STOP = 13.232 23:43:25.516702 #DSN=3 GSGNAME=**NULL** NORMAL TERM FIRST RECORD ID= 0000000001E62466 PRILOG TOKEN= 0 EARLIEST CHECKPOINT = 13.232 23:27:00.003125

DSN=IMSVS.IMDD.SLDS.G0139V00 UNIT=SYSALLDA START = 13.227 22:25:02.541402 FIRST DS LSN= 0000000001E62466 STOP = 13.227 22:25:24.323684 LAST DS LSN= 0000000001E65952 FILE SEQ=0001 #VOLUMES=0001

DSN=IMSVS.IMDD.SLDS.G0140V00 UNIT=SYSALLDA START = 13.227 22:25:24.323684 FIRST DS LSN= 0000000001E65953 STOP = 13.232 22:44:09.984847 LAST DS LSN= 0000000001E797A4 FILE SEQ=0001 #VOLUMES=0001

DSN=IMSVS.IMDD.SLDS.G0141V00 UNIT=SYSALLDA START = 13.232 22:44:09.984847 FIRST DS LSN= 0000000001E797A5 STOP = 13.232 23:43:25.516702 LAST DS LSN= 0000000001E83D2A FILE SEQ=0001 #VOLUMES=0001

LOGALL START = 13.227 22:25:02.541402 * EARLIEST ALLOC TIME = 13.227 22:25:03.345889 DBDS ALLOC=8 -DBD- -DDN- -ALLOC-

C1CST10 C1CST10A 1 HORDER2 HORDER2A 2 HORDER1 HORDER1A 2 HORDER6 HORDER6A 2 HORDER5 HORDER5A 2 HORDER4 HORDER4A 2 HORDER3 HORDER3A 2 C1CST03 C1CST03A 3

IMS Shutdown

Page 41: DBRC Advanced Topics - IMS UG Singapore 8-2013

ALLOC Records

© Copyright IBM Corporation 2013

ALLOC ALLOC =13.227 21:04:57.789057 * ALLOC LRID =0000000000000000 DSSN=0000000001 USID=0000000002 START = 13.226 22:33:02.863754

ALLOC ALLOC =13.232 22:43:13.818838 * ALLOC LRID =0000000000000000 DSSN=0000000002 USID=0000000003 START = 13.227 22:25:02.541402 DEALLOC =13.232 22:44:09.964201 DEALLOC LRID =0000000000000000 QUIESCE

ALLOC ALLOC =13.232 22:45:23.239274 * ALLOC LRID =0000000000000000 DSSN=0000000003 USID=0000000004 START = 13.227 22:25:02.541402 DEALLOC =13.232 23:40:40.001435 DEALLOC LRID =0000000000000000

ALLOC ALLOC =13.232 23:42:32.530134 * ALLOC LRID =0000000000000000 DSSN=0000000004 USID=0000000005 START = 13.227 22:25:02.541402

IMAGE RUN = 13.227 21:03:19.146570 * RECORD COUNT =3 STOP = 00.000 00:00:00.000000 BATCH USID=0000000001 IC1 DSN=RLONG.IMS13.C1CST03A.D2013227.T210316 FILE SEQ=0001 UNIT=SYSALLDA VOLS DEF=0001 VOLS USED=0001

VOLSER=SMS001

Can’t tell that the PRILOG is closed by looking at the ALLOC record.

Page 42: DBRC Advanced Topics - IMS UG Singapore 8-2013

5.2

Welcome to:

Listing RECON Information

© Copyright IBM Corporation 2013

Page 43: DBRC Advanced Topics - IMS UG Singapore 8-2013

• Finding detailed information in the RECON

• Finding valid recovery points

• LIST.DB returns only DB, DBDS and/or PART records–LIST.DB DBDS returns activity records

• ALLOC, REORG, IC, RECOV• Records displayed in RECON record sequence

– All IC records, All ALLOC records, ALL REORG….–LIST.HISTORY return activity records

• All records in time sequence• PRILOG records returned as well• Graph which details overlapping log from multiple systems

© Copyright IBM Corporation 2013

Listing RECON Information

Page 44: DBRC Advanced Topics - IMS UG Singapore 8-2013

//DBRC EXEC DSPURX00//STEPLIB DD DSN=IMSVS.IMDD.SDFSRESL,DISP=SHR//DFSRESLB DD DSN=IMSVS.IMDD.SDFSRESL,DISP=SHR//IMS DD DSN=IMSVS.IMDD.DBDLIB,DISP=SHR//JCLPDS DD DSN=IMSVS.IMDD.JCLLIB,DISP=SHR//JCLOUT DD SYSOUT=(*,INTRDR) //SYSPRINT DD SYSOUT=* //SYSIN DD * LIST.DB DBD(T01DBD1) DBDS//

© Copyright IBM Corporation 2013

Listing RECON Records

LIST.DB DBD( ) – will display the DB record only

LIST.DB DBD( ) DBDS – will display the DB, DBDS and all associated records (ALLOC,IC,RECOV,REORG…

LIST.HISTORY DBD(T01DBD1)

Will display same records in time sequence + PRILOG records and timeline graph

Page 45: DBRC Advanced Topics - IMS UG Singapore 8-2013

Database RECON Records

© Copyright IBM Corporation 2013

DBDBD=G2CSTM1 MASTER DB=G2CSTMRP CHANGE#=1 TYPE=PARTUSID=0000000002 AUTHORIZED USID=0000000002 HARD USID=0000000002RECEIVE USID=0000000002 RECEIVE NEEDED USID=0000000000DSN PREFIX=RLONG.IMS13.G2CSTMRP PARTITION ID=00001PREVIOUS PARTITION=**NULL** NEXT PARTITION=G2CSTM2OLRIMSID=**NULL** ACTIVE DBDS=A-JREORG#=00001PARTITION HIGH KEY/STRING (CHAR): (LENGTH=6 )

499999 PARTITION HIGH KEY/STRING (HEX):F4F9F9F9F9F9

FLAGS: COUNTERS:BACKOUT NEEDED =OFF RECOVERY NEEDED COUNT =0READ ONLY =OFF IMAGE COPY NEEDED COUNT =0PROHIBIT AUTHORIZATION=OFF AUTHORIZED SUBSYSTEMS =1

HELD AUTHORIZATION STATE=6EEQE COUNT =0

TRACKING SUSPENDED =NO RECEIVE REQUIRED COUNT =0OFR REQUIRED =NO OLR ACTIVE HARD COUNT =0PARTITION INIT NEEDED =NO OLR INACTIVE HARD COUNT =0OLREORG CURSOR ACTIVE =NOPARTITION DISABLED =NOONLINE REORG CAPABLE =YESREORG INTENT =NOQUIESCE IN PROGRESS =NOQUIESCE HELD =NOALTER IN PROGRESS =NOPARTITION ALTERED =NO

Page 46: DBRC Advanced Topics - IMS UG Singapore 8-2013

Database RECON Records

© Copyright IBM Corporation 2013

DBDSDSN=RLONG.IMS13.G2CSTMRP.A00001 TYPE=PARTDBD=G2CSTM1 DDN=G2CSTM1A DSID=001 DBORG=HIDAM DSORG=VSAMCAGRP=G2CSTCA GENMAX=3 IC AVAIL=0 IC USED=1 DSSN=00000001NOREUSE RECOVPD=0 OTHER DDN=**NULL**DEFLTJCL=**NULL** ICJCL=ICJCL OICJCL=OICJCL RECOVJCL=RECOVJCLRECVJCL=ICRCVJCLFLAGS: COUNTERS:

IC NEEDED =OFFRECOV NEEDED =OFFRECEIVE NEEDED =OFF EEQE COUNT =0

Page 47: DBRC Advanced Topics - IMS UG Singapore 8-2013

IMAGERUN = 13.181 18:16:11.160940 * RECORD COUNT =3STOP = 00.000 00:00:00.000000 BATCH USID=0000000001IC1DSN=RLONG.IMS13.G2CSTM1A.D2013181.T181610 FILE SEQ=0001

UNIT=SYSALLDA VOLSER=SMS003

ALLOCALLOC =13.181 18:17:36.963294 * ALLOC LRID =0000000000000000DSSN=0000000001 USID=0000000002 START = 13.175 20:09:03.850044

CADSN=RLONG.IMS13.CA.G2CSTCA.CA182230 FILE SEQ=1CAGRP=G2CSTCA STOP = 13.181 18:22:00.071261 *RUN = 13.181 18:22:31.534993DBD=G2CSTM1 DDN=G2CSTM1A PURGETIME = 13.181 18:16:11.160940CHANGES ACCUMULATED=YES COMPLETE CA=YES INDOUBT EEQES=NOLSN = 000000000000 DSSN = 0000000001LRID = 00000000002C570B USID = 0000000002

CADSN=RLONG.IMS13.CA.G2CSTCA.CA182950 FILE SEQ=1CAGRP=G2CSTCA STOP = 13.181 18:29:23.101389 *RUN = 13.181 18:29:51.220929DBD=G2CSTM1 DDN=G2CSTM1A PURGETIME = 13.181 18:16:11.160940CHANGES ACCUMULATED=YES COMPLETE CA=YES INDOUBT EEQES=NOLSN = 000000000000 DSSN = 0000000001LRID = 0000000000000000 USID = 0000000000

© Copyright IBM Corporation 2013

Activity Records(modified) LIST.HISTORY

Page 48: DBRC Advanced Topics - IMS UG Singapore 8-2013

IMAGERUN = 13.181 18:16:11.160940 * RECORD COUNT =3STOP = 00.000 00:00:00.000000 BATCH USID=0000000001IC1DSN=RLONG.IMS13.G2CSTM1A.D2013181.T181610 FILE SEQ=0001

UNIT=SYSALLDA VOLSER=SMS003

ALLOCALLOC =13.181 18:17:36.963294 * ALLOC LRID =0000000000000000DSSN=0000000001 USID=0000000002 START = 13.175 20:09:03.850044

CADSN=RLONG.IMS13.CA.G2CSTCA.CA182230 FILE SEQ=1CAGRP=G2CSTCA STOP = 13.181 18:22:00.071261 *RUN = 13.181 18:22:31.534993DBD=G2CSTM1 DDN=G2CSTM1A PURGETIME = 13.181 18:16:11.160940CHANGES ACCUMULATED=YES COMPLETE CA=YES INDOUBT EEQES=NOLSN = 000000000000 DSSN = 0000000001LRID = 00000000002C570B USID = 0000000002

CADSN=RLONG.IMS13.CA.G2CSTCA.CA182950 FILE SEQ=1CAGRP=G2CSTCA STOP = 13.181 18:29:23.101389 *RUN = 13.181 18:29:51.220929DBD=G2CSTM1 DDN=G2CSTM1A PURGETIME = 13.181 18:16:11.160940CHANGES ACCUMULATED=YES COMPLETE CA=YES INDOUBT EEQES=NOLSN = 000000000000 DSSN = 0000000001LRID = 0000000000000000 USID = 0000000000

© Copyright IBM Corporation 2013

Activity Records(modified) LIST.HISTORY

First update time stamp

PRILOG Record STARTTIME

Page 49: DBRC Advanced Topics - IMS UG Singapore 8-2013

IMAGERUN = 13.181 18:16:11.160940 * RECORD COUNT =3STOP = 00.000 00:00:00.000000 BATCH USID=0000000001IC1DSN=RLONG.IMS13.G2CSTM1A.D2013181.T181610 FILE SEQ=0001

UNIT=SYSALLDA VOLSER=SMS003

ALLOCALLOC =13.181 18:17:36.963294 * ALLOC LRID =0000000000000000DSSN=0000000001 USID=0000000002 START = 13.175 20:09:03.850044

CADSN=RLONG.IMS13.CA.G2CSTCA.CA182230 FILE SEQ=1CAGRP=G2CSTCA STOP = 13.181 18:22:00.071261 *RUN = 13.181 18:22:31.534993DBD=G2CSTM1 DDN=G2CSTM1A PURGETIME = 13.181 18:16:11.160940CHANGES ACCUMULATED=YES COMPLETE CA=YES INDOUBT EEQES=NOLSN = 000000000000 DSSN = 0000000001LRID = 00000000002C570B USID = 0000000002

From PRILOG DSN=IMSVS.IMDD.SLDS.G0245V00 UNIT=SYSALLDASTART = 13.181 18:15:44.033489 FIRST DS LSN= 000000000027DD86STOP = 13.181 18:22:00.071261 LAST DS LSN= 00000000002C5724FILE SEQ=0001 #VOLUMES=0001

© Copyright IBM Corporation 2013

Activity Records(modified) LIST.HISTORY

Page 50: DBRC Advanced Topics - IMS UG Singapore 8-2013

RECON Records from LIST.CAGRP

© Copyright IBM Corporation 2013

LIST.CAGRP GRPNAME(G2CSTCA)

CAGRPGRPNAME=G2CSTCA GRPMAX=3 CA AVAIL=0 CA USED=1NOREUSE CAJCL=CAJCL DEFLTJCL=**NULL** RECOVPD=0

#MEMBERS=2 -DBD- -DDN-G2CSTM1 G2CSTM1AG2CSTM2 G2CSTM2A

CADSN=RLONG.IMS13.CA.G2CSTCA.CA182230 FILE SEQ=1CAGRP=G2CSTCA STOP = 13.181 18:22:00.071261 *

UNIT=SYSALLDA VOLS DEF=1 VOLS USED=1VOLSER=SMS009

RUN = 13.181 18:22:31.534993DBD=G2CSTM1 DDN=G2CSTM1A PURGETIME = 13.181 18:16:11.160940CHANGES ACCUMULATED=YES COMPLETE CA=YES INDOUBT EEQES=NOLSN = 000000000000 DSSN = 0000000001LRID = 00000000002C570B USID = 0000000002

DBD=G2CSTM2 DDN=G2CSTM2A PURGETIME = 13.181 18:16:12.064014CHANGES ACCUMULATED=NO COMPLETE CA=YES INDOUBT EEQES=NOLSN = 000000000000 DSSN = 0000000000LRID = 0000000000000000 USID = 0000000000

Page 51: DBRC Advanced Topics - IMS UG Singapore 8-2013

Activity Records(modified)

© Copyright IBM Corporation 2013

IMAGE RUN = 13.181 18:16:11.160940 STOP = 00.000 00:00:00.000000 BATCH

ALLOC =13.181 18:17:36.963294 START = 13.175 20:09:03.850044DEALLOC=13.181 20:24:58.791765

CA RUN= 13.181 20:22:29.522367CA RUN= 13.181 20:25:14.340320

ALLOC =13.182 16:40:33.926477 START = 13.175 20:09:03.850044DEALLOC=13.182 20:19:16.677385

RECOV RUN=13.182 20:36:32.830230

ALLOC =13.188 21:28:23.482989 START = 13.188 19:59:39.294493DEALLOC =13.188 21:39:02.862568

ALLOC =13.188 21:46:08.683874 START = 13.188 19:59:39.294493

Image Copy Run

Page 52: DBRC Advanced Topics - IMS UG Singapore 8-2013

Activity Records(modified)

© Copyright IBM Corporation 2013

IMAGE RUN = 13.181 18:16:11.160940 STOP = 00.000 00:00:00.000000 BATCH

ALLOC =13.181 18:17:36.963294 START = 13.175 20:09:03.850044DEALLOC=13.181 20:24:58.791765

CA RUN= 13.181 20:22:29.522367CA RUN= 13.181 20:25:14.340320

ALLOC =13.182 16:40:33.926477 START = 13.175 20:09:03.850044DEALLOC=13.182 20:19:16.677385

RECOV RUN=13.182 20:36:32.830230

ALLOC =13.188 21:28:23.482989 START = 13.188 19:59:39.294493DEALLOC =13.188 21:39:02.862568

ALLOC =13.188 21:46:08.683874 START = 13.188 19:59:39.294493

IMS Online Started

Page 53: DBRC Advanced Topics - IMS UG Singapore 8-2013

Activity Records(modified)

© Copyright IBM Corporation 2013

IMAGE RUN = 13.181 18:16:11.160940 STOP = 00.000 00:00:00.000000 BATCH

ALLOC =13.181 18:17:36.963294 START = 13.175 20:09:03.850044DEALLOC=13.181 20:24:58.791765

CA RUN= 13.181 20:22:29.522367CA RUN= 13.181 20:25:14.340320

ALLOC =13.182 16:40:33.926477 START = 13.175 20:09:03.850044DEALLOC=13.182 20:19:16.677385

RECOV RUN=13.182 20:36:32.830230

ALLOC =13.188 21:28:23.482989 START = 13.188 19:59:39.294493DEALLOC =13.188 21:39:02.862568

ALLOC =13.188 21:46:08.683874 START = 13.188 19:59:39.294493

First Update for this DBD

Page 54: DBRC Advanced Topics - IMS UG Singapore 8-2013

Activity Records(modified)

© Copyright IBM Corporation 2013

IMAGE RUN = 13.181 18:16:11.160940 STOP = 00.000 00:00:00.000000 BATCH

ALLOC =13.181 18:17:36.963294 START = 13.175 20:09:03.850044DEALLOC=13.181 20:24:58.791765

CA RUN= 13.181 20:22:29.522367CA RUN= 13.181 20:25:14.340320

ALLOC =13.182 16:40:33.926477 START = 13.175 20:09:03.850044DEALLOC=13.182 20:19:16.677385

RECOV RUN=13.182 20:36:32.830230

ALLOC =13.188 21:28:23.482989 START = 13.188 19:59:39.294493DEALLOC =13.188 21:39:02.862568

ALLOC =13.188 21:46:08.683874 START = 13.188 19:59:39.294493

FIRST CA RUN

Page 55: DBRC Advanced Topics - IMS UG Singapore 8-2013

Activity Records(modified)

© Copyright IBM Corporation 2013

IMAGE RUN = 13.181 18:16:11.160940 STOP = 00.000 00:00:00.000000 BATCH

ALLOC =13.181 18:17:36.963294 START = 13.175 20:09:03.850044DEALLOC=13.181 20:24:58.791765

CA RUN= 13.181 20:22:29.522367CA RUN= 13.181 20:25:14.340320

ALLOC =13.182 16:40:33.926477 START = 13.175 20:09:03.850044DEALLOC=13.182 20:19:16.677385

RECOV RUN=13.182 20:36:32.830230

ALLOC =13.188 21:28:23.482989 START = 13.188 19:59:39.294493DEALLOC =13.188 21:39:02.862568

ALLOC =13.188 21:46:08.683874 START = 13.188 19:59:39.294493

DBD DBRed

Page 56: DBRC Advanced Topics - IMS UG Singapore 8-2013

Activity Records(modified)

© Copyright IBM Corporation 2013

IMAGE RUN = 13.181 18:16:11.160940 STOP = 00.000 00:00:00.000000 BATCH

ALLOC =13.181 18:17:36.963294 START = 13.175 20:09:03.850044DEALLOC=13.181 20:24:58.791765

CA RUN= 13.181 20:22:29.522367CA RUN= 13.181 20:25:14.340320

ALLOC =13.182 16:40:33.926477 START = 13.175 20:09:03.850044DEALLOC=13.182 20:19:16.677385

RECOV RUN=13.182 20:36:32.830230

ALLOC =13.188 21:28:23.482989 START = 13.188 19:59:39.294493DEALLOC =13.188 21:39:02.862568

ALLOC =13.188 21:46:08.683874 START = 13.188 19:59:39.294493

Second CA run

Page 57: DBRC Advanced Topics - IMS UG Singapore 8-2013

Activity Records(modified)

© Copyright IBM Corporation 2013

IMAGE RUN = 13.181 18:16:11.160940 STOP = 00.000 00:00:00.000000 BATCH

ALLOC =13.181 18:17:36.963294 START = 13.175 20:09:03.850044DEALLOC=13.181 20:24:58.791765

CA RUN= 13.181 20:22:29.522367CA RUN= 13.181 20:25:14.340320

ALLOC =13.182 16:40:33.926477 START = 13.175 20:09:03.850044DEALLOC=13.182 20:19:16.677385

RECOV RUN=13.182 20:36:32.830230

ALLOC =13.188 21:28:23.482989 START = 13.188 19:59:39.294493DEALLOC =13.188 21:39:02.862568

ALLOC =13.188 21:46:08.683874 START = 13.188 19:59:39.294493

First Update since DBD Started (Same instance of IMS)

Page 58: DBRC Advanced Topics - IMS UG Singapore 8-2013

Activity Records(modified)

© Copyright IBM Corporation 2013

IMAGE RUN = 13.181 18:16:11.160940 STOP = 00.000 00:00:00.000000 BATCH

ALLOC =13.181 18:17:36.963294 START = 13.175 20:09:03.850044DEALLOC=13.181 20:24:58.791765

CA RUN= 13.181 20:22:29.522367CA RUN= 13.181 20:25:14.340320

ALLOC =13.182 16:40:33.926477 START = 13.175 20:09:03.850044DEALLOC=13.182 20:19:16.677385

RECOV RUN=13.182 20:36:32.830230

ALLOC =13.188 21:28:23.482989 START = 13.188 19:59:39.294493DEALLOC =13.188 21:39:02.862568

ALLOC =13.188 21:46:08.683874 START = 13.188 19:59:39.294493

DBR DBD

Page 59: DBRC Advanced Topics - IMS UG Singapore 8-2013

Activity Records(modified)

© Copyright IBM Corporation 2013

IMAGE RUN = 13.181 18:16:11.160940 STOP = 00.000 00:00:00.000000 BATCH

ALLOC =13.181 18:17:36.963294 START = 13.175 20:09:03.850044DEALLOC=13.181 20:24:58.791765

CA RUN= 13.181 20:22:29.522367CA RUN= 13.181 20:25:14.340320

ALLOC =13.182 16:40:33.926477 START = 13.175 20:09:03.850044DEALLOC=13.182 20:19:16.677385

RECOV RUN=13.182 20:36:32.830230

ALLOC =13.188 21:28:23.482989 START = 13.188 19:59:39.294493DEALLOC =13.188 21:39:02.862568

ALLOC =13.188 21:46:08.683874 START = 13.188 19:59:39.294493

Run FULL Recovery

Page 60: DBRC Advanced Topics - IMS UG Singapore 8-2013

Activity Records(modified)

© Copyright IBM Corporation 2013

IMAGE RUN = 13.181 18:16:11.160940 STOP = 00.000 00:00:00.000000 BATCH

ALLOC =13.181 18:17:36.963294 START = 13.175 20:09:03.850044DEALLOC=13.181 20:24:58.791765

CA RUN= 13.181 20:22:29.522367CA RUN= 13.181 20:25:14.340320

ALLOC =13.182 16:40:33.926477 START = 13.175 20:09:03.850044DEALLOC=13.182 20:19:16.677385

RECOV RUN=13.182 20:36:32.830230

ALLOC =13.188 21:28:23.482989 START = 13.188 19:59:39.294493DEALLOC =13.188 21:39:02.862568

ALLOC =13.188 21:46:08.683874 START = 13.188 19:59:39.294493

IMS Online Started

Page 61: DBRC Advanced Topics - IMS UG Singapore 8-2013

Activity Records(modified)

© Copyright IBM Corporation 2013

IMAGE RUN = 13.181 18:16:11.160940 STOP = 00.000 00:00:00.000000 BATCH

ALLOC =13.181 18:17:36.963294 START = 13.175 20:09:03.850044DEALLOC=13.181 20:24:58.791765

CA RUN= 13.181 20:22:29.522367CA RUN= 13.181 20:25:14.340320

ALLOC =13.182 16:40:33.926477 START = 13.175 20:09:03.850044DEALLOC=13.182 20:19:16.677385

RECOV RUN=13.182 20:36:32.830230

ALLOC =13.188 21:28:23.482989 START = 13.188 19:59:39.294493DEALLOC =13.188 21:39:02.862568

ALLOC =13.188 21:46:08.683874 START = 13.188 19:59:39.294493

First Update since DBD Started (New instance of IMS)

Page 62: DBRC Advanced Topics - IMS UG Singapore 8-2013

Activity Records(modified)

© Copyright IBM Corporation 2013

IMAGE RUN = 13.181 18:16:11.160940 STOP = 00.000 00:00:00.000000 BATCH

ALLOC =13.181 18:17:36.963294 START = 13.175 20:09:03.850044DEALLOC=13.181 20:24:58.791765

CA RUN= 13.181 20:22:29.522367CA RUN= 13.181 20:25:14.340320

ALLOC =13.182 16:40:33.926477 START = 13.175 20:09:03.850044DEALLOC=13.182 20:19:16.677385

RECOV RUN=13.182 20:36:32.830230

ALLOC =13.188 21:28:23.482989 START = 13.188 19:59:39.294493DEALLOC =13.188 21:39:02.862568

ALLOC =13.188 21:46:08.683874 START = 13.188 19:59:39.294493

DBR DBD

Page 63: DBRC Advanced Topics - IMS UG Singapore 8-2013

Activity Records(modified)

© Copyright IBM Corporation 2013

IMAGE RUN = 13.181 18:16:11.160940 STOP = 00.000 00:00:00.000000 BATCH

ALLOC =13.181 18:17:36.963294 START = 13.175 20:09:03.850044DEALLOC=13.181 20:24:58.791765

CA RUN= 13.181 20:22:29.522367CA RUN= 13.181 20:25:14.340320

ALLOC =13.182 16:40:33.926477 START = 13.175 20:09:03.850044DEALLOC=13.182 20:19:16.677385

RECOV RUN=13.182 20:36:32.830230

ALLOC =13.188 21:28:23.482989 START = 13.188 19:59:39.294493DEALLOC =13.188 21:39:02.862568

ALLOC =13.188 21:46:08.683874 START = 13.188 19:59:39.294493

First Update since DBD Started (Same instance of IMS)

Page 64: DBRC Advanced Topics - IMS UG Singapore 8-2013

Activity Records(modified)

© Copyright IBM Corporation 2013

IMAGE RUN = 13.181 18:16:11.160940 STOP = 00.000 00:00:00.000000 BATCH

ALLOC =13.181 18:17:36.963294 START = 13.175 20:09:03.850044DEALLOC=13.181 20:24:58.791765

CA RUN= 13.181 20:22:29.522367CA RUN= 13.181 20:25:14.340320

ALLOC =13.182 16:40:33.926477 START = 13.175 20:09:03.850044DEALLOC= 13.182 20:19:16.677385

RECOV RUN=13.182 20:36:32.830230

ALLOC =13.188 21:28:23.482989 START = 13.188 19:59:39.294493DEALLOC =13.188 21:39:02.862568

ALLOC =13.188 21:46:08.683874 START = 13.188 19:59:39.294493

Recover Points