Page 1 of 1

Posted: Wed Apr 09, 2003 9:00 am
by MAT
Hi,

I do not know of any way to see the logs for all jobs controlled by another one in Director. However, I needed to do something similar in my project and the best way I found was to do this using a routine.

Here are the steps:
1. Get the log from your controlling job ( use DSGetLogSummary() )
2. Scan the log checking for DSRunJob and get the job names associated
3. Attach to all jobs you got from the log
4. Ask for the log file ( again DSGetLogSummary() ) with your filter (warnings, errors, etc. )
5. Dump your log in a file for later viewing.

It may seems a twisted way of getting your infos but after many hours spent with Ascential support and on the forum here, it appears it is the easiest. Ascential has not yet developped a function to get informations about the jobs controlled by another one. It is considered for future releases (so they told me).

If you have any questions, I can provide you with some basic code you will need to do this.

Hope this helps

MAT

Posted: Fri Apr 11, 2003 7:36 am
by MAT
Aryan,

I'll be glad to send you what I did. Send me an email through the forum with your mail so I can send it to you.

MAT