The issue:
Is there a way to archive spool files under Spool Housekeeping so that the job names are included in the names of the archived files?
The Resolution:
For archived spool files the archived files by default do not include the job names. It may be desirable to include the job names as part of the names of the archived files.
One of the files used in Spool Housekeeping is named “spoolhk.cpy”. In that file, under the ws-class-settings structure, are 2 fields for each output class. These fields are:
- retention periods for the spooled output
- a flag indicating whether spool files in the class should be archived on deletion
These are passed to a file named “mvsp0027”.
The archive flag is normally set to “Y” for archiving, and “N” for no archiving. Setting that to “J” will add the job name to the beginning of the archived file’s name.
#EnterpriseDeveloper
#MFDS