JBSJ9120 - Delete Old Output Files

Purpose

The process is used to perform a bulk delete of Job Output Files which, by virtue of their age, are deemed to be no longer required. Refer also to the Subsystem Specialist section.

SubSystem

Job Control & Scheduling

Normally Run By Job Control Specialist
Anticipated Frequency Scheduled to run automatically at regular intervals
Structure None  

  

JBSJ9110 is used to delete obsolete job requests

Update Process

The process physically deletes job output files as follows:

  • Files in the $TMP directory are deleted when they are more than 3 days old
  • Files in the $OUTPUT directory are deleted when they are more than 21 days old
  • Files in the $CONTROL directory are deleted when they are more than 14 days old

The $TMP, $OUTPUT and $CONTROL are environment variables specified in s_job_control. Refer to Technical Documentation for further information regarding environment variables.

Alteration to the age of the files being deleted requires the System Administrator to alter the Unix Shell Script.

Run Details

This job is typically run:

  • As a standing request in an 'off-peak' run widow
  • As frequently as the institution's data management regime requires, although it is recommended that the job be set to run nightly

 

There are no parameters associated with this job.

Rules/Notes:

No reports are produced. A file listing all files deleted by this job is written to the 'CONTROL' directory (refer to the System Administrator) and is appended to each time the job runs (see file sample)

 

Last Modified on 15 January, 2004