Skip to content

ABIGetRepGap

ABIGetRepGap#

Syntax#

int ABIGetRepGap(
   ABIRepGap **aHandle );

Return Values#

If the function succeeds, the function returns the number of rows in the result set brought to aHandle. If it fails, an error code is returned as a negative integer.

Description#

In the V$REPGAP performance view, this function retrieves the difference between the last log record sent by the replication sender and the most recently created log record.

If the function succeeds, a pointer to an array of type ABIRepGap containing the result set in aHandle is returned.

Example#

Please refer to sample_10.c for an application related to this function.

ABIRepGap *sRepGap;
int sRowCount;

sRowCount = ABIGetRepGap( &sRepGap );