I think there is a problem in first do loop [...]. It appears to be reading in the entire file
I don't see any do *loop* in the code you presented, and the do is only reading until the contents of input record seperator ($/) is found, not the entire file.
But then again, I doubt your IRS exists in the file. '<hr>\r' should be "<hr>\r" if you want to the \r to match a carriage return.
In reply to Re: Large file data extraction
by ikegami
in thread Large file data extraction
by micwood
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |