Programming Guide |
Switches to another transaction
int sm_tm_command ("CHANGEtransactionName
");
transactionName
- The name of a valid transaction manager transaction.
CHANGE
switches to another transaction, making it the current transaction. To use this command, you must specify the transaction name. If the transaction does not exist, the previous transaction remains active. In cases where you move between two screens, the command is automatically issued as part of Panther's screen processing.To get the current transaction name, call
sm_tm_pinquire
(TM_TRAN_NAME
).To specify a new transaction, use the
START
command. Any transaction begun with an explicit call to theSTART
command must also be closed by an explicit call to theFINISH
command.
There are no request events generated by the
CHANGE
command.
Refer to the
START
command.