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?
Release: 3.4
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=®
//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=*
This utility is fully documented in the SMR USER GUIDE section 6 Requesting Batch Retrievals