Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NOVLIB appears not to work with Novell 6

Status
Not open for further replies.

HotEye

Programmer
Jan 10, 2001
112
GB
Well the functions I want at the moment are not working!

I am trying to see who has a record locked:
cFile:=DrvPthGet(DrvCurGet())+"\"+alias()+'.dbf'
nStationNo=FilLokConGet(cFile,recno(),NOVLOKFOX1 )
do case
case nStationNo > 0
cUser:=UsrNameGet( WSLogIDGet( NOVDEFINT ) )
cReturn:="Locked "+cUser
case nStationNo = 0
cReturn:="not locked"
endcase

The FilLokConGet always returns 0. I have tried all the NOVLOK??? options, and all return 0... and yes, I do have the record locked on another workstation.

Regards
HotEye
 
Novlib needs the Bindery(emulation) mode and a compliant local Client software. This probably isn't enabled by default (if supported at all on Netware 6), so has either to be turned on/loaded, or 'had' from a previous version of Netware (5 does support Bindery mode? haven't used Netware for nearly 8 years now)
Latest version of NovLib is 3.3, and hasn't been developed any further, AFAIK.

HTH
TonHu
 
Hi TonHu,
Thanks for reply. I am using Bindery emulation on the server, and using Novell clients.
Clipper Tools is being used and those functions appear to work, NNetStaID for example, but tools cannot determine who has a record locked (can it?).

I also use the NovLib WhoUsing sample shown in FilOpenConnList and that works OK. Maybe it's the type of lock, how do I find out what lock type is in use?

Regards
HotEye
 
Sorry, can't help on that, never persued that kind of info, Netware was phased out at our sites by then...

HTH
TonHu
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top