tran_id

The tran_id parameter is a 120-byte binary value that identifies the transaction the command belongs to. The transaction ID must be globally unique. One way to guarantee this is to first construct a unique transaction ID for the database log, and then attach the data server name and database name to it.

For example, RepAgent constructs a tran_id in the following format:

tran_id.data_server.database

where tran_id is a value generated by the RepAgent from information in the log. It contains the generation number, log page timestamp, and the row number of the log record. It is guaranteed to be unique within the database. data_server and database identify the database whose log is being transferred by the RepAgent.