[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
FN_GETLMOD()
Get lock mode
------------------------------------------------------------------------------
Syntax
fn_getLMod() -> nLockMode
Arguments
None
Returns
<nLockMode>, a numeric, as follows:
0 = NetWare 4.0-style "compatibility mode"
1 = NetWare 4.6 and later "extended lock mode"
Description
Lock modes in NetWare are an outgrowth of some changes in
NetWare locking behavior which happened in an early revision
of NetWare. At the time, lock mode 0 was provided for
compatibility.
Lock modes affect the behavior of the "log physical" and
"lock physical" calls, as well as the logical file locking
calls.
All programs today should be written to the extended lock
mode (mode 1), which is _not_ the default. Therefore, you
should consider setting lock mode to 1 before using the
physical log and lock calls.
(Note: it is possible the physical log and lock calls are
not available in this release. If so, never mind)
Examples
Source: N:\SRC\SYNCHRO\LOCKMODE.PRG
Author: Glenn Scott
See Also:
FN_SETLMOD()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson