Multiple Instances of a job

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
saini
Participant
Posts: 18
Joined: Sat Jan 13, 2007 12:01 am

Multiple Instances of a job

Post by saini »

Hi

I have a Sequence which allows multiple instances.
Is it required that the jobs which are put in the job sequence should also allow multiple instances.


Thanks
ag_ram
Premium Member
Premium Member
Posts: 524
Joined: Wed Feb 28, 2007 3:51 am

Post by ag_ram »

Yes. It needs to be.
saini
Participant
Posts: 18
Joined: Sat Jan 13, 2007 12:01 am

Post by saini »

Then If require to give the invocation id for each job in the JOb Activity Stage in Sequencer.
What should we give in the Invocation ID. Is theer any particular value or name for Invocation Ids
ag_ram
Premium Member
Premium Member
Posts: 524
Joined: Wed Feb 28, 2007 3:51 am

Post by ag_ram »

saini wrote:Then If require to give the invocation id for each job in the JOb Activity Stage in Sequencer.
What should we give in the Invocation ID. Is theer any particular value or name for Invocation Ids
One can give any number, string or filename as invocation id. We generally pass invocation id as given below (Script accepts a parameter for invocation ID.

Code: Select all

jsInvocationId=$1
$DSHOME/bin/dsjob -run -wait -warn 0 -jobstatus -param jsInterfaceName=$jsInterfaceName $DS_PROJECT $DS_SEQNAME.$jsInvocationId
But alot depends on requirement and design.
thanks
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

ONE instance of a job can run with no invocation ID (that is, an invocation ID of ""). However, a second instance with the same invocation ID, whatever it is, will fail to start (job not in a runnable state: already running).
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