Too Many Open Files (was Re: The CLOSE command)
Tony Ryder
tryder at westnet.com.au
Fri Feb 17 12:57:40 PST 2006
What about just using close or close filename before returning
from a chained or called processing table.
Tony Ryder
|There is a company that I used to work for that for
|years has been getting these "Too many open files"
|errors from time to time. In fact certain processes
|would get them all the time. I could never figure out
|why before, but it seems to make sense now. The
|original programmer there made extensive use of
|chained and called processing tables. There were many
|lookups and re-use of lookup aliases.
|
|If anyone else is getting this error I would suggest
|that they be on the lookout for this "feature"
|
|Perhaps a solution for this that fptech could supply
|would be a PFCLOSEONCHAIN and a PFCLOSEONCALL
|environment variable, and perhaps a CLOSEALL command.
|The CLOSEALL command would close all open files (via
|lookups) if called without any arguments. With
|arguments, it would close all files associated with
|the entire filepro file(s) specified.
|
|Jeff Harrison
|jeffaharrison at yahoo.com
More information about the Filepro-list
mailing list