Using selective scan

When you use the CICS® VR ISPF dialog interface to create a recovery job, by default CICS VR automatically scans all log of logs that are registered to CICS VR.

CICS VR scans all log of logs to make sure the RCDS contains all of the latest update activity prior to creating the recovery job. However, in some cases you might know that only specific log of logs contain the necessary update activity information for the VSAM spheres you want to recover.

You can have CICS VR only scan specific log of logs by using one of the following methods:
  • Run a batch job and specify the names of the log of logs to be scanned on the LOGOFLOGS command. The LOGOFLOGS command in Figure 1 tells CICS VR to only scan log of logs LOGLFLOG.J01 and LOGOFLOG.J02. Both of these log of logs must be registered in the RCDS.
    Figure 1. Sample LOGOFLOGS SCAN job for selected log of logs
    
    //JOBSCN2  JOB MSGCLASS=X,CLASS=A,MSGLEVEL=(1,1),REGION=0M  
    //* CICSVR PROGRAM                                          
    //STEP1    EXEC PGM=DWWAR                                   
    //* LIBRARY CONTAINING CICSVR PROGRAMS                      
    //STEPLIB DD DSN=DWW.SDWWLOAD,DISP=SHR
    // DD DSN=DWW.SDWWLENU,DISP=SHR                   
    //DWWMSG   DD SYSOUT=*                                    
    //DWWPRINT DD SYSOUT=*                                    
    //* CICSVR RECOVERY CONTROL DATA SET NAMES                  
    //DWWCON1  DD DSN=DWW.DWWCON1,DISP=SHR                     
    //DWWCON2  DD DSN=DWW.DWWCON2,DISP=SHR                     
    //DWWCON3  DD DSN=DWW.DWWCON3,DISP=SHR                     
    //DWWIN    DD *                                             
      LOGOFLOGS SCAN NAME(LOGOFLOG.J01,LOGOFLOG.J02)
                                              
  • Start the CICS VR panel interface, and from the CICS VR main menu select option 3, List of registered log of logs. You then can dynamically call a log of logs scan that scans:
    • all registered log of logs
    • only selected log of logs
    • only listed log of logs

      See the CICS VR User's Guide for more information.

After you verify that all log of logs that contain update activity for the VSAM spheres have been scanned, you can then tell CICS VR to bypass the automatic log of logs scan that occurs when creating a recovery job through the CICS VR panel interface. You can bypass the automatic log of logs scan by performing the following steps:
  • From the CICS VR VSAM sphere list, select the Tools menu.
  • Select option 6, Set scan option, from the Tools menu.
  • Select option 2, No scan is needed, from the CICS VR Set scan option secondary window and press enter.
  • Then, continue to create your recovery job.
Figure 2. Set scan option secondary window.
                             CICSVR scan option                              
                                                                             
 Specify if CICSVR must scan the registered log of logs before the         
 recovery job is constructed.  Only select option 2 if you are sure that     
 CICSVR already has all of the information necessary to construct a          
 recovery job for the previously selected VSAM spheres.                      
                                                                             
   Specify if CICSVR                                                         
   must scan the log                                                       
   of logs  . . . . . . 2   1.  Perform LOGOFLOGS SCAN                       
                            2.  No scan is needed                            
                                                                             
                                                                             
 Command ===> ____________________________________________________________
  F1=Help    F12=Cancel                                                      
Note: CICS VR resets the scan option to 1, Perform LOGOFLOGS SCAN, after you create or cancel the recovery job, then return to the VSAM sphere list.