For Programmers: Free Programming Magazines  


Home > Archive > Clipper > March 2004 > File Handles









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author File Handles
Benedictum

2004-03-26, 10:57 pm

I have an application which requires 17 tables to be opened at one time.
However, when the app access the 17th table an runtime error occurs.

DOS environments are set as follows.

In config.sys, FILE=255
In Autoexec.bat, SET CLIPPER=/F:250 (which is 5 less than FILES setting)

Anything else Im missing?


Nick Ramsay

2004-03-26, 10:57 pm

On Thu, 11 Mar 2004 14:13:02 GMT, "Benedictum" <dominus@vobis.com>
wrote:

>I have an application which requires 17 tables to be opened at one time.
>However, when the app access the 17th table an runtime error occurs.
>
>DOS environments are set as follows.
>
>In config.sys, FILE=255
>In Autoexec.bat, SET CLIPPER=/F:250 (which is 5 less than FILES setting)
>
>Anything else Im missing?
>


What OS? This will only work for 95/98. Look at the VFAQ for details
of other OS settings.

Jose Carvalho

2004-03-26, 10:57 pm

If running in Windows 2000 or XP, the files to change are
CONFIG.NT and AUTOEXEC.NT located in WINDOWS\SYSTEM32.

"Benedictum" <dominus@vobis.com> wrote in message
news:Ot_3c.4730$C51.42561@attbi_s52...
> I have an application which requires 17 tables to be opened at one time.
> However, when the app access the 17th table an runtime error occurs.
>
> DOS environments are set as follows.
>
> In config.sys, FILE=255
> In Autoexec.bat, SET CLIPPER=/F:250 (which is 5 less than FILES setting)
>
> Anything else Im missing?
>
>



Dave Pearson

2004-03-26, 10:57 pm

* Benedictum <dominus@vobis.com>:

> I have an application which requires 17 tables to be opened at one time.
> However, when the app access the 17th table an runtime error occurs.
>
> DOS environments are set as follows.
>
> In config.sys, FILE=255
> In Autoexec.bat, SET CLIPPER=/F:250 (which is 5 less than FILES setting)
>
> Anything else Im missing?


You might want to consider actually saying what the runtime error is. Other
useful information might be details of the operating system (although you
mention "DOS environments" in the above it isn't clear that this is running
on pure DOS) and some indication of what other files your application might
have open -- for example: one table might use a number of file handles if
it's using many index files; you might also have handles open to other types
of files or even various devices.

--
Dave Pearson | OSLib - Timeslice release functions.
http://www.davep.org/ | eg - Norton Guide reader for Linux.
http://www.davep.org/clipper/ | weg - Norton Guide reader for Windows.
http://www.davep.org/norton-guides/ | dgscan - DGROUP scanner for Clipper.
John Linville

2004-03-26, 10:57 pm

Hi
Should be SET CLIPPER=F:NNN
No slash or colon
worked for me up to W98
--

John Linville

"The shaft of the arrow had been feathered with one of the eagle's own
plumes. We often give our enemies the means of our own destruction."
Aesop
"Benedictum" <dominus@vobis.com> wrote in message
news:Ot_3c.4730$C51.42561@attbi_s52...
> I have an application which requires 17 tables to be opened at one time.
> However, when the app access the 17th table an runtime error occurs.
>
> DOS environments are set as follows.
>
> In config.sys, FILE=255
> In Autoexec.bat, SET CLIPPER=/F:250 (which is 5 less than FILES setting)
>
> Anything else Im missing?
>
>



Ian Boys

2004-03-26, 10:57 pm

Shouldn't it be FILES=255

That is, plural, not FILE.


"Benedictum" <dominus@vobis.com> wrote in message
news:Ot_3c.4730$C51.42561@attbi_s52...
> I have an application which requires 17 tables to be opened at one time.
> However, when the app access the 17th table an runtime error occurs.
>
> DOS environments are set as follows.
>
> In config.sys, FILE=255
> In Autoexec.bat, SET CLIPPER=/F:250 (which is 5 less than FILES setting)
>
> Anything else Im missing?
>
>



Robert Haley

2004-03-26, 10:57 pm

Greetings,

>
> In config.sys, FILE=255
>


This should be: FILES=255 (missing the "s")

although: FILES=128 may suffice.


> In Autoexec.bat, SET CLIPPER=/F:250 (which is 5 less than FILES setting)

"/F:250" is not a valid setting,

per above, SET CLIPPER=//F:128 **Note: (2) slashes** may suffice.


I hope the info helps.

Regards,
Bob
pairadimes

2004-03-26, 10:57 pm

Keep in mind that when you SET CLIPPER=//F:200 for instance, the operating
system will only make available whatever number is specified in your CONFIG
file (.SYS or .NT) for the DOS sessions.


"Benedictum" <dominus@vobis.com> wrote in message
news:Ot_3c.4730$C51.42561@attbi_s52...
> I have an application which requires 17 tables to be opened at one time.
> However, when the app access the 17th table an runtime error occurs.
>
> DOS environments are set as follows.
>
> In config.sys, FILE=255
> In Autoexec.bat, SET CLIPPER=/F:250 (which is 5 less than FILES setting)
>
> Anything else Im missing?
>
>



Benedictum

2004-03-26, 10:57 pm


"Robert Haley" <r_haley_3rd@email.com> wrote in message
news:951d144f.0403111404.13ad792d@posting.google.com...
> Greetings,
>
>
> This should be: FILES=255 (missing the "s")
>
> although: FILES=128 may suffice.
>
>
setting)[color=darkred]
> "/F:250" is not a valid setting,
>
> per above, SET CLIPPER=//F:128 **Note: (2) slashes** may suffice.
>
>
> I hope the info helps.
>
> Regards,
> Bob


Thanks for the response, I'll try your suggestions and will report back on
the outcome.



Filippo Grotti

2004-03-26, 10:58 pm

I think that the statement FILE=255 in Config.sys is not correct. Never
tried with FILE, I always use FILES instead. Try to change.

Ciao

Filippo
Aerocom Italy

Benedictum wrote:
> I have an application which requires 17 tables to be opened at one time.
> However, when the app access the 17th table an runtime error occurs.
>
> DOS environments are set as follows.
>
> In config.sys, FILE=255
> In Autoexec.bat, SET CLIPPER=/F:250 (which is 5 less than FILES setting)
>
> Anything else Im missing?
>
>


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com