Unlike language output templates, Replication Server interprets the contents of RPC output templates. They are written in the format of the Transact-SQL execute command. Replication Server parses the output template to construct a remote procedure call to send to the Adaptive Server, Open Server gateway, or Open Server application.
RPC output templates work well with gateways or Open Servers with no language parser. RPCs are usually more compact than language requests and, since they do not require parsing by the data server, may also be more efficient. Therefore, you might choose to use an RPC even when a data server supports language requests.