CheckStatus

This method looks up the status of a queued or processed transaction and returns what happened to that transaction. The return options are that the macro cannot be found, it failed, it succeeded, it is still queued and the macro couldn’t be executed.

Group:  Transaction Management

Syntax:  enResult = TM.CheckStatus(sQueue, nSeqNo)

enResult     (enMacroResults) the enumeration describing what was found. Possible values are MacroFailed, MacroNotFound, MacroNotProcessed, MacroQueued and MacroSucceeded.

sQueue       (String) the name of the queue to be searched

nSeqNo      (Long) the sequence number to look for

Example:

Dim enValue As enMacroResults

enValue = TM.CheckStatus("RFQueue", 100)