Page 1 of 1
Order time of a job
Posted: 16 Dec 2011 6:01
by hraj1984
Hi,
Please let me know how can I find the order time of the job using the command line.
Thanks,
Posted: 20 Dec 2011 8:43
by nicolas_mulot
hraj1984,
If you want an history, for example on a month, use the ctmlog utility, then filter the output by findstr or grep depending on the platform (MS/Win or Unix/Linux)
Example, to find and history of order time of job PFMJDE1010 on December 2011, use the following on Windows:
ctmlog list 20111201 0001 20111231 2359 | findstr "PFMJDE1010" | findstr " 5065 5407"
5065 is the log message for ordered jobs, 5407 is the log message for created jobs.
Cheers,
Nicolas Mulot
Posted: 09 Jan 2012 3:35
by hraj1984
Hi Nicolas Mulot,
Thanks for your reply, let me explain what i am trying to get, if a job fails i am going to automate the rerun the job, but for dynamic jobs i need to check if that was ordered the same day or ealier. Hence i want to find the order time of the job.
Thanks.