Is it possible to only run certain stages in 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
zendo59
Participant
Posts: 6
Joined: Tue Feb 05, 2008 11:32 pm

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

Post 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.
abc123
Premium Member
Premium Member
Posts: 605
Joined: Fri Aug 25, 2006 8:24 am

Post by abc123 »

No. Ab Initio has that feature.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post 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.
-craig

"You can never have too many knives" -- Logan Nine Fingers
rhale
Premium Member
Premium Member
Posts: 7
Joined: Wed Sep 07, 2005 5:20 pm

Post 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.
Raghavendra
Participant
Posts: 147
Joined: Sat Apr 30, 2005 1:23 am
Location: Bangalore,India

Post 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.
Raghavendra
Dare to dream and care to achieve ...
zendo59
Participant
Posts: 6
Joined: Tue Feb 05, 2008 11:32 pm

Post by zendo59 »

Thanks, guys.
Post Reply