You are not logged in.
Announcement
Unanswered posts
|
Pages: 1

Hi,
I need to design a job, which reads files from a directory and processes them. If the directory is empty I need to fail the job. I have attached the current design , it works when there is only one file in the Directory. IF there are more than one file , it doesnt process them and doesnt throw any error. Can anyone please guide me how to go about this?
The if condition on tFileExist is as follows :-
((Boolean)globalMap.get("tFileExist_1_EXISTS"))
Many Thanks,
Manju
Offline
Hi Manju
The tFileExist component is redundant, the process do always continues while tFileList finds matched files.
tFileList--iterate-->tFileinputDelimited--->tMap---tFileOutputDelimited
Best regards
Shong
Offline
Pages: 1