The control file can have no more than 132 characters on a line.
Control statements can include as many keywords and keyword values
as line length allows, but only one action. The action delimits the
end of the line; any data that follows the action will be considered
a comment. To save processing time, begin with control statements
most likely to produce spool file matches. Blank lines are ignored,
and lines beginning with an asterisk (*) are treated as comments.
A
sample control file follows. Use the following sample control file
as a guide in preparing a control file for your installation.
Figure 1. Sample SFPURGER CONTROL
File. The statement numbers that appear in bold type in this figure
are for your reference only; they are not part of the file itself.
***********************************************************************
* *
* Sample SFPURGER CONTROL File *
* *
* *
***********************************************************************
Statement No.
* Ignore any spool files found in the NSS queue (privilege class E)
QUEUE NSS ACTION IGNORE 1
* Purge any spool files found in class 0
CLASS 0 ACTION PURGE 2
* Purge listing output with 1000 or more records
RECORDS 1000 FTYPE LISTING ACTION PURGE 3
* Keep spool files owned by maintenance user IDs
USERID MAINT* ACTION IGNORE 4
* Ignore dump files that have an origin of SYSTEM. Purge any other
* dump files after 4 weeks. Ignore the rest
TYPE DMP ORIGINID SYSTEM ACTION IGNORE 5
TYPE DMP DAYS 29 ACTION PURGE 6
TYPE DMP ACTION IGNORE 7
* Purge files awaiting transmission after 2 weeks. Ignore the rest
QUEUE RDR USERID RSCS DAYS 15 ACTION PURGE 8
QUEUE RDR USERID RSCS ACTION IGNORE 9
* Purge files received through RSCS after 4 weeks. Ignore the rest
QUEUE RDR ORIGINID RSCS DAYS 29 ACTION PURGE 10
QUEUE RDR ORIGINID RSCS ACTION IGNORE 11
* Change console logs to system hold after 1 week
TYPE CON DAYS 8 ACTION SYSHOLD 12
* Invoke SFPX01 to handle reader files that MAINT sent to DEMO1
QUEUE RDR ORIGINID MAINT USERID DEMO1 ACTION SFPX01 13
* Purge any reader files in USERHOLD after 4 weeks. Ignore the rest
QUEUE RDR DAYS 28 HOLD USER ACTION PURGE 14
QUEUE RDR ACTION IGNORE 15
* Purge any other print files after 2 weeks. Change the rest
* to USERHOLD
QUEUE PRT DAYS 15 ACTION PURGE 16
QUEUE PRT ACTION USERHOLD 17
* Purge any other punch files after 1 week. Ignore the rest
QUEUE PUN DAYS 8 ACTION PURGE 18
QUEUE PUN ACTION IGNORE 19