To send RPCs directly to TRS, use the execute command, which is described in this section. See the Sybase Adaptive Server Enterprise Reference Manual: Commands for detailed information about the execute command.
The syntax for the exec command is:
exec procedure_name [[@parameter_name=value] [,[@parameter_name=value...]]]
where:
procedure_name is the name by which the RPC is defined to TRS.
@parameter_name=value is the value assigned to one of the RPC parameters. Repeat this argument for each of the RPC parameters. The name is optional.
@parameter_name=value allows you to enter the parameters in any order, as long as the mainframe program can recognize parameters by name. If you use this form for any parameter, you must use it for all parameters in the same exec statement.