DS Job list along with its last rundate

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
paranoid
Premium Member
Premium Member
Posts: 185
Joined: Tue May 29, 2007 5:50 am

DS Job list along with its last rundate

Post 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
samyamkrishna
Premium Member
Premium Member
Posts: 258
Joined: Tue Jul 04, 2006 10:35 pm
Location: Toronto

Re: DS Job list along with its last rundate

Post 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.
paranoid
Premium Member
Premium Member
Posts: 185
Joined: Tue May 29, 2007 5:50 am

Post by paranoid »

Hi,

Can you please send me the command for that?

Thanks again
Sue
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post 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.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply