The following is a sample parameters file that you can edit, and then use when running the MVSSPLHK spool housekeeping process.
//SETUP01 JOB 'SPHK',MSGCLASS=A,CLASS=A,MSGLEVEL=(1,1) //*-------------------------------------------------------- //DEL EXEC PGM=IEFBR14 //DEL1 DD DSN=TEST.CONFIG,SPACE=(TRK,1),DISP=(MOD,DELETE) //*========================================================== //* CONFIGURATION FILE //*========================================================== //DEFCFG EXEC PGM=IEBGENER //SYSPRINT DD SYSOUT=* //SYSIN DD DUMMY //SYSUT1 DD * * -------------------------------------------------------- * SPOOL HOUSEKEEPING CONFIGURATION FILE * -------------------------------------------------------- * GENERAL MAXIMUM RETAIN PERIOD MAX-RETAIN-PERIOD 003 * -------------------------------------------------------- * RETAIN PERIODS FOR SPECIFIC JOB NAMES * -------------------------------------------------------- JOB_KEEP XXX* 1 * -------------------------------------------------------- * PREVENT DATA SETS BEING REMOVED FROM ACTIVE JOB * -------------------------------------------------------- CLEAN-DS-FROM-ACTIVE N * -------------------------------------------------------- * ARCHIVE TYPE REQUIRED * NONE * DATA ( SPOOL DATA FILES ONLY ) * FULL (CASSPOOL, MVSSPOOL AND CATALOG SO SPOOL * ARCHIVES CAN BE VIEWED IN ES. ALL DATASETS, * HELD, OUTPUT and PRINTED) * FULL,ALL (same as FULL) * FULL,HELD (HELD DATASETS ONLY) * -------------------------------------------------------- ARCHIVE TYPE FULL,ALL * -------------------------------------------------------- * ARCHIVE LOCATION - use the environment variable * -------------------------------------------------------- * ARCHIVE LOC D:\estest\sphktest\archdir\ * -------------------------------------------------------- * -------------------------------------------------------- * ARCHIVE LOCATION - use region start-up file's "Use spool archive" property * -------------------------------------------------------- * ARCHIVE LOC C:\SpoolArchive * or LOC sql://myinst/JES/?folder=/JCLDEMO/SpoolArchive;type=folder * -------------------------------------------------------- * CLASS SPECIFIC OVERRIDES (PREVIOUSLY IN SPOOLHK.CPY) * ONLY INCLUDE THOSE THAT DIFFER FROM THE MAX-RETAIN-PERIOD * OR WHERE ARCHIVING IS NOT REQUIRED FOR A CLASS CLASS A 3 Y CLASS B 3 Y CLASS C 3 Y CLASS D 999 N CLASS E 999 N CLASS F 999 N CLASS G 999 N CLASS H 999 N CLASS I 999 N CLASS J 999 N CLASS K 999 N CLASS L 999 N CLASS M 999 N CLASS N 999 N CLASS O 999 N CLASS P 999 N CLASS Q 999 N CLASS R 999 N CLASS S 999 N CLASS T 999 N CLASS U 999 N CLASS V 999 N CLASS W 999 N CLASS X 999 N CLASS Y 999 N CLASS Z 4 N CLASS 0 5 N CLASS 1 999 N CLASS 2 999 N CLASS 3 999 N CLASS 4 999 N CLASS 5 999 N CLASS 6 999 N CLASS 7 0 N CLASS 8 999 N CLASS 9 999 N *--------------------------------------------------------- * SUPPRESS CREATION OF PROFILE FILES FOR ARCHIVED DATASETS *--------------------------------------------------------- MF_SPOOL_HK_WRITE_PROFILES N * -------------------------------------------------------- //SYSUT2 DD DSN=TEST.CONFIG,SPACE=(TRK,1),UNIT=SYSDA, // DCB=(LRECL=80,RECFM=LSEQ,DSORG=PS),DISP=(NEW,CATLG) //*=========================================================== //* ARCHIVE XREF FILE //*=========================================================== //DEFXREF EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=* //SYSIN DD * DELETE 'TEST.ARCHIVE.XREF' IF MAXCC = 8 THEN SET MAXCC=0 DEFINE CLUSTER(NAME(TEST.ARCHIVE.XREF) - KEYS(60 0) - RECSZ(400 400) - INDEXED - SHAREOPTIONS(2 3) - CYL(40 10)) /* //*=========================================================== //