Job Sequence
Posted: Mon Dec 11, 2006 11:39 am
My Job is doing some processing on the input file provided by 40 sources.
I have to run my Job as soon as any of the files from these sources comes.the files can be arrived anytime,even when the processing of the previous is not being completed.
What we discussed is that we would maintain a sequential file having the names of all the sources,Control flag for each sources and a status to check each source file processing status.
Now i have to keep on looking at this sequential file.As soon as the first source puts it's control flag as ready then i have to take the file name of the files from that source into the Job parameters and start the process.
And when the processing get finish...i have to again look into the file and get the very next file names with the same logic.
Please tell me how we can read the Sequential file in this manner.
My idea was :
Start Loop Activity -> ****** -> Job -> End Loop
How i can achieve '*****' Activity.
Thanx and Regards
arun
I have to run my Job as soon as any of the files from these sources comes.the files can be arrived anytime,even when the processing of the previous is not being completed.
What we discussed is that we would maintain a sequential file having the names of all the sources,Control flag for each sources and a status to check each source file processing status.
Now i have to keep on looking at this sequential file.As soon as the first source puts it's control flag as ready then i have to take the file name of the files from that source into the Job parameters and start the process.
And when the processing get finish...i have to again look into the file and get the very next file names with the same logic.
Please tell me how we can read the Sequential file in this manner.
My idea was :
Start Loop Activity -> ****** -> Job -> End Loop
How i can achieve '*****' Activity.
Thanx and Regards
arun