Scheduler Usage
http://scheduler-usage.com/

New Day process delayed
http://scheduler-usage.com/viewtopic.php?f=8&t=4146
Page 1 of 1

Author:  Gopikkd [ 24 Jan 2017 8:16 ]
Post subject:  New Day process delayed

Hi,

If the New Day process hung, what needs to be checked and how to solve the issue.

Thanks,
Gokilan.

Author:  philmalmaison [ 13 Feb 2017 11:33 ]
Post subject:  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
8) 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

Author:  o1283c [ 22 Mar 2017 3:36 ]
Post subject:  Re: New Day process delayed

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



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?

Page 1 of 1 All times are UTC+10:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/