Friday, September 01, 2006

Text Parsing

Oooh. I am going to get to take 1 file that's 120 MB and parse it into approximately 40,000 files.

We received a single text file that contains the 40,000 files together, so I will get to write the program to find the start of each bill, find the account number and all information for that file, parse it and write it out to it's own file, containing the entire record wanted.

I'll post if there are any interesting challenges from this. The file appears to be fairly straight forward. There may be 3 or 4 challenges because it contains information from 2 different companies and the other company appears to have 2 or 3 formats for their data. I'll have to make sure I can recognize the format, then pull the required information from the required location.

No comments: