CallHostSpecs class | QSYS API Reference Guide

Estimated reading time: 2 minutes

Packages the specification of a remote program call command and its parameters.

Namespace: ASNA.QSys.Runtime.JobSupport Assembly: ASNA.QSys.Runtime.dll

Inheritance: Object

Constructors

Name Description
CallHostSpecs(String, String, String, Int32, String, String, Int32) Initializes a new instance of the CallHostSpecs class.

CallHostSpecs(String, String, String, Int32, String, String, Int32)

Initializes a new instance of the CallHostSpecs class.

CallHostSpecs(String, String, String, Int32, String, String, Int32)

Parameters

Type Parameter name Description
String agentContainer The library or assembly name containing the program.
String programName The name of the program to be called.
String parmsConstants The comma separated list of constants to be passed as parameters.
Int32 parmsControlsCount The number of control values to be passed as parameters.
String formatName The name of a record format whose field values are to be passed as parameters.
String parmsFormatFields The comma separated list of fields whose values are to be passed as parameters.
Int32 maxOutputLength The maximum length expected as a return value from the called program.

Properties

Type Name Description
String FormatName Gets the name of the record format to use to find the parameters.
String LibraryName Gets the IBM i Library Name or .NET Assembly name where program resides.
Int32 MaxOutputLength Gets the Maximum length of result from program call.
String ParmsConstants Gets the comma separated list of constant parameters to be passed to the program.
Int32 ParmsControlsCount Gets the number of controls used as parameters to be passed to the program.
String ParmsFormatFields Gets the comma separated list of field names whose values in a record format, are used as parameters to be passed to the program.
String ProgramName Gets the Program Name to call.