I have a Sequence like this :
Job1 (FTP job doing GET/PULL) -> Wait for file ->....other jobs
Now the trigger condition on Job1 is 'Success'/'Warning'.
So, will there be any possibility where partially transferred file be taken up for processing by 'Wait for File' activity stage. My intension is to get the file in full and only then start next job activities.If there is no file transferred no subsequent job should start.
Please let me know whether I am correct.
FTP Query
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
You are correct about a partially transferred file triggering the Wait For File stage. The usual solution is to get two files, the second a small or even empty file, and trigger the Wait For File stage from the second file, which will not begin to arrive until the first file is complete.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
I understand the concept of Trigger file. The problem would have been with that when I have something :
Wait for File -> Other jobs
Then 'Wait for file' takes up the partially received file and start calling other jobs.
But here I am invoking the 'Wait for file' activity stage only after the successfull completion of previous FTP job.
FTP Job -> Wait for File -> Other jobs
'Wait for File' will be called only after the FTP is over and I have either full file or no file. So, do you think there is any threat of processing partially received file.
Wait for File -> Other jobs
Then 'Wait for file' takes up the partially received file and start calling other jobs.
But here I am invoking the 'Wait for file' activity stage only after the successfull completion of previous FTP job.
FTP Job -> Wait for File -> Other jobs
'Wait for File' will be called only after the FTP is over and I have either full file or no file. So, do you think there is any threat of processing partially received file.