Command.Return Method

Returns a job to procedural processing.

Syntax

BegSr Return Access(*Public) Type(Void)
   DclSrParm result Type (*String)     

Parameters

result
A string returned to the code that prepared the job to accept commands.

Exceptions

The following exceptions may be encountered during the execution of this method.

Value Condition
MonarchJobEndedException The Monarch Job has ended in an exception.
MonarchJobUnavailableException There is no Monarch Job available to accept commands.

Example

DclFld Command Type(ASNA.Monarch.Command) New(*Base.Context)
   Command.Return("Function Completed")

Requirements

Namespace: ASNA.Monarch
Assembly: ASNA.Monarch.WebDspF.DLL
Platforms: Windows Server 2012, Windows Server 2012 R2, Windows Server 2016, Windows 7, Windows 8 Pro, Windows 10 Pro