Page 1 of 1

query to find failed jobs in active network ?

Posted: 21 Feb 2014 5:21
by anirudhrh
query to find failed jobs in active network ?

Re: query to find failed jobs in active network ?

Posted: 21 Feb 2014 5:50
by sunuriyal
you can do it by ctmpsm utility. Please let me know if you need more info.

Posted: 22 Feb 2014 6:53
by anirudhrh
yes i want jobs which are of particular names somthing like %abc% and also for the present odate....

Posted: 24 Feb 2014 5:06
by sunuriyal
you can use-

ctmpsm -LISTALL |grep "NOTOK" |grep "JobName"

This will output you with current ODAT as you want.
Hope this helps ..

Posted: 24 Feb 2014 5:13
by anirudhrh
one more help ... what if i want the sysouts of the faileds jobs in email ...

Posted: 25 Feb 2014 7:08
by sunuriyal
you can do this by step tab of Jobs-

On - NOTOK
Do - sysout handling ..

Posted: 25 Feb 2014 8:28
by anirudhrh
HOW ABOUT if i need jobs of specific odate?

Posted: 27 Feb 2014 7:09
by sunuriyal
Store an ouput of above commands I told in a file i.e JobsNotOk.
then

cat JobsNotOk |grep "mention odat you want"

this will output only the jobs with that specific odat you mention above.