multiinstance job log

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
kkreddy
Participant
Posts: 28
Joined: Tue May 10, 2005 6:00 am

multiinstance job log

Post 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
Last edited by kkreddy on Sat Aug 19, 2006 1:17 am, edited 1 time in total.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Re: multiinstance job jog

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

"You can never have too many knives" -- Logan Nine Fingers
kkreddy
Participant
Posts: 28
Joined: Tue May 10, 2005 6:00 am

Post 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
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Read the help on DSGetJobInfo() function. One of the things you can return is a list of invocation IDs.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply