>>If you know the length of the record (which you should) take the size of the incoming file and divide it by the record length. This will give you # of records.
>
>All lines have a different length. :(
EEEWWWW!!!!! Icky-Poo!!!!! Variable length input records!!!!!!
That DOES put a tad bit of a challenge on it, doesn't it. And everything else I can come up with involves knowing record length.
Can you work with an 'average' length?
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place