The client application can create a stored procedure within Adaptive Server that invokes the access service library transfer function.
Name of the RPC – “transfer”
Argument 1 – The secondary connection information ({to | from} “server userid pw”)
Argument 2 – Either the bulk copy target command or the destination-template sourceselectstatement.
Argument 3 – Either the bulk copy sourceselectstatement or the destination-template sourceselectstatement.