AbortTrans

This function can be used inside a Transaction macro to halt processing of the transaction if conditions warrant it. This command will notify the Transaction Manager that the current macro processing was aborted for a reason other than failure. The Transaction Manager will then keep this transaction at the top of the queue and try again on the next cycle. For example, if an SM command comes back with a failed status or the BeginTrans command fails, TM.AbortTrans can be executed to give the transaction macro’s Boolean value a False value. In the application’s script, you will know if the called macro was successful.

Group:  Transaction Management

Syntax:  TM.AbortTrans

Example:

TM.AbortTrans