wait for file stage

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
harryhome
Participant
Posts: 112
Joined: Wed Oct 18, 2006 7:10 am

wait for file stage

Post by harryhome »

hi

in starting of sequence , i have wait for file stage.

here if file is present then job1 should get executed then job2 should get executed and seq ends

if file is not present job 2 should get executed.


I am confused about the trigger conditions of wait for file stage. plz help

and is there need to call job2 twice in this seq?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Ok (Conditional) = file found, Otherwise = file not found. Use a Sequencer so Job2 doesn't need to be included twice. Or just include it twice. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
Minhajuddin
Participant
Posts: 467
Joined: Tue Mar 20, 2007 6:36 am
Location: Chennai
Contact:

Post by Minhajuddin »

Even if you use Job 2 twice in the sequencer.

Job2 will get executed only once.

So performance-wise both the options should be the same.

It's just a matter of convenience.
Minhajuddin

<a href="http://feeds.feedburner.com/~r/MyExperi ... ~6/2"><img src="http://feeds.feedburner.com/MyExperienc ... lrow.3.gif" alt="My experiences with this DLROW" border="0"></a>
Post Reply