The most important programs in New Day processing are CTMILZ and CTMILU.
Programs CTMILZ and CTMILU both execute other programs that implement New Day processing. The programs called by CTMILZ and CTMILU are listed in the table below. Both CTMILZ and CTMILU read the member referenced by DD statement DAPROG and activate the programs listed in the member.
The following table describes the format for each record in the program list:
Table 100 Column Format for Program List Records
Column |
Description |
---|---|
01–08 |
Program name |
10–11 |
Maximum return code allowable in the preceding program If a higher return code is encountered in the preceding program, the current program is not executed. |
13–72 |
Program arguments |
The following table shows the programs called by program CTMILZ (the New Day procedure) and by program CTMILU (User Daily jobs).
Table 101 Programs Called by New Day Procedure and User Daily Jobs
Program |
Purpose |
---|---|
CTMCHK |
(called by CTMILZ and by CTMILU) Checks the current date and its relation to the Date Control record (described in the topic Use of the Date Control Record by User Daily Jobs. When called by CTMILZ, the program always prompts the operator to verify that Control‑M is activated on the correct date. When called by CTMILU, the program prompts the operator to verify that Control‑M is activated on the correct date only if the value CONFIRM is specified as the program argument (anywhere within columns 13 through 72). |
CTMFRM |
(called by CTMILZ) Reformats the Control‑M Active Jobs file, Control-M History Jobs file, and the IOA Conditions file: Control‑M Active Jobs File By default (that is, if no SELECT or IGNORE statements are specified), the following jobs are erased from the Active Jobs file and the file is compressed:
Control-M History Jobs File Compresses the Control‑M History Jobs file (if activated) by removing jobs whose retention criteria (RETENTION – # OF DAYS or GENERATIONS TO KEEP) have been exceeded. IOA Conditions File This program erases all prerequisite conditions whose data is the same as the new Control‑M working date (that is, this program erases all prerequisite conditions of the coming execution date). Warnings:
At start of execution, this program creates a backup copy of the Active Jobs file (BKP file) for recovery purposes. |
CTMJOB |
(called by CTMILZ and by CTMILU) Places job orders in the Active Jobs file according to the date in the Date Control record and the data in the tables supplied. |
CTMPDA |
(called by CTMILZ and by CTMILU) Marks the end of the Daily run. |
If History Jobs file processing is enabled, program CTMFRM is run again using program CTMILZ, this time against the History Jobs file, as shown in the above table.
If Control-M/Restart is installed or the History feature is activated, steps DELARCH and CLRHIST are run after the conclusion of program CTMILZ, as shown in the following table:
Table 102 Additional Steps Executed by New Day Procedure if Control-M/Restart Is Installed or the History feature is activated
Program |
Purpose |
---|---|
CTMDAS |
Deletes archived SYSDATA (CDAM files) of jobs that were deleted from the Active Jobs file by program CTMFRM according to the following logic:
|
CTMHSC |
Deletes expired jobs from the History Jobs file. |
The following table shows the additional step that is run to copy the Control-M Journaling file:
Table 103 Additional Step Executed by New Day Procedure if the Control-M Journaling feature Is Activated
Program |
Purpose |
---|---|
IKJEFT01 |
Copies the Control-M Journaling file to a backup file (via CLIST CTMCJNL). |
Parent Topic |