The srv_xferdata routine moves data in and out of the local program variables named in a srv_bind call. When cmd is set to CS_GET, a call to srv_xferdata moves input parameter data from the client into the variables. When cmd is set to CS_SET, the routine pulls column and return parameter data out of the local program variables and sends it to the client.
Although srv_senddone currently
flushes formats and column information to the network, it will not
in future versions. Applications should always use srv_xferdata to
flush information to the network.
For more information on srv_bind, srv_descfmt, and srv_xferdata, see their respective reference pages.