Is there is an API to get start/end time for specific job?

Post Reply
User avatar
barry1999
Nouveau
Nouveau
Posts: 1
Joined: 01 Oct 2009 12:00

Is there is an API to get start/end time for specific job?

Post by barry1999 » 01 Oct 2009 9:02

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

User avatar
rahulsehgal
Nouveau
Nouveau
Posts: 148
Joined: 19 Mar 2009 12:00
Location: Delhi
Contact:

Post by rahulsehgal » 01 Oct 2009 12:30

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

Post Reply