Determining log scan position

The Sybase Replication Agent transaction log table (ra_tran_log_) contains a column that identifies when a particular operation has occurred.

The following sample queries can help identify how these tables can be used to count the number of operations not yet processed by the Replication Agent: