I need to take input from a single file and output to two files.
The output is determined from a SQL database query Stored Procedure returns two values (UPC
if decisionfield = 1 write to a fileA
if decisionfield = 2 write to fileB.
I haven't been able to figure this out as yet. map function