Two important programs in New Day Processing are CTDILY and CTDILU:
Programs CTDILY and CTDILU both execute other programs that implement New Day processing. However, program CTDILU (used by User Daily jobs) has less authorization (that is, is not APF‑authorized) and calls fewer programs than program CTDILY.
Both CTDILY and CTDILU read the member referenced by DD statement DAPROG and activate the programs listed in the member.
The following is the format for each record in the program:
If a higher return code is encountered in the preceding program, the current program is not executed.
The following table lists the programs called by the program CTDILY (the New Day procedure) and by program CTDILU (User Daily jobs):
Table 129 Programs called by CTDILY and CTDILU
Program |
Called By |
Purpose |
|
---|---|---|---|
CTDILY |
CTDILU |
||
CTDCHK |
Yes |
Yes |
Checks the current date and its relation to the General Date Control record. The program may communicate with the computer operator to verify that Control‑D is activated on the correct date. |
CTDFRM |
Yes |
|
Program reformats the Active Missions file. Missions that have already executed and ended OK, missions whose MAXWAIT parameter has been exceeded, and emergency missions that are not needed are erased from the file and the file is compressed. If this program abends, it recovers automatically after startup, using an automatically generated backup copy. For more information, see Parameters of the New Day Procedure. |
CTDCATF |
Yes |
|
Reformats the Active Transfer file. Packets that were transferred successfully, packets whose MAXWAIT parameter has been exceeded, and the corresponding files for these packets are erased from the Active Transfer file. The file is then compressed. If this program abends, it recovers automatically after startup, using an automatically generated backup copy. |
CTDPRQ |
Yes |
Yes |
Places printing missions in the Active Missions file according to the date in the General Date Control record and the scheduling criteria in the printing mission definitions. The program receives parameters through DD statement DAPRTLST. |
CTDBRQ |
Yes |
Yes |
Places backup and migration missions in the Active Missions file according to the date in the General Date Control record and the scheduling criteria in the backup and migration mission definitions. The program receives parameters through DD statement DABKPLST. |
CTDSRQ |
Yes |
Yes |
Places restore missions in the Active Missions file according to the date in the General Date Control record and the scheduling criteria in the restore mission definitions. The program receives parameters through DD statement DARSTLST. |
CTDGRQ |
Yes |
|
Places generic decollating missions in the Active Missions file according to the date in the General Date Control record and the scheduling criteria in the generic decollating mission definitions. The program receives parameters through DD statement DAGENLST. |
CTDRRQ |
Yes |
Yes |
Places non‑generic decollating missions in the Active Missions file according to the date in the General Date Control record and the scheduling criteria in the report decollating mission definitions. The program receives parameters through DD statement DAREPLST. |
CTM34F |
Yes |
|
For internal mode: Finish the first stage of the NEWDAY process and activate the CTDNDAY started task in internal mode. Process the following programs from the list under the CTDNDAY started task. For external mode: The CTDNDAY started task executes operator commands (system, JES, VTAM, and so on) from a list (ddname DA34F). The default command, which starts the Control-D monitor, is S CONTROLD, NDAYMODE=EXT |
CTMPDA |
Yes |
Yes |
Records the end of the Daily run. |
Parent Topic |