Program Class Members

Program Class Overview

Public Constructor

Constructor Description
constructor Program Creates a new instance of the Program object.

Protected Methods

Method Description
protected methodDataArea_In Deprecated. Use the Visual RPG "IN" command.
public propertyDataArea_Out Deprecated. Use the Visual RPG "OUT" command.
public propertyDataArea_Unlock Deprecated. Use the Visual RPG "UNLOCK" command.
public property ExecCommand Executes the Program command specified in cmdText.
protected methodGetLdaField Deprecated. Use the Visual RPG "IN" command.
public property RemoveMessage Overloaded. Remove messages from the program message queue of the caller's caller or specific program message queue.
public property SendExternalMessage Append a message to the external message queue.
public property SendProgramMessage Overloaded. Appends different message types to the program message queue associated with the caller's caller or to the specified program message queue.
protected methodSetLdaField Deprecated. Use the Visual RPG "OUT" command.

Public Methods

Method Description
method Dispose Releases managed and unmanaged or just unmanaged resources used by the object.
method ExecuteSQL_Query Overloaded methods to execute a SQL query command.
method ExecuteSQL_QueryVerbatim Overloaded methods to execute a SQL query command with the string text exactly as contained in the original legacy source code
method ExecuteSQL_Statement Overloaded methods to execute a SQL command statement.
method ExecuteSQL_StatementVerbatim Overloaded methods to execute a SQL command statement with the string text exactly as contained in the original legacy source code.

Protected Properties


protected property MonarchJob Gets the name of the ASNA.Monarch.Job under which the Program is running.

Public Fields

Field Description
fields SqlQueryResults A field containing a collection representing the query results.

Protected Fields

Field Description
fields SQLCA SQL_CommunicationsArea object that represents the SQLCA to trap and report run-time errors for the Program.
fields StartupMoment A read-only field containing the System.DateTime of when the program started.