Waiting for status

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
vmcburney
Participant
Posts: 3593
Joined: Thu Jan 23, 2003 5:25 pm
Location: Australia, Melbourne
Contact:

Post by vmcburney »

What you may have done is cut and copied the code that runs the job the first time to run the subsequence instances. This can lead to an incorrect job handle where you end up waiting for the wrong job handle.

When you call the wait command make sure you are passing it the most recent job handle from the last attached job. If you can't find a problem post the code onto this forum and someone may be able to spot an error.

regards
Vincent
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Or check the box on the job properties window that makes your job capable of running as multiple instances, then qualify each run request with an instance name, for example MyJob.Instance1, MyJob.Instance2, and so on.
JeanPierreHaddad
Participant
Posts: 18
Joined: Mon Nov 25, 2002 3:23 am
Location: Switzerland

Post by JeanPierreHaddad »

Or check the box on the job properties window that makes your job capable of running as multiple instances, then qualify each run request with an instance name, for example MyJob.Instance1, MyJob.Instance2, and so on.
Is this multiple instances box in the Designer or the Director. In my version 4.0 I cannot find it.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Welcome to the Forum, Jean-Pierre.
Unfortunately, multi-instance jobs only become availabe in version 5.0 of DataStage.
Given that version 6 is released, and version 6.5 is being spoken of, you are several versions behind what is current.
Post Reply