Multiple Instances on Server

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
zam62
Participant
Posts: 42
Joined: Tue Apr 29, 2003 12:21 pm

Multiple Instances on Server

Post by zam62 »

I am running jobs by calling them from aC program. I have checked the "Allow Multiple Instances On the Server" to run the job multiple times.

IF I call the job from a C program(or dsjob), how do I specify the InvocationId? I noticed in Director that the job being run is <jobName>.<InvocationId>. Is it as simple as that to specify the job/InvocationId to run by using the format <jobName>.<InvocationId>. ?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Yes! :)
-craig

"You can never have too many knives" -- Logan Nine Fingers
jseclen
Participant
Posts: 133
Joined: Wed Mar 05, 2003 4:19 pm
Location: Lima - Peru. Sudamerica
Contact:

Re: Multiple Instances on Server

Post by jseclen »

Hi Zam

In the jobname you add the '.' and the Identificacion of the instance

> dsjob -run -mode NORMAL -warn 0 -rows 0 MyProject MyJob.Id
(where Id is the variable part)

8)
Saludos,

Miguel Seclén
Lima - Peru
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

So, in other words... Yes! :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply