db2LSN data structure
This union, used by the db2ReadLog and db2ReadLogNoConn APIs, contains the definition of the log sequence number.
A log sequence number (LSN) represents a relative byte address within the database log. All log records are identified by this number. An LSN represents the byte offset of the log record from the beginning of the database log.
Field Name | Data Type | Description |
---|---|---|
lsnU64 | db2Uint64 | Specifies the log sequence number. |
API and data structure syntax
typedef SQL_STRUCTURE db2LSN
{
db2Uint64 lsnU64; /* Log sequence number */
} db2LSN;