Creating a transfer RPC

The client application can create a stored procedure within ASE that invokes the access service library transfer function. The access service library receives the transfer command as an RPC event with these arguments:

Transfer RPC example

This example outlines how a stored procedure shows a bulk copy transfer statement to be received as an RPC:

create procedure replauth as
begin
execute servername. . .transfer
“to ‘servername2 userid password’;”,
 “with replace into authors;”,
 “select * from authors;”
end

where: