Thanks for this snippet but I'm trying to build a solution that will read and process multiple input files while processing One-at-a-time. I'm being asked to use the filename as the key to my lookup file. I don't want this script to drive the process - I believe the script will degrade performance.
Script:
set infilename=nameoffile.afp
sweaver -c=controlfile.con -m=msgfile.txt -u=infilename=%infilename%
In Enrichment Rule file:
%%infilename will reflect the name passed in on the command line
You can also use %%infilename on the <FILE> tag in the <INPUT> group.
------------------------------
John Julitz
DFS Corporate Services LLC
------------------------------