%RPS_METHOD

Overload Repository methods

WTSupported in traditional Synergy on Windows

 

USupported on UNIX
VSupported on OpenVMS
status = %RPS_METHOD(event_method_pair[, ...])

status

Either 0 (no error occurred) or a handle to error data as defined in reports.def.

event_method_pair

The Repository subroutine to overload. One of the following:

M_LIBRARY[, mylibrary]

Set the library to load subsequent method routines from.

M_RPS_CLOSE, method

Close a channel.

M_RPS_OPEN, method

Open a channel.

M_RPS_READ, method

Read a record.

M_RPS_READS, method

Read a record sequentially.

M_RPS_FILNAM, method

Map a filename.

M_RPS_DATA, method

Format a user-defined data type field.

%RPS_METHOD “registers” your overloaded Repository subroutine. You must call %RPS_METHOD from within an RW_INIT_METHOD routine.