Previous Topic

Next Topic

Book Contents

Book Index

CTMSLC – Schedule Library Cleanup Utility

The CTMSLC utility enables you to remove old job scheduling definitions from the schedule library.

A job is considered old if the date specified in the DEFINITION ACTIVE UNTIL field of the job scheduling definition and/or all job rule-based calendars have already passed.

If the relationship between the rule-based calendars and the basic scheduling criteria of the job is an AND relationship, the job is considered old when the DEFINITION ACTIVE UNTIL date has passed in at least one set of scheduling parameters (all job rule-based calendars or basic scheduling data). If the relationship between the rule-based calendars and the basic scheduling criteria of the job is an OR relationship, the job is considered old when the DEFINITION ACTIVE UNTIL date has passed in both sets of scheduling parameters.

Note: If the date specified in the DEFINITION ACTIVE UNTIL field has already passed, but the date specified in the DEFINITION ACTIVE FROM field is later than that date, the job is not considered old. Similarly, if the date specified in the SCHEDULE RBC ACTIVE UNTIL field of a schedule RBC has already passed, but the date specified in the SCHEDULE RBC ACTIVE FROM field of that RBC is later than that date, jobs containing that RBC are not considered old. The utility permits all jobs in a SMART Table to be deleted regardless of the setting of the EMPTYTBL parameter in the CTMPARM member of the IOA PARM library or the PTBLEMPT parameter in the $PROFILE member of the IOA IOAENV library.

The CTMSLC utility receives control statements, in DD statement SYSIN, with the following syntax:

CLEANUP [DSNAME=data_set_name | DDNAME=ddname] , [MEMBER=member_name] ,

[JOB=jobname] , [DATE=date] , [MODE=SIMULATION | NORMAL] ,

[SMARTEMP=KEEP | DELETE]

where

Note: Specify either DSNAME or DDNAME, but do not specify both.

Parent Topic

Control-M Utilities