Multi Instance Jobs

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
greggknight
Premium Member
Premium Member
Posts: 120
Joined: Thu Oct 28, 2004 4:24 pm

Multi Instance Jobs

Post by greggknight »

I developed a set of ds jobs. I make those jobs multi instance because I run the same jobs for two different companies which use different parameters. I have two different config files with the parameters for each company seperate. I run the set of jobs through a batch job for the first instance 201. It creates jobs JOBNAME.201 in director and runs the job. it then runs all the remaining jobs doing the samething. When this process is complete I then run the jobs again but pass the instance as 501 . The problem now begins. The second instance (501) removes the previous instance of the job (201) from director. So I have no visible logs. What would be causing this action????.

Problem number two. I execute a series of jobs from a batch job and all the jobs run successfully by the Director log but the jobs do not run through all the stages. another words the job really does not run.....I have been using server version since v3 and have never seen this !!!

Thanks
"Don't let the bull between you and the fence"

Thanks
Gregg J Knight

"Never Never Never Quit"
Winston Churchill
Mike
Premium Member
Premium Member
Posts: 1021
Joined: Sun Mar 03, 2002 6:01 pm
Location: Tampa, FL

Post by Mike »

For problem 1, check your autopurge settings. The instance logs are just views of the base job's log. If the base job is set to only retain the last log, then you won't see more than one instance log.

Mike
mikegohl
Premium Member
Premium Member
Posts: 97
Joined: Fri Jun 13, 2003 12:50 pm
Location: Chicago
Contact:

Post by mikegohl »

How are you setting the invocation ID?
Michael Gohl
greggknight
Premium Member
Premium Member
Posts: 120
Joined: Thu Oct 28, 2004 4:24 pm

Post by greggknight »

Thanks I never thought of something that simple. I changed all my settings to 3 Ran one set of jobs. Seems to be working >>>>>
Now for number one which really is the most important.!!
Again thanks for the spash of water...
"Don't let the bull between you and the fence"

Thanks
Gregg J Knight

"Never Never Never Quit"
Winston Churchill
greggknight
Premium Member
Premium Member
Posts: 120
Joined: Thu Oct 28, 2004 4:24 pm

Post by greggknight »

The Invocation Id is in a JOB.config file (ini format ). This value is read in by a batch job which in return calls a complex routine which controls all the processing of all the jobs in the job array.
I have been using these for 8 years with out issue. pretty boiler plate.

Thanks
"Don't let the bull between you and the fence"

Thanks
Gregg J Knight

"Never Never Never Quit"
Winston Churchill
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Is your 8.x release all patched up? Installed the 'fixpack' that is available?
-craig

"You can never have too many knives" -- Logan Nine Fingers
greggknight
Premium Member
Premium Member
Posts: 120
Joined: Thu Oct 28, 2004 4:24 pm

Post by greggknight »

Version 8
Build 1.2

what is the latest build ??
"Don't let the bull between you and the fence"

Thanks
Gregg J Knight

"Never Never Never Quit"
Winston Churchill
Post Reply