Page 1 of 1

Is it possible to only run certain stages in a job?

Posted: Thu Feb 28, 2008 4:21 pm
by zendo59
New to datastage.

I want to temporarily "disconnect" last few stages from a job during testing.

We have been making a copy of the job and manually deleting the last few stages.

Is there a 'better' way?

Is it possible to somehow tell it only run certain stages?

Thanks in advance.

Posted: Thu Feb 28, 2008 4:28 pm
by abc123
No. Ab Initio has that feature.

Posted: Thu Feb 28, 2008 4:38 pm
by chulett
Depending on exactly what you mean by 'run', you could put in a constraint upstream of the stages you want to 'shut off' that ensures no rows pass that point. The stages would still run but they would process zero records.

Posted: Thu Feb 28, 2008 5:32 pm
by rhale
Occasionally we will develop jobs that have a reporting component and various inserts into our database. We will create an environment variable "Insert Data" and default that to no. When the job is run with the Insert Data variable set to no only the reports are generated. When the job is ran with the Insert Data variable set to yes the reports are generated and the inserts are made. This is implemented with a constraint in a transformer. You may be able to use this type of technique to limit which stages are executed.

Posted: Fri Feb 29, 2008 6:29 am
by Raghavendra
As others said you can only restrict the data going to the stages but cannot tell the job to discard the stages during the job run.

Posted: Tue Mar 04, 2008 4:22 pm
by zendo59
Thanks, guys.