Command.Call Methods

The Call methods can invoke an interactive or process program function. Programs called receive parameters by reference, i.e.: the ASPX code can send and receive data to/from the called program. These parameters are stored in an array of strings. The called program can define its parameters list using fields of type character and decimal (zoned, packed, binary, and decimal).

Interactive calls also require an ASPX page reference where control will be relinquished once the called program finishes execution. Calling interactive programs effectively means a transfer of control, first to the interactive program being called and then to the Callback page reference. Calls that invoke interactive programs can send data into the program via parameters but the output parameter list will be sent to the Callback page by storing the array in the Session under the ["MONARCH_CMDPARM"] key.

This overloaded method allows code in non-display file aspx.vr files to invoke interactive or non-interactive program functions within a Job.

Overloaded List

Syntax Description
Call (string, string, string[ ]) Calls a non-interactive program or function with assembly name, program name, and the parameters specified.
Call (string, string, string[ ], string) Calls an interactive program or function with assembly name, program name, and parameters specified along with the name of the callback page reference where control will be relinquished once the called program finishes execution.

Requirements

Namespace: ASNA.Monarch.WebDspF

Assembly: ASNA.Monarch.WebDspF.DLL

Platforms: Windows Server 2012, Windows Server 2012 R2, Windows Server 2016, Windows 7, Windows 8 Pro, Windows 10 Pro