Job Class Members

Job Class Overview

Constructor

Constructor Description
constructor Job Creates a new instance of a Job object.

Public Methods

Method Description
method DeleteOverride Overloaded. Removes the database, print, or workstation file overrides previously applied to the job.
method Dispose Releases managed and unmanaged or just unmanaged resources used by the Job.
method EndPrograms De-activates any program that is still active.
protected methodGetLdaField Deprecated. Use the Visual RPG "IN" command.
public method GetSwitch Returns a value indicating the 'on'/'off' status of a specific job attribute switch.
method GetSwitches Returns a string of 8 characters with values '0' and '1', each character represents one of the job attributes switches.
method OverrideFile Overloaded. Provides Job file override options.
protected method SetLdaField Deprecated. Use the Visual RPG "OUT" command.
method Request Set a value in seconds to wait for programs to shut down elegantly when a session ends.
method SetSwitch Set a value indicating the 'on'/'off' status of a specific job attribute switch.
method ShutDown Terminates the Job program when an abnormal condition occurs.

Protected Methods

Method Description
protected method getADO_Connection Returns a new instance of a System.Data.Common.DbConnection object representing an ADO connection to a database.
protected method getDatabase Returns a new instance of ASNA.VisualRPG.Runtime.Database connection object for the job.
public property getPrinterDB Returns a new instance of ASNA.VisualRPG.Runtime.Database connection object for printer used by the job.

Public Properties

Property Description
public property ADO_Connection Gets the System.Data.Common.DbConnection object representing an ADO connection to a database.
public property CurrentJob Gets the Job object corresponding to this Job.
public property Database Gets the ASNA.VisualRPG.Runtime.Database connection object corresponding to this Job.
public property MesssageFileFolder Gets or sets the name of the folder containing the message file for this job.
public property PrinterDB Gets the ASNA.VisualRPG.Runtime.Database connection object for the printer corresponding to this Job.
public property StartupMoment Gets the System.DateTime when the Job was started.

Public Fields

Field Description
public fields ExternalQueue A reference to an instance of an ASNA.Monarch.MessageQueue object for an external message queue for this job.
public fields LDC A reference to an instance of a LocalDataCollection object containing a collection of name/value pairs.
public fields PsdsJobName The 10-character job name field in the program status data structure.
public fields PsdsJobNumber The 6-digit job number field in the program status data structure.
public fields PsdsJobUser The 10-character user name field in the program status data structure.

Protected Fields

Field Description
fields FileOverrideTable A reference to an instance of a System.Collection.Hashtable representing the file overrides for the job.
protected methodLda Deprecated.
fields messageFileFolder A reference to the message file folder object containing the message file for this job.