Initiates error message processing for a transaction manager error code#include <tmusubs.h>int sm_tm_command_emsgset(char *caller_id, int code);
- A string used for identification; in Panther transaction models this is set to the module name followed by the function name where the event was triggered.
- One of the transaction manager
sm_tm_command_emsgsetreports an error to the transaction manager error processor (
codeis one of the
DM_TM_ERR_XXXreturn codes returned from sm_tm_command. The error severity level is set to
TM_EMSG. The error text generated corresponds to the error message for code.
TM_STATUSvalue of the current transaction is 0, this function sets
TM_STATUSto -1. If both
TM_MSGvalues of the current transaction are 0, this function sets
TM_MSGto the value of