GET_POSITION
Valid For
Extract (data pump only) and Replicat
Description
Use the GET_POSITION function is obtain a read position of an Extract data pump or Replicat in the Oracle GoldenGate trail.
Syntax
#include "usrdecs.h" short result_code; ERCALLBACK (GET_POSITION &position_def, &result_code);
Buffer
typedef struct
{
char *position;
long position_len;
short position_type;
short ascii_or_internal;
} position_def;Input
Output
-
*position -
A pointer to a buffer representing the position values. This buffer is declared in the
position_defas two binary values (unsignedint32tandint32t) asseqnorbafor eight bytes in acharfield. The user exit must move the data to the correct data type. Using this function on a Little Endian platform will cause the process to "reverse bytes" on the two fields individually.
Return Values
EXIT_FN_RET_INVALID_CONTEXT EXIT_FN_RET_NOT_SUPPORTED EXIT_FN_RET_OK