skip a job in sequencer

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
madhukar
Participant
Posts: 86
Joined: Fri May 20, 2005 4:05 pm

skip a job in sequencer

Post by madhukar »

Hi All,

i have a sequencer as below:

job1--->job2--->job3

After job1 i want to skip job2 and run job3

how can achieve this?

thanks
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Get rid of Job2 from the stream :?
What is your requirment exactly. If you dont have to run Job2 then why is it even in the stream?
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

:lol:

As noted, please let us know under what circumstances you'd like to be able to skip it. Otherwise, a generic answer would be to branch around it using either Triggers or a Nested stage and then a Sequencer set to 'Any' to bring the stream back together before Job3.
-craig

"You can never have too many knives" -- Logan Nine Fingers
madhukar
Participant
Posts: 86
Joined: Fri May 20, 2005 4:05 pm

Post by madhukar »

it is required to debug sequence. Job2 takes around 1 hour to complete.
so whenever i correct the errors in aborted sequence and run again, job2 starts again.

so i wanted to skip this job and check other jobs in the sequence.

as you said, i have used a additional trigger output to the to skip the job.
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Better yet. Make a copy of your present job, delete Job2, connect job1 to job3. Once your done debugging. Run your original end to end sequence. This way your debugging is done and your sequence remains untouched.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
Post Reply