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
*positionA pointer to a buffer representing the position values. This buffer is declared in the position_def as two binary values (unsigned int32t and int32t) as seqnorba for eight bytes in a char field. 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