Page 1 of 1

multiinstance job log

Posted: Fri Aug 18, 2006 9:19 pm
by kkreddy
dear Gurus
i have a question where the datastage job log file is stored .
i have s secnario where i am running the multiple jobsequence instance like


jobseq A is a multiinstance job with
jobb jobc jobd as sub jobs

before running joba i have to check any multiinstaance job running for joba and have to check the status of jobb in that sequence and if job b is finished i dont want to run the jobB again for the nextinstance when any of the instance is running ..

how to get the joblog for different instance and sub job status
thanks in advance
KK

Re: multiinstance job jog

Posted: Fri Aug 18, 2006 9:46 pm
by chulett
kkreddy wrote:how to get the joblog for different instance and sub job status
Same way as you would for a 'normal' job, you just add the invocation id to the jobname with a dot between the two. So you would use jobseq.jobb as the jobname when checking status or pulling the log information.

Posted: Fri Aug 18, 2006 11:32 pm
by kkreddy
i want to read the jobstatus in a routine i am not sure of the invocation id
i want to check the log file of the job with any invocation id running
how can i get it in a routine ??
thanks for ur replies

Posted: Sat Aug 19, 2006 2:04 am
by ray.wurlod
Read the help on DSGetJobInfo() function. One of the things you can return is a list of invocation IDs.