End of file marker

Richard Tartaglia fp_rich at yahoo.com
Thu Sep 28 06:03:46 PDT 2006


I hope all is well with all of you.

FP 5.0.14 Windows

I receive a file from the state. Within that file are
x number of files strung together each having a header
record. I search for the header record and write each
file out separating them in to their smaller
components. 

I now want to keep track of those files with data
taken from within each file as it is written out.

I am doing this by finding the next header record and
doing a gosub then a lookup and post. 

The problem is that the last file output will never
hit another header record to send it to the gosub
routine. I have looked to see if there was a way to
trap the EOF marker in filepro but can't find it. 

I think I am just getting old.

Any help would be appreciated.

Thanks 

Rich Tartaglia      


More information about the Filepro-list mailing list