Resilience > Transaction Handling > TRANSEND

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

RealityV15.1Online Documentation (MoTW) Revision 7

TRANSEND command (Resilience - Transaction Handling) (m646704+transend.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

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.

RealityV15.1 (MoTW) Revision 7Comment on this topic