Re: Linux & RLOCK() - Unix, Samba
- From: "Dan Freeman" <spam@xxxxxxxxxxxxx>
- Date: Thu, 16 Mar 2006 14:16:02 -0800
I have no idea, but I'd be Talking To that network guy. <s>
I've never used Samba, but I know several who hang here have so maybe one of
them will chime in.
Dan
Debbie wrote:
Dan, my apologies, but...
We have just managed to track down the client's network engineer and
it seems our client misinformed us. They are not running a Linux
file server as we were originally told. They are running a Unix file
server and have Samba installed on top of that to interface with the
Windows OS workstations and run their Microsoft applications.
How would that setup affect my VFP RLOCK() code?
Thanks again - Debbie
"Dan Freeman" <spam@xxxxxxxxxxxxx> wrote in message
news:u3xrjbSSGHA.5728@xxxxxxxxxxxxxxxxxxxxxxx
Ummmm .... VFP runs in Windows. Only.
Do you mean they're running a Linux file server? I can see that being
problematic if the network redirector doesn't support locking the
same way for that Linux fileserver.
Dan
Debbie wrote:
Recently, a client changed his operating system to Linux. Since
then, they have started to get duplicate order numbers in the VFP
back-office system we designed for them. The system was written in
VFP 7.0 and uses RLOCK() in the code to get the next available order
number. The code used is as follows:
*-- Get next available number
DO WHILE !RLOCK("ordernumber")
LOOP
ENDDO
lcOrderNumber = ALLTRIM(STR(ordernumber.norder))
REPLACE ordernumber.norder WITH (ordernumber.norder + 1) in
ordernumber =TABLEUPDATE(0,.T.,"ordernumber")
UNLOCK IN ordernumber
It seems that RLOCK() might not be working as I expect it to under
this operating system, but I'm not sure why. I am not experiencing
this problem with any other clients, but none of my other clients
are running Linux. Does anyone here know of any problems with VFP
and Linux?
Thanks - Debbie
.
- References:
- Linux & RLOCK()
- From: Debbie
- Re: Linux & RLOCK()
- From: Dan Freeman
- Re: Linux & RLOCK() - Unix, Samba
- From: Debbie
- Linux & RLOCK()
- Prev by Date: Re: Linux & RLOCK() - Unix, Samba
- Next by Date: Re: Linux & RLOCK() - Unix, Samba
- Previous by thread: Re: Linux & RLOCK() - Unix, Samba
- Index(es):
Relevant Pages
|