TRANSEND

Marks the end of (commits) a local transaction, permanently updating the database with updates made during the transaction.

Command Class

TCL-I command.

Syntax

TRANSEND {transaction-information}

Syntax Elements

transaction-information
Text describing the current local transaction. This is written to the transaction-end item.

This information makes it easier to identify the transaction or iteration of a transaction when examining the TL-ERRORS, TL-REJECT or clean log files in a Transaction Logging database.

If no transaction information is supplied, the system uses the file name and item-id containing the program performing the transaction along with the time and date.

Comments

TRANSEND initially logs a transaction-end image in the raw log and then waits until all updates belonging to the transaction have been physically written to tape or disk by all current log processes.

Within a transaction, the release of Item locks is deferred until successful execution of TRANSEND or TRANSABORT.

Text is only written to the clean log if there is something in the transaction. So if you do TRANSTART then TRANSEND with nothing between, the TRANSTART/TRANSEND is not written to the log.