MacroName

This returns the name of the macro currently in process by the Transaction Manager. This command is only available while the transaction macro is being executed so it must be used either in the macro itself or in any global function calls that may be used to process generic macros such as a logging feature.

Group:  Transaction Management

Syntax:  sValue = TM.MacroName

sValue           (String) the name of the macro being executed

Example:

Dim sName As String

sName = TM.MacroName