Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

File Handles
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?



Report this thread to moderator Post Follow-up to this message
Old Post
Benedictum
03-27-04 03:57 AM


Re: File Handles
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.


Report this thread to moderator Post Follow-up to this message
Old Post
Nick Ramsay
03-27-04 03:57 AM


Re: File Handles
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?
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
Jose Carvalho
03-27-04 03:57 AM


Re: File Handles
* 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 Windo
ws.
http://www.davep.org/norton-guides/ | dgscan - DGROUP scanner for Clipper.

Report this thread to moderator Post Follow-up to this message
Old Post
Dave Pearson
03-27-04 03:57 AM


Re: File Handles
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?
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
John Linville
03-27-04 03:57 AM


Re: File Handles
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?
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
Ian Boys
03-27-04 03:57 AM


Re: File Handles
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

Report this thread to moderator Post Follow-up to this message
Old Post
Robert Haley
03-27-04 03:57 AM


Re: File Handles
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?
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
pairadimes
03-27-04 03:57 AM


Re: File Handles
"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)
> "/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.




Report this thread to moderator Post Follow-up to this message
Old Post
Benedictum
03-27-04 03:57 AM


Re: File Handles
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?
>
>


Report this thread to moderator Post Follow-up to this message
Old Post
Filippo Grotti
03-27-04 03:58 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Clipper archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 12:13 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.