7.18 GET_EXTSEQNO

Gets the sequence number for the current Oracle GoldenGate trail.

Syntax

For C:

#include "usrdecs"
long     seqno;
short    result;
result = GET_EXTSEQNO(&extseqno);

For TAL:

?source usrdect
int     result;
int(32) .ext seqno;
result := GET_EXTSEQNO(seqno) ;

For COBOL:

?CONSULT =EXTRACT (or =REPLICAT)
01 result     PIC S9(4) COMP.
01 seqno      PIC S9(4) COMP.
ENTER C "GET_EXTSEQNO" using seqno giving result.
seqno

The sequence number of the Oracle GoldenGate trail file.

result

A code indicating whether the call was successful or not.