Call Job Sequence from another job

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
psluser
Premium Member
Premium Member
Posts: 39
Joined: Tue Apr 22, 2008 7:00 am
Location: Pune, India

Call Job Sequence from another job

Post by psluser »

Hi,

Our requirement is to control a Job Sequence from another job(in job control). Is it possible to do it or is there any other alternative available to acheive the same.

Any help in this regard would be greatly appreciated.

Thanks in advance,
sachin1
Participant
Posts: 325
Joined: Wed May 30, 2007 7:42 am
Location: india

Re: Call Job Sequence from another job

Post by sachin1 »

please elaborate what you want to achieve, may be you need to custom code in JOB-Control tab.
psluser
Premium Member
Premium Member
Posts: 39
Joined: Tue Apr 22, 2008 7:00 am
Location: Pune, India

Re: Call Job Sequence from another job

Post by psluser »

sachin1 wrote:please elaborate what you want to achieve, may be you need to custom code in JOB-Control tab.
Hi,

We have a seq named "JobSeq1".
And a job named "Job1".

I want to run/call the JobSeq1 from Job Control tab of "Job1".

I hope this clears the question.
sachin1
Participant
Posts: 325
Joined: Wed May 30, 2007 7:42 am
Location: india

Re: Call Job Sequence from another job

Post by sachin1 »

yes you can do it.............just go to job control tab in JOB-PROPERTIES, you will have a drop down list of jobs and sequences, you add your sequence and run your job.
the job will call your sequence and then finish itself.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Re: Call Job Sequence from another job

Post by chulett »

psluser wrote:Our requirement is to control a Job Sequence from another job(in job control). Is it possible to do it or is there any other alternative available to acheive the same.
Of course there are alternatives. I, for one, would not run a Sequence job from the Job Control tab of another job. One alternative - create a new Sequence job that first runs the Sequence in question and then the job that should follow. That would give you much more control over what happens.
-craig

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