How can we still retrieve data from archived syslog files if we decommission the existing SMR subsystem and or remove this specific LPAR and the files all have different names than the current production SMR?

Document ID : KB000044513
Last Modified Date : 14/02/2018
Show Technical Document Details

Problem:

How can we still retrieve data from archived syslog files if we decommission the existing SMR subsystem and or remove this specific LPAR and the files all have different names than the current production SMR?

Solution:

Using the proc CAPLSCAN you can point to a specific high level qualifier by updating the ADSN= parm with your archive dataset name from the system you have decommissioned. Your searches will go to those cataloged files and retrieve the required data.

 

Sample setup:

 PPOPTION(PL34OPTN)          ---> remember to rename this to something unique or use a special PPOPTION dataset 

MROPTN  ADAYS=ALL,                        
              ADSN=SYSLOG.ARCHIVE.DAILY.SMR79000,

 CAIPROC(CAPLSCAN)

//SMRSCAN EXEC PGM=PLRSCAN,REGION=&REG          
//STEPLIB  DD  DSN=&STEPLIB,DISP=SHR            
//OPTIONS  DD  DSN=&OPTNLIBS(&OPTNMEMS),DISP=SHR             ---> points to your new PL34OPTN file
//SMRPRINT DD  DUMMY            /* OPTIONAL */  
//SMROUT01 DD  SYSOUT=*              

 

Additional Information:

This utility is fully documented in the CA SMR USER GUIDE section 6 Requesting Batch Retrievals