Programming Guide |
Executes a middleware-related JPL command in JetNet and TUXEDO applications
int sm_tp_exec(char *command-stream);
command-stream
- A string that contains a middleware-related JPL command. Enclose the command string in quotation marks.
JetNet, TUXEDO
- 0 An exception severity associated with execution of the command. Refer to the command for information about potential exceptions and their severity levels.
- -1 The command failed due to an undefined error.
- -2 The application executable is not capable of three-tier processing.
sm_tp_exec
executes the specified middleware API-related JPL command. Table 5-22 shows the JPL commands that you can invoke from this function. For more information about a command, refer to its description in this manual.
Table 5-22 Middleware API Commands
int severity;
severity = sm_tp_exec
("service_call \"WITHDRAWAL\" ({account_id, amount},
{message, account_bal})");