Wait_for_file

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
randy
Participant
Posts: 30
Joined: Tue Sep 13, 2005 11:17 am

Wait_for_file

Post by randy »

How does the Wait_for_file stage work?
If the file is large and takes a couple of minutes to ftp, does the wff stage just look for the name or will it somehow know when the whole file is there?

Thanks
Randy
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

It will fire when it first sees the file, complete or not. That's why most people would use a 'flag' file ftp'd after the completion of the large file to actually trigger the load.
-craig

"You can never have too many knives" -- Logan Nine Fingers
kris007
Charter Member
Charter Member
Posts: 1102
Joined: Tue Jan 24, 2006 5:38 pm
Location: Riverside, RI

Post by kris007 »

Just to add, hence, you would be actually waiting for the 'flag' file and then start your loading or whatever process you want to do with the actual file.
Kris

Where's the "Any" key?-Homer Simpson
Post Reply