TTS Begin Transaction 0x2222 34 01

Begins an explicit transaction.

NetWare Servers:2.x, 3.x, 4.x, 5.x

Request Format

Offset

Content

Type

Request header

6

FunctionCode (34)

byte

7

SubFunctionCode (1)

byte

Return Values

Decimal

Hex

Description

0

0x00

Successful

Remarks

If a transaction is aborted, all writes made since the beginning of a transaction are cancelled, and all files are returned to the state they were in before the transaction began.

TTS Abort Transaction releases the following record locks:

  • Physical record locks generated by the file server when an application tried to write to an unlocked record

  • Physical or logical locks that have not been released because of a file write

For explicit transactions, the transaction is backed out; any locks being held are released.

For implicit transactions, if the number of logical or physical records still locked exceeds the threshold, TTS Abort Transaction returns Transaction Restart (0xFE), the transaction is backed out, and the file server automatically starts a new implicit transaction.

See Also

TTS End Transaction 0x2222 34 02