Beginning with V5R4M0, BRMS provides a new Expiration view on
the Add/Change/Display Spooled File List displays. You can use this
view to tell BRMS to set an expiration date on the saved spooled files.
Each entry in the list can have a unique expiration value. The default
value for existing lists or new entries added to a list is *SPLF.
Note:
The Expiration attribute
sets the expiration date of the saved spooled files on the system
and has no affect on the retention of the saved spooled file information
in BRMS history.
Additional authorities are required to change the expiration of
saved spooled files. You can change the expiration date of saved spooled
files if any of the following conditions are met, otherwise, the expiration
will remain unchanged.
You own the spooled files.
You have spool control (*SPLCTL) special authority.
You have job control (*JOBCTL) special authority, and the output
queue on which the spooled file resides is specified as OPRCTL(*YES).
You own the output queue on which the spooled file resides, and
the output queue is specified as AUTCHK(*OWNER).
You have read, add, and delete authorities to the output queue
on which the spooled file resides, and the output queue is specified
as AUTCHK(*DTAAUT).
Add Spooled File List RCHAS400
Use . . . . . . . . . : *BKU
List name . . . . . . : SAVESPOOL
Text . . . . . . . . : Sample to save spooled files
Type choices, press Enter.
Seq Expiration
0010 *SPLF
Bottom
F3=Exit F5=Refresh F11=Selection view F12=Cancel
The
following are the possible values for Expiration:
*EXPIRED
The expiration date for saved spooled files will be set so the
files are expired.
*NONE
The expiration date for saved spooled files will be set to not
expire.
*SPLF
The expiration date for saved spooled files will be left unchanged.
1-366
The expiration date for saved spooled files will be set to a
date that is the specified number of days past the date of the save.
The valid range is 1-366 days.
You can remove any expired spooled files from the system after
the save by running the Delete Expired Spooled files (DLTEXPSPLF)
command as a user exit in the control group. See Processing User Exits in a Control Group for more information.
Note:
If you specify a value in the range of 1-366 days
for the expiration of spooled files, you must delete
the expired spooled files before the next save; otherwise, the spooled
file expiration will continue to be set to a future date with each
subsequent save and consequently never expire.