Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

One MQ Msg trigger to read multiple Files

Status
Not open for further replies.

mladd

Programmer
Apr 12, 2006
46
I am trying to find a simple workaround for this issue I am having, and was hoping to not have to use a BAT file.

Multiple files are written out to a directory throughout the day by another process. When all of their processing is complete for the day, they drop a msg into an MQ Queue, which should trigger a map to go out and read in all of the file. Is there a way to have a map pick up "everything" that is sitting in a directory based on a single trigger msg in a queue?

I know I can just write a BAT file or shell script to do a LS and pass each file name to a RUN map to be processed, but I was kind of hoping to avoid that.

Please let me know if this is possible, strictly within WTX.

Thanks,
Mike
 
You could concatinate files thru the end of the day and use the last file as a trigger for the batch.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top