Locating the last SLDS stop time in the RECON data set

Use the following procedure to find the last SLDS stop time in the RECON data set using the GENJCL.USER command. This procedure can be used while IMS is still running and can also be used if the PRISLD is already closed.

Procedure

  1. Create a skeletal JCL execution member.
    Here is an example of a member named SELSLDS:
    %SELECT SLDS(%USSID,LAST)
    %ENDSEL
    SLDSDD  BEG=%SLDSTIM
            END=%SLDETIM
            VOL=%SLDVOLS
            UNT=%SLDUNIT
            DSN=%SLDSDSN
  2. Issue the GENJCL.USER command indicating the execution member to run with.
    Below is a sample of the GENJCL.USER command indicating that the command is to be run with member SELSLDS:
    GENJCL.USER MEMBER(SELSLDS) NOJOB USERKEYS((%USSID,'IMS1')) -
      JCLOUT(SYSPRINT)

Below is the SLDS listing:

PRISLD                                       RECORD SIZE=    1104
  START = 07.064 16:58:06.000000         *    SSID=IMS1     VERSION=10.1
  STOP  = 07.064 17:00:04.656844              #DSN=6
  GSGNAME=**NULL**
  FIRST RECORD ID= 0000000000000001       PRILOG TOKEN= 0

  DSN=IMSVS.SLDSP.IMS1.D07064.T1658060.V00                 UNIT=SYSDA
  START = 07.064 16:58:06.000000           FIRST DS LSN= 0000000000000001
  STOP  = 07.064 16:58:16.108103           LAST  DS LSN= 0000000000000128
  FILE SEQ=0001    #VOLUMES=0001
  CHECKPOINT TYPES=80: SIMPLE=Y SNAPQ=N DUMPQ=N PURGE=N FREEZE=N

    VOLSER=000000 STOPTIME = 07.064 16:58:16.108103
      CKPTCT=1    CHKPT ID = 00.000 00:00:00.000000
      LOCK SEQUENCE#=  000000000000

  DSN=IMSVS.SLDSP.IMS1.D07064.T1658161.V00                 UNIT=SYSDA
  START = 07.064 16:58:16.108103           FIRST DS LSN= 0000000000000129
  STOP  = 07.064 16:59:00.886236           LAST  DS LSN= 0000000000000BE9
  FILE SEQ=0001    #VOLUMES=0001
  CHECKPOINT TYPES=00: SIMPLE=N SNAPQ=N DUMPQ=N PURGE=N FREEZE=N

    VOLSER=000000 STOPTIME = 07.064 16:59:00.886236
      CKPTCT=0    CHKPT ID = 07.064 16:58:06.603513
      LOCK SEQUENCE#=  000000000000

  DSN=IMSVS.SLDSP.IMS1.D07064.T1659008.V00                 UNIT=SYSDA
  START = 07.064 16:59:00.886236           FIRST DS LSN= 0000000000000BEA
  STOP  = 07.064 16:59:15.330532           LAST  DS LSN= 000000000000111A
  FILE SEQ=0001    #VOLUMES=0001
  CHECKPOINT TYPES=00: SIMPLE=N SNAPQ=N DUMPQ=N PURGE=N FREEZE=N

    VOLSER=000000 STOPTIME = 07.064 16:59:15.330532
      CKPTCT=0    CHKPT ID = 07.064 16:58:06.603513
      LOCK SEQUENCE#=  000000000000

  DSN=IMSVS.SLDSP.IMS1.D07064.T1659153.V00                 UNIT=SYSDA
  START = 07.064 16:59:15.330532           FIRST DS LSN= 000000000000111B
  STOP  = 07.064 16:59:28.219762           LAST  DS LSN= 00000000000016A5
  FILE SEQ=0001    #VOLUMES=0001
  CHECKPOINT TYPES=00: SIMPLE=N SNAPQ=N DUMPQ=N PURGE=N FREEZE=N

    VOLSER=000000 STOPTIME = 07.064 16:59:28.219762
      CKPTCT=0    CHKPT ID = 07.064 16:58:06.603513
      LOCK SEQUENCE#=  000000000000

07.064 17:00:18.768831              LISTING OF RECON                  PAGE 0005
  DSN=IMSVS.SLDSP.IMS1.D07064.T1659282.V01                 UNIT=SYSDA
  START = 07.064 16:59:28.219762           FIRST DS LSN= 00000000000016A6
  STOP  = 07.064 17:00:04.440567           LAST  DS LSN= 0000000000001907
  FILE SEQ=0001    #VOLUMES=0001
  CHECKPOINT TYPES=08: SIMPLE=N SNAPQ=N DUMPQ=N PURGE=N FREEZE=Y

    VOLSER=000000 STOPTIME = 07.064 17:00:04.440567
      CKPTCT=1    CHKPT ID = 07.064 16:58:06.603513
      LOCK SEQUENCE#=  000000000000

  DSN=IMSVS.SLDSP.IMS1.D07064.T1659282.V02                 UNIT=SYSDA
  START = 07.064 17:00:04.440567           FIRST DS LSN= 0000000000001908
  STOP  = 07.064 17:00:04.656844           LAST  DS LSN= 00000000000019A0
  FILE SEQ=0001    #VOLUMES=0001
  CHECKPOINT TYPES=00: SIMPLE=N SNAPQ=N DUMPQ=N PURGE=N FREEZE=N

    VOLSER=000000 STOPTIME = 07.064 17:00:04.656844
      CKPTCT=0    CHKPT ID = 07.064 17:00:04.417809
      LOCK SEQUENCE#=  000000000000

Below is the output that results from issuing the previous sample GENJCL.USER command:

SLDSDD  BEG=07064170004440567-0800
        END=07064170004656844-0800
        VOL=000000
        UNT=SYSDA
        DSN=IMSVS.SLDSP.IMS1.D07064.T1659282.V02