TACL Reference Manual

Built-In Functions and Variables
HP NonStop TACL Reference Manual429513-018
9-158
#ENDTRANSACTION Built-In Function
#ENDTRANSACTION Built-In Function
Use #ENDTRANSACTION to commit the database changes associated with a
transaction identifier. #ENDTRANSACTION invokes the ENDTRANSACTION
operating system procedure. When this procedure is called by the process (or its
backup) that issued #BEGINTRANSACTION, the TMF subsystem tries to commit the
transaction. If it does so successfully, the changes made by the transaction are
permanent, and the locks held for the transaction are released. Locks are held until
#ENDTRANSACTION exits (or until #ABORTTRANSACTION occurs).
Result
#ENDTRANSACTION returns 0, if successful, or a file-system error indicating the
reason ENDTRANSACTION failed.
Consideration
To abort and back out a transaction, use the #ABORTTRANSACTION built-in function.
#ENDTRANSACTION