Constructor
| Constructor | Description |
|---|---|
Job
|
Creates a new instance of a Job object. |
Public Methods
| Method | Description |
|---|---|
DeleteOverride
|
Overloaded. Removes the database, print, or workstation file overrides previously applied to the job. |
Dispose
|
Releases managed and unmanaged or just unmanaged resources used by the Job. |
EndPrograms
|
De-activates any program that is still active. |
| Deprecated. Use the Visual RPG "IN" command. | |
GetSwitch
|
Returns a value indicating the 'on'/'off' status of a specific job attribute switch. |
GetSwitches
|
Returns a string of 8 characters with values '0' and '1', each character represents one of the job attributes switches. |
OverrideFile
|
Overloaded. Provides Job file override options. |
| Deprecated. Use the Visual RPG "OUT" command. | |
Request
|
Set a value in seconds to wait for programs to shut down elegantly when a session ends. |
SetSwitch
|
Set a value indicating the 'on'/'off' status of a specific job attribute switch. |
ShutDown
|
Terminates the Job program when an abnormal condition occurs. |
Protected Methods
| Method | Description |
|---|---|
getADO_Connection
|
Returns a new instance of a System.Data.Common.DbConnection object representing an ADO connection to a database. |
getDatabase
|
Returns a new instance of ASNA.VisualRPG.Runtime.Database connection object for the job. |
getPrinterDB
|
Returns a new instance of ASNA.VisualRPG.Runtime.Database connection object for printer used by the job. |
Public Properties
| Property | Description |
|---|---|
| Gets the System.Data.Common.DbConnection object representing an ADO connection to a database. | |
| Gets the Job object corresponding to this Job. | |
| Gets the ASNA.VisualRPG.Runtime.Database connection object corresponding to this Job. | |
| Gets or sets the name of the folder containing the message file for this job. | |
| Gets the ASNA.VisualRPG.Runtime.Database connection object for the printer corresponding to this Job. | |
| Gets the System.DateTime when the Job was started. |
Public Fields
| Field | Description |
|---|---|
ExternalQueue
|
A reference to an instance of an ASNA.Monarch.MessageQueue object for an external message queue for this job. |
LDC
|
A reference to an instance of a LocalDataCollection object containing a collection of name/value pairs. |
PsdsJobName
|
The 10-character job name field in the program status data structure. |
PsdsJobNumber
|
The 6-digit job number field in the program status data structure. |
PsdsJobUser
|
The 10-character user name field in the program status data structure. |
Protected Fields
| Field | Description |
|---|---|
| A reference to an instance of a System.Collection.Hashtable representing the file overrides for the job. | |
| Deprecated. | |
| A reference to the message file folder object containing the message file for this job. |
