Ends an explicit transaction and returns a transaction number.
A transaction is not necessarily written to disk when TTS End Transaction returns. Pass the returned TransactionNumber to TTS Transaction Status (0x2222 34 4) to verify a successful transaction completion to disk.
If the file server fails before all transaction updates are written to disk, the transaction will be backed out when the file server is rebooted, unless transaction tracking is disabled.
TTS End 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.