regarding wait for file activity

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
vijaykumar
Participant
Posts: 228
Joined: Tue Oct 03, 2006 7:08 pm

regarding wait for file activity

Post by vijaykumar »

Hi Gurus,

my design is

wait for file activity------>jobactivity 1------->job activity2

my reauirement is : whenever filename appears, it should trigger my sequence.
for this: i have used wait for file activity and have given path of the file.
i compile and run, its running fine. when i go to view the log, iam getting the message,

job5..JobControl (DSWaitForFile): File 'C:\HashFiles\vijay' is already present.

plz help me, what does it mean, am i going in wrong way.
plz gurus help me.

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

Post by chulett »

Not sure what's so confusing about that message. It didn't need to wait at all as the file was there the first time it checked. Nothing more mysterious than that.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The message informs you that no wait was required.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Delete C:\HashFiles\vijay before you trigger you job, and recreate the file while you job waits for the file. You ll find everything happening as expected. :wink:
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
Post Reply