Wait for file activity

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
mydsworld
Participant
Posts: 321
Joined: Thu Sep 07, 2006 3:55 am

Wait for file activity

Post by mydsworld »

I need to check the presence of a file using 'Wait for File' activity in DS sequence.There need to be two different paths depending on the outcome.If the file is present, path1 has be taken while path2 if the file is not present.Now what will be the triggers I should use in 'Wait for File' activity.Will they be 'Ok' for 'File found' and 'Failed' for 'File not found'.

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

Post by chulett »

Yes, or the safer alternative: 'OK' for success, 'Otherwise' for failure.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply