Hi,
If the New Day process hung, what needs to be checked and how to solve the issue.
Thanks,
Gokilan.
New Day process delayed
- philmalmaison
- Nouveau
- Posts: 1148
- Joined: 08 Jun 2007 12:00
- Location: Ile de France
Re: New Day process delayed
Hello,
To understand the next day processes, you can make a ctmlog list
C:\WINDOWS\system32>ctmlog
1. LIST
2. LISTORD
3. LISTJOB
4. LISTSS
5. LISTMSG
6. DELETE
7. LISTJOBNAME
0. EXIT
See documentation about Control-M Server
example of a good new day process:
Date: <date> Page: 1
CTMLOG REPORT from <date> <hour> to <date> <hour>
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|Date|Time|Jobname |Order|SS|MID |Message |
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|<date>|<hour>|Système |00000|CD|5831|Pre new day ordered JOB:<nombre unique du job>; ODATE <date> |
|<date>|<hour>|Système |00000|CD|5830|Pre new day ordering for JOB entity <uniq job number> |
|<date>|<hour>|Système |00000|TR|5524|START OF TRACKING ALL ACTIVE JOBS |
|<date>|<hour>|SYSTEM |00000|CD|5040|NEW DAY PROCEDURE STARTED |
|<date>|<hour>|SYSTEM |00000|CD|5011|CONTROL-M LOG CLEANUP STARTED |
|<date>|<hour>|SYSTEM |00000|CD|5006|CONTROL-M LOG CLEANUP ENDED. DAYS=<days number> |
|<date>|<hour>|SYSTEM |00000|CD|5012|CONTROL-M JOBINF CLEANUP STARTED |
|<date>|<hour>|SYSTEM |00000|CD|5019|STATISTICS INFORMATION CLEANUP STARTED. |
|<date>|<hour>|SYSTEM |00000|CD|5034|STATISTICS INFORMATION CLEANUP ENDED. MODE=0. LEAVE=<days number> |
|<date>|<hour>|SYSTEM |00000|CD|5013|CONTROL-M JOBINF CLEANUP ENDED. DAYS=<days number> |
|<date>|<hour>|SYSTEM |00000|CD|5049|ACTIVE JOBS FILE CLEANUP STARTED |
|<date>|<hour>|Système |00000|CD|5014|CONTROL-M AGENTS CLEANUP STARTED |
|<date>|<hour>|Système |00000|CD|5015|CONTROL-M AGENTS CLEANUP ENDED. DAYS=<days number> |
|<date>|<hour>|SYSTEM |00000|CD|5050|ACTIVE JOBS FILE CLEANUP ENDED SUCCESSFULLY |
|<date>|<hour>|SYSTEM |00000|CD|5061|USER DAILY SYSTEM STARTED |
|<date>|<hour>|<my job> |<orderid>|CD|5216|REMOVED FROM ACTIVE JOB FILE BY GENERAL DAILY |
|<date>|<hour>|<my job> |<orderid>|CD|5065|ORDERED JOB:<uniq job number>; DAILY SYSTEM, ODATE 2017<date> |
|<date>|<hour>|SYSTEM |00000|CD|5062|USER DAILY SYSTEM ENDED |
|<date>|<hour>|SYSTEM |00000|CD|5041|NEW DAY PROCEDURE ENDED |
|<date>|<hour>|SYSTEM |00000|CD|5030|ACTIVE JOBS FILE DOWNLOAD TO CONTROL-M/EM STARTED |
|<date>|<hour>|SYSTEM |00000|CD|5030|ACTIVE JOBS FILE DOWNLOAD TO CONTROL-M/EM ENDED |
|<date>|<hour>|Système |00000|TR|5524|START OF TRACKING ALL ACTIVE JOBS
1) (from the V8), 1 hour before Control-M Server is doing a pre-check about what to do at the right time for your AJF cleanup
2) the Control-M Server make the cleanup of your Control-M logs
CD|5011|CONTROL-M LOG CLEANUP STARTED
CD|5006|CONTROL-M LOG CLEANUP ENDED. DAYS=<days number>
3) the Control-M Server make the cleanup about OUTPUT jobs information's
CD|5012|CONTROL-M JOBINF CLEANUP STARTED
CD|5013|CONTROL-M JOBINF CLEANUP ENDED. DAYS=<days number>
4) Control-M Server make the cleanup from the statistics of the jobs
CD|5019|STATISTICS INFORMATION CLEANUP STARTED.
CD|5034|STATISTICS INFORMATION CLEANUP ENDED. MODE=0. LEAVE=<days number>
5) Control-M Server start the cleanup from the Active Jobs File
CD|5049|ACTIVE JOBS FILE CLEANUP STARTED
CD|5050|ACTIVE JOBS FILE CLEANUP ENDED SUCCESSFULLY
6) Control-M Server make the cleanup from the agents OUTPUT
CD|5014|CONTROL-M AGENTS CLEANUP STARTED
CD|5050|ACTIVE JOBS FILE CLEANUP ENDED SUCCESSFULLY
7) Control-M Server start the new day with all necessary scheduled jobs
CD|5061|USER DAILY SYSTEM STARTED
CD|5041|NEW DAY PROCEDURE ENDED
Control-M Server make the download from the AJF to the Control-M EM
CD|5030|ACTIVE JOBS FILE DOWNLOAD TO CONTROL-M/EM STARTED
CD|5030|ACTIVE JOBS FILE DOWNLOAD TO CONTROL-M/EM ENDED
For all Jobs that are not schedule with the userdaily SYSTEM, you must have a look to the OUTPUT from the job that make the concerned ctmudly
All processes are finished by ENDED or ENDED SUCCESSFULLY.
Hope i can be understood
Regards
Philippe Valette
SCHEDCONSULT
To understand the next day processes, you can make a ctmlog list
C:\WINDOWS\system32>ctmlog
1. LIST
2. LISTORD
3. LISTJOB
4. LISTSS
5. LISTMSG
6. DELETE
7. LISTJOBNAME
0. EXIT
See documentation about Control-M Server
example of a good new day process:
Date: <date> Page: 1
CTMLOG REPORT from <date> <hour> to <date> <hour>
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|Date|Time|Jobname |Order|SS|MID |Message |
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|<date>|<hour>|Système |00000|CD|5831|Pre new day ordered JOB:<nombre unique du job>; ODATE <date> |
|<date>|<hour>|Système |00000|CD|5830|Pre new day ordering for JOB entity <uniq job number> |
|<date>|<hour>|Système |00000|TR|5524|START OF TRACKING ALL ACTIVE JOBS |
|<date>|<hour>|SYSTEM |00000|CD|5040|NEW DAY PROCEDURE STARTED |
|<date>|<hour>|SYSTEM |00000|CD|5011|CONTROL-M LOG CLEANUP STARTED |
|<date>|<hour>|SYSTEM |00000|CD|5006|CONTROL-M LOG CLEANUP ENDED. DAYS=<days number> |
|<date>|<hour>|SYSTEM |00000|CD|5012|CONTROL-M JOBINF CLEANUP STARTED |
|<date>|<hour>|SYSTEM |00000|CD|5019|STATISTICS INFORMATION CLEANUP STARTED. |
|<date>|<hour>|SYSTEM |00000|CD|5034|STATISTICS INFORMATION CLEANUP ENDED. MODE=0. LEAVE=<days number> |
|<date>|<hour>|SYSTEM |00000|CD|5013|CONTROL-M JOBINF CLEANUP ENDED. DAYS=<days number> |
|<date>|<hour>|SYSTEM |00000|CD|5049|ACTIVE JOBS FILE CLEANUP STARTED |
|<date>|<hour>|Système |00000|CD|5014|CONTROL-M AGENTS CLEANUP STARTED |
|<date>|<hour>|Système |00000|CD|5015|CONTROL-M AGENTS CLEANUP ENDED. DAYS=<days number> |
|<date>|<hour>|SYSTEM |00000|CD|5050|ACTIVE JOBS FILE CLEANUP ENDED SUCCESSFULLY |
|<date>|<hour>|SYSTEM |00000|CD|5061|USER DAILY SYSTEM STARTED |
|<date>|<hour>|<my job> |<orderid>|CD|5216|REMOVED FROM ACTIVE JOB FILE BY GENERAL DAILY |
|<date>|<hour>|<my job> |<orderid>|CD|5065|ORDERED JOB:<uniq job number>; DAILY SYSTEM, ODATE 2017<date> |
|<date>|<hour>|SYSTEM |00000|CD|5062|USER DAILY SYSTEM ENDED |
|<date>|<hour>|SYSTEM |00000|CD|5041|NEW DAY PROCEDURE ENDED |
|<date>|<hour>|SYSTEM |00000|CD|5030|ACTIVE JOBS FILE DOWNLOAD TO CONTROL-M/EM STARTED |
|<date>|<hour>|SYSTEM |00000|CD|5030|ACTIVE JOBS FILE DOWNLOAD TO CONTROL-M/EM ENDED |
|<date>|<hour>|Système |00000|TR|5524|START OF TRACKING ALL ACTIVE JOBS
1) (from the V8), 1 hour before Control-M Server is doing a pre-check about what to do at the right time for your AJF cleanup
2) the Control-M Server make the cleanup of your Control-M logs
CD|5011|CONTROL-M LOG CLEANUP STARTED
CD|5006|CONTROL-M LOG CLEANUP ENDED. DAYS=<days number>
3) the Control-M Server make the cleanup about OUTPUT jobs information's
CD|5012|CONTROL-M JOBINF CLEANUP STARTED
CD|5013|CONTROL-M JOBINF CLEANUP ENDED. DAYS=<days number>
4) Control-M Server make the cleanup from the statistics of the jobs
CD|5019|STATISTICS INFORMATION CLEANUP STARTED.
CD|5034|STATISTICS INFORMATION CLEANUP ENDED. MODE=0. LEAVE=<days number>
5) Control-M Server start the cleanup from the Active Jobs File
CD|5049|ACTIVE JOBS FILE CLEANUP STARTED
CD|5050|ACTIVE JOBS FILE CLEANUP ENDED SUCCESSFULLY
6) Control-M Server make the cleanup from the agents OUTPUT
CD|5014|CONTROL-M AGENTS CLEANUP STARTED
CD|5050|ACTIVE JOBS FILE CLEANUP ENDED SUCCESSFULLY
7) Control-M Server start the new day with all necessary scheduled jobs
CD|5061|USER DAILY SYSTEM STARTED
CD|5041|NEW DAY PROCEDURE ENDED
Control-M Server make the download from the AJF to the Control-M EM
CD|5030|ACTIVE JOBS FILE DOWNLOAD TO CONTROL-M/EM STARTED
CD|5030|ACTIVE JOBS FILE DOWNLOAD TO CONTROL-M/EM ENDED
For all Jobs that are not schedule with the userdaily SYSTEM, you must have a look to the OUTPUT from the job that make the concerned ctmudly
All processes are finished by ENDED or ENDED SUCCESSFULLY.
Hope i can be understood
Regards
Philippe Valette
SCHEDCONSULT
Re: New Day process delayed
Anywhere from manual talked about the Pre New Day (PRE ORDERING) feature? It looks to me that the pre-check is started "one hour before Control-M New Day Time", can it be changed?philmalmaison wrote:Hello,
1) (from the V8), 1 hour before Control-M Server is doing a pre-check about what to do at the right time for your AJF cleanup