DB2 Version 10.1 for Linux, UNIX, and Windows

SQLU_LSN data structure

This union 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.
Table 1. Fields in the SQLU-LSN Union
Field Name Data Type Description
lsnChar Array of UNSIGNED CHAR Specifies the 6-member character array log sequence number.
lsnWord Array of UNSIGNED SHORT Specifies the 3-member short array log sequence number.
Note: The SQLU_LSN structure has been replaced by the db2LSN structure.

API and data structure syntax

typedef union SQLU_LSN
{
   unsigned char   lsnChar[6];
   unsigned short  lsnWord[3];
} SQLU_LSN;