Hi All,
I am new to Ctrl-M and wondering if there is an API which can be used to call by Java to get the start_time,end_time,status for the specific jobs (completed or still running) at specifc day.
Any directions would be appreciated.
Thanks very much.
Regards
Barry
Is there is an API to get start/end time for specific job?
- rahulsehgal
- Nouveau
- Posts: 148
- Joined: 19 Mar 2009 12:00
- Location: Delhi
- Contact:
Hi berry,
You can embed SQL Script in Java program to find START_TIME, END_TIME, and STATUS of the job:-
select START_TIME, END_TIME, STATUS from JOB;
please find more information on this table in Control-M database poster:-
https://www.scheduler-usage.com/forum/document/files ... Poster.pdf
You can also use ctmpsm command for finding status of the jobs in Control-M.
You can find information on this command in Control-M Server Book.
Regards,
Rahul Sehgal
You can embed SQL Script in Java program to find START_TIME, END_TIME, and STATUS of the job:-
select START_TIME, END_TIME, STATUS from JOB;
please find more information on this table in Control-M database poster:-
https://www.scheduler-usage.com/forum/document/files ... Poster.pdf
You can also use ctmpsm command for finding status of the jobs in Control-M.
You can find information on this command in Control-M Server Book.
Regards,
Rahul Sehgal