Delete Enrolment Statistics Snapshots - STAJ0010

Subsystem

Statistics

Purpose

To delete enrolment statistics snapshots which are no longer required

Normally Run By

 As a batch job, by the statistics specialist, as required or as a standing request

Anticipated Frequency

As often as required to manage data storage

Parameter Sample

Related/Dependent Jobs

none

 

Run Details

Enrolment statistics Snapshots are created when the process STAJ0100 is run. This may be as often as nightly. Each snapshot requires the storage of large volumes of data. It is likely that only a small proportion of the snapshots created need to be saved for future reference.

The statistics specialist can determine which snapshots should be saved, 'flagging' these snapshot records by deselecting the Delete indicator for each, using STAF1240.

When this job is run, only snapshots with their Delete indicator still set will be deleted.

 

 

Job Parameters

The single parameter is used to specify the number of snapshots which should be retained. The job retains the most recent snapshots until the specified number is reached. Once the specified number is reached, all of the remaining snapshots with their Delete indicator set are deleted, while remaining snapshots with their Delete indicator deselected are added to the set of retained snapshots.

Output

 There is no output from this job.