LE_CMD structure

Table F-5 shows the contents of the LE Command structure.

Table F-5: LE Command structure contents

Attribute

Length (Bytes)

Contents

LEORID

4

The database server site ID. This information is not sent to Replication Server, so no restriction exists for its contents.

LEORDB

31

The database name.

LEORQID

36

The Replication Server origin queue ID, consisting of:

  • LEORGYR: The origin year (4 bytes).

  • LEORGMON: The origin month (2 bytes).

  • LEORGDAY: The origin day (2 bytes).

  • LEORHOUR: The origin hour (2 bytes).

  • LEORMIN: The origin minute (2 bytes).

  • LEORSEC: The origin seconds (2 bytes).

LESTATUS

4

A full word, which is a binary value indicating the transaction operation type. Valid values are:

  • 8 = LEINSERT

  • 16 = LEDELETE

  • 36 = Log error message

LECMD

4

A full word, which is a binary value indicating the operation type. Valid values are:

  • 111 = LECOMMIT

  • 112 = LEROLLBACK

  • 120 = LEAPPLYD

    NoteThe LEAPPLYD subcommand implies that the value of the redo pointer is set; the undo pointer value is also set for an update. The other LE Command subcommands set the values of these pointers to x'00' (null).

LECOL

4

The address for the first @RPTCOL structure.

LEPHYSTB

45

The name associated with the object of the transaction operation (not null-terminated). The first space marks the end of the value.

LESBCS

8

Number indicating a single-byte code page.

LEDBCS

8

Number indicating a double-byte code page.

LEMIXED

8

Number indicating mixed code page.

LEUSERID

8

The user ID associated with this transaction operation.

LEXACTLE

8

Length of the transaction ID.

LEXACTID

8

Address of the transaction ID.

LECREATR

8

DB2 CREATOR ID.

LEQUAL

1

Indicates whether tablename is qualified with CREATOR ID.

LEPLANNM

8

DB2 plan name.

LECORRID

12

DB2 correlation ID.

LEUTILITY

8

DB2 connection ID.