Returns the number of logical and physical record locks allowed before an implicit transaction begins.
If a threshold value is zero, an implicit transaction will begin when the first lock is made for that particular lock type; if a threshold value is 100, an implicit transaction will begin when the one hundred and first lock is made, etc.
TTS Get Application Thresholds and TTS Set Application Thresholds (0x2222 34 6) can be used to change the implicit application thresholds and to restore the thresholds.
For example, TTS Get Application Thresholds can query an application for the number of logical and physical record locks allowed before an implicit transaction begins. TTS Set Application Thresholds can then do either of the following:
Turn off implicit transactions
Set implicit thresholds for applications that always keep one or more records locked
Applications that use only explicit transactions, but that sometimes generate unnecessary implicit transactions, should turn off all implicit transactions.
The default thresholds for logical and physical locks is zero. A threshold value of 0xFF means implicit transaction for that lock type is not in effect.
The returned thresholds are valid only for the requesting application. When the application terminates, the workstation thresholds are restored.