NWTTSSetConnectionThresholds(3nw)


NWTTSSetConnectionThresholds -- sets number of explicit physical and logical record locks permitted before invoking implicit transactions

Synopsis

   #include <nwtts.h> 
   or 
   #include <nwcalls.h> 
   

NWCCODE N_API NWTTSSetConnectionThresholds (NWCONN_HANDLE conn, nuint8 logicalLockLevel, nuint8 physicalLockLevel);

Description

The parameters are as follows:

conn
(IN) Specifies the NetWare server connection handle.

logicalLockLevel
(IN) Specifies the number of logical record locks to allow before implicit transactions begin (0 to 255).

physicalLockLevel
(IN) Specifies the number of physical record locks to allow before implicit transactions begin (0 to 255).

Return values

0x0000
SUCCESSFUL

0x8801
INVALID_CONNECTION

Notices

The return values are in effect for all applications, not just ones calling NWTTSSetConnectionThresholds.

The default threshold for logical and physical locks is 0. 0xFF means no implicit transactions for the lock type can be performed.

NWTTSSetConnectionThresholds and NWTTSGetConnectionThresholds are useful for applications changing the implicit application thresholds that later want to restore them.

For example, NWTTSGetConnectionThresholds can obtain the current number of logical and physical locks, and NWTTSSetConnectionThresholds can perform one of the following:

Services

Transaction Tracking

NCP calls

0x2222 34 8 TTS Set Workstation Thresholds

 
 0x2222   34   8   TTS Set Workstation Thresholds 

References

NWTTSGetConnectionThresholds(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.