Page 1 of 1

DS Job list along with its last rundate

Posted: Wed Dec 08, 2010 6:28 am
by paranoid
Hi,

I would like to know the command for getting the information of all DSJOBS in a particular project along with its last run date.

Currently i am getting only the list of all jobs in a project using the following command:

dsjob -ljobs MYPROJECT

Thanks in advance
Sue

Re: DS Job list along with its last rundate

Posted: Wed Dec 08, 2010 6:54 am
by samyamkrishna
search for last run date. You will find lot of articles.

start with dsjob -jobinfo and pass the list of jobs to it.

Posted: Wed Dec 08, 2010 7:47 am
by paranoid
Hi,

Can you please send me the command for that?

Thanks again
Sue

Posted: Wed Dec 08, 2010 7:59 am
by chulett
"dsjob -jobinfo" is (basically) the command. In a loop, call it for each of the jobs that you pulled from the project using "-ljobs". The output of the jobinfo call will include the last run date and status, from what I recall.