Previous Topic

Next Topic

Book Contents

Book Index

Cleaning the Active Jobs File

Normally, the Active Jobs file is cleaned (meaning, unneeded job entries are deleted) once a day by the New Day procedure. By default, all jobs with status ENDOK that are not being held are deleted during this cleanup. The defaults can be overridden by using SELECT/IGNORE statements (that select or ignore jobs for deletion).

The CTMCAJF utility can be run as often as necessary to clean the Active Jobs file.

Unlike the cleanup performed by the New Day procedure, the cleanup function of the CTMCAJF utility does not actually delete the unneeded jobs. Instead, it marks the job entries as deleted so that they are ignored by Control-M and so that, by default, the job entries do not appear in the Status screen. (To display these logically deleted jobs in the Active Environment Status screen, specify Y (Yes) in the DELETED field in the Show Screen Filter window (3.SHOW) of the Status screen.)

Logically deleted jobs are physically deleted the next time the New Day procedure or COMPRESS function is run.

When the CTMCAJF utility is run to clean up the Active Jobs file, it applies the cleanup criteria of the New Day procedure in addition to the cleanup criteria specified with the utility. If the cleanup criteria of the New Day procedure are not desired when running the CTMCAJF utility, they are overridden by SELECT/IGNORE statements specified in the utility.

Parent Topic

CTMCAJF – Maintain the Active Jobs File