Page 1 of 1

Posted: Thu Nov 21, 2002 5:51 pm
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

Posted: Thu Nov 21, 2002 8:51 pm
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.

Posted: Mon Nov 25, 2002 4:23 am
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.

Posted: Mon Nov 25, 2002 2:51 pm
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.