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.