HISTORY examples
All examples in this section are found in the JCL library installed with FDRPAS. The member names are PA31025x.
Example - Display history for a set of volumes
FDRPAS displays swap history records for all volumes beginning with PROD or DB.
//HISTORY EXEC PGM=FDRPAS,REGION=0M//STEPLIB DD DISP=SHR,DSN=fdrpas.loadlib//SYSPRINT DD SYSOUT=*//SYSUDUMP DD SYSOUT=*//SYSIN DD * HISTORY TYPE=SWAP MOUNT VOL=PROD* MOUNT VOL=DB*/*
Example - Display and purge history for all volumes
FDRPAS displays swap history records for all volumes that FDRPAS has swapped. It also purges history records that are older than 30 days.
//HISTORY EXEC PGM=FDRPAS,REGION=0M//STEPLIB DD DISP=SHR,DSN=fdrpas.loadlib//SYSPRINT DD SYSOUT=*//SYSUDUMP DD SYSOUT=*//SYSIN DD * HISTORY TYPE=SWAP,MAXSWAPHISTORYDAYS=30 MOUNT VOL=*/*
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*