...or just do this :)
In reply to Re^8: Parse one fiile, send the records to two different files by stevieb in thread Parse one file, send the records to two different files by BigRedEO