🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.delphi.databases
Article #66

Problem with PDOXUSRS.LCK

#66
From: Carsten Baeumchen
Date: Thu, 20 Aug 1998 00:00
134 lines
4896 bytes
--------------800E261F3D98ACBCF7900DC7
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Hello.

hope you will find some time to give some advices to the following
problem.

-Delphi 3.0 (none C/S)
-Paradox
-SQL

I developed an application that executes hundereds of SQL statements and
stores the results to a locale table.
For that only one TQuery is used.
The structure is something like that :

Query.Perpare;
Query.SQL.clear;
Query.SQL.add ("the statement")
Query.Open;
"do something with the result table"
Query.Close;
Query.Unperpare;


When the program is launched the log file (PDOXUSRS.LCK) will be
created. When the procedere starts this file grows larger and larger
until an ecception occurs : (in German "Sperrdatei zu gro�") which means
about "Log file to large".
The problem in fact is that the log file will not be erased or be
shorten after closing one query so that the ecception does not occure.
On single stand alone computer the program works beautifully. Using it
within the network (NT) the trouble comes up. I have checked the
diskspace, etc of the server but everything is OK.
The program was allways started form workstations.

So my question is whether this is a known problem and how to solve it.

--
Best regards
Mit freundlichen Gr��en

Carsten B�umchen
================
http://www.Bundesligaverwaltung.home.pages.de
http://www.MDIPanel.home.pages.de
carsten.baeumchen@metronet.de
================
Neuss, Germany


--
Best regards
Mit freundlichen Gr��en

Carsten B�umchen
================
http://www.Bundesligaverwaltung.home.pages.de
http://www.MDIPanel.home.pages.de
carsten.baeumchen@metronet.de
================
Neuss, Germany


--------------800E261F3D98ACBCF7900DC7
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<HTML>
Hello.

<P>hope you will find some time to give some advices to the following problem.

<P>-Delphi 3.0 (none C/S)
<BR>-Paradox
<BR>-SQL

<P>I developed an application that executes hundereds of SQL statements
and stores the results to a locale table.
<BR>For that only one TQuery is used.
<BR>The structure is something like that :

<P>Query.Perpare;
<BR>Query.SQL.clear;
<BR>Query.SQL.add ("the statement")
<BR>Query.Open;
<BR>"do something with the result table"
<BR><B></B>Query.Close;
<BR>Query.Unperpare;
<BR>&nbsp;

<P>When the program is launched the log file (PDOXUSRS.LCK) will be created.
When the procedere starts this file grows larger and larger until an ecception
occurs : (in German "Sperrdatei zu gro&szlig;") which means about "Log
file to large".
<BR>The problem in fact is that the log file will not be erased or be shorten
after closing one query so that the ecception does not occure.
<BR>On single stand alone computer the program works beautifully. Using
it within the network (NT) the trouble comes up. I have checked the diskspace,
etc of the server but everything is OK.
<BR>The program was allways started form workstations.

<P>So my question is whether this is a known problem and how to solve it.

<P>--
<BR>Best regards
<BR>Mit freundlichen Gr&uuml;&szlig;en

<P>Carsten B&auml;umchen
<BR>================
<BR><A HREF="http://www.Bundesligaverwaltung.home.pages.de">http://www.Bundesligaverwaltung.home.pages.de</A>
<BR><A HREF="http://www.MDIPanel.home.pages.de">http://www.MDIPanel.home.pages.de</A>
<BR>carsten.baeumchen@metronet.de
<BR>================
<BR>Neuss, Germany
<BR>&nbsp;

<P>--
<BR>Best regards
<BR>Mit freundlichen Gr&uuml;&szlig;en

<P>Carsten B&auml;umchen
<BR>================
<BR><A HREF="http://www.Bundesligaverwaltung.home.pages.de">http://www.Bundesligaverwaltung.home.pages.de</A>
<BR><A HREF="http://www.MDIPanel.home.pages.de">http://www.MDIPanel.home.pages.de</A>
<BR>carsten.baeumchen@metronet.de
<BR>================
<BR>Neuss, Germany
<BR>&nbsp;</HTML>

--------------800E261F3D98ACBCF7900DC7--
Technical Details
Message-ID: <35DC5CAA.DAB7E649@metronet.de>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: ffff5,be1e2c4f3b414b8d,start
X-Google-Attributes: gidffff5,public
X-Google-Thread: f6386,be1e2c4f3b414b8d,start
X-Google-Attributes: gidf6386,public
X-Google-Thread: ff75c,be1e2c4f3b414b8d,start
X-Google-Attributes: gidff75c,public
X-Google-Thread: 10de66,be1e2c4f3b414b8d,start
X-Google-Attributes: gid10de66,public
From: Carsten Baeumchen <carsten.baeumchen@metronet.de>
Subject: Problem with PDOXUSRS.LCK
Date: 1998/08/20
Message-ID: <35DC5CAA.DAB7E649@metronet.de>
X-Deja-AN: 383050522
X-Priority: 3 (Normal)
Content-Type: multipart/alternative; boundary="------------800E261F3D98ACBCF7900DC7"
Organization: Gymsoft
Mime-Version: 1.0
Newsgroups: comp.lang.pascal.delphi.databases,borland.public.delphi.database.sqlservers,borland.public.delphi.database.desktop,borland.public.delphi.database.multi-tier