Too Many Open Files (was Re: The CLOSE command)

Jeff Harrison jeffaharrison at yahoo.com
Fri Feb 17 17:50:57 PST 2006


--- "Brian K. White" <brian at aljex.com> wrote:
> 
> ----- Original Message ----- 
> From: "Jeff Harrison" <jeffaharrison at yahoo.com>
> To: "Tony Ryder" <tryder at westnet.com.au>; "FPlist" 
> <filepro-list at lists.celestial.com>
> Sent: Friday, February 17, 2006 5:08 PM
> Subject: RE: Too Many Open Files (was Re: The CLOSE
> command)
> 
> 
> > --- Tony Ryder <tryder at westnet.com.au> wrote:
> > [top posting fixed]
> > [... Jeff Wrote]
> >> |That works fine unless you have multiple lookups
> >> that
> >> |re-use the same alias.  For example:
> >> |
> >> |lookup fil = file1 k=ky i=a -nx
> >> |lookup fil = file2 k=ky i=a -nx
> >> |lookup fil = file3 k=ky i=a -nx
> >> |close fil
> >> |
> >> |The above code only closes the open files from
> >> file3.
> >> |I would like an option to close all of the open
> >> files
> >> |from lookups.
> >> |
> >> |Jeff Harrison
> >> |jeffaharrison at yahoo.com
> >>
> >> close would close all open files.
> >>
> >> If you mean you only want to close open files
> >> within the call or chained processing table
> >> then you would have to use close filename
> >> for each open filename.
> >>
> >> Tony Ryder
> >>
> >
> > Um, have you tried the code that I posted
> previously
> > that proves that this is not the case?
> >
> > Here it is again:
> 
> He said close, not close alias
> I don't know if that works any better in this exact
> case but it's worth 
> trying.
> If it does work then you obviously have a new
> difficulty incorporating that 
> into existing
> tables where there may be who knows what other
> lookups you don't want to 
> close.
> 
> Brian K. White  --  brian at aljex.com  -- 

It does work better.  A single close by itself seems
to close all of the open files except of course the
ones in the current file. 
 
Jeff Harrison
jeffaharrison at yahoo.com

Author of JHExport and JHImport.  The easiest and
fastest ways to generate code for filePro exports and
imports. 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Filepro-list mailing list