public class Job
extends java.lang.Object
implements java.io.Serializable
Some of the attributes have associated 'get' and 'set' methods defined in this class. These are provided for backwards compatibility with previous versions of the IBM Toolbox for Java. The complete set of attribute values can be accessed using the public constants.
Note: Most of the 'get' methods will either go to the system to retrieve the job attribute value, or will return a cached value if the attribute was previously retrieved or previously set by setValue()
or one of the other 'set' methods. Use loadInformation()
to refresh the attribute values from the system.
For example:
Job job = new Job(system, jobName, userName, jobNumber); while (job.getStatus().equals(Job.JOB_STATUS_ACTIVE)) { // Wait a while. Thread.sleep(1000); // Refresh the attribute values. job.loadInformation(); } System.out.println("Job status is: " + job.getStatus());
Note: Jobs created by SBMJOB tend to get cleaned-up immediately upon job completion (if no spooled files were created); whereupon getStatus(), getCompletionStatus(), and most other 'get' methods will throw an AS400Exception containing an AS400Message indicating "Internal job identifier no longer valid" (message ID CPF3C52). That exception should be interpreted as an indication that the job has completed.
Note: To obtain information about the job in which a program or command runs, do something like the following:
AS400 system = new AS400(); ProgramCall pgm = new ProgramCall(system); pgm.setThreadSafe(true); // Indicates that the program is to be run on-thread. String jobNumber = pgm.getServerJob().getNumber();(If the program or command is not to be run on-thread, omit the
setThreadSafe()
call.)Modifier and Type | Field and Description |
---|---|
static int |
ACCOUNTING_CODE
Job attribute representing an identifier assigned to the job by the system to collect resource use information for the job when job accounting is active.
|
static java.lang.String |
ACCOUNTING_CODE_BLANK
Constant indicating the accounting code is changed to all blanks.
|
static int |
ACTIVE_JOB_STATUS
Job attribute representing the active status of the initial thread of a job.
|
static java.lang.String |
ACTIVE_JOB_STATUS_DISCONNECTED
Constant indicating that a job was disconnected from a work station display.
|
static java.lang.String |
ACTIVE_JOB_STATUS_ENDED
Constant indicating that a job has been ended with the *IMMED option, or its delay time has ended with the *CNTRLD option.
|
static java.lang.String |
ACTIVE_JOB_STATUS_ENDING
Constant indicating that a job is ending for a reason other than running the End Job (ENDJOB) or End Subsystem (ENDSBS) commands, such as a SIGNOFF command, an End Group Job (ENDGRPJOB) command, or an exception that is not handled.
|
static int |
ACTIVE_JOB_STATUS_FOR_JOBS_ENDING
Job attribute representing the status of what the initial thread of a job is currently doing, when the active job status is ACTIVE_JOB_STATUS_ENDED or ACTIVE_JOB_STATUS_ENDING.
|
static java.lang.String |
ACTIVE_JOB_STATUS_HELD
Constant indicating that a job is held.
|
static java.lang.String |
ACTIVE_JOB_STATUS_HELD_THREAD
Constant indicating that a job is held due to a suspended thread.
|
static java.lang.String |
ACTIVE_JOB_STATUS_INELIGIBLE
Constant indicating that a job is ineligible and not currently in a pool activity level.
|
static java.lang.String |
ACTIVE_JOB_STATUS_NONE
Constant indicating that a job is in transition or is not active.
|
static java.lang.String |
ACTIVE_JOB_STATUS_RUNNING
Constant indicating that a job is currently running in a pool activity level.
|
static java.lang.String |
ACTIVE_JOB_STATUS_STOPPED
Constant indicating that a job has stopped as the result of a signal.
|
static java.lang.String |
ACTIVE_JOB_STATUS_SUSPENDED
Constant indicating that a job is suspended by a Transfer Group Job (TFRGRPJOB) command.
|
static java.lang.String |
ACTIVE_JOB_STATUS_SUSPENDED_SYSTEM_REQUEST
Constant indicating that a job is the suspended half of a system request job pair.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_BIN_SYNCH_DEVICE
Constant indicating that a job is waiting for the completion of an I/O operation to a binary synchronous device.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_BIN_SYNCH_DEVICE_AND_ACTIVE
Constant indicating that a job is waiting in a pool activity level for the completion of an I/O operation to a binary synchronous device.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_CHECKPOINT
Constant indicating that a job is waiting for the completion of save-while-active checkpoint processing in another job.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_COMM_DEVICE
Constant indicating that a job is waiting for the completion of an I/O operation to a communications device.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_COMM_DEVICE_AND_ACTIVE
Constant indicating that a job is waiting in a pool activity level for the completion of an I/O operation to a communications device.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_CONDITION
Constant indicating that a job is waiting on a handle-based condition.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_CPI_COMM
Constant indicating that a job is waiting for the completion of a CPI communications call.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_DATABASE_EOF
Constant indicating that a job is waiting to try a read operation again on a database file after the end-of-file (EOF) has been reached.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_DATABASE_EOF_AND_ACTIVE
Constant indicating that a job is waiting in a pool activity level to try a read operation again on a database file after the end-of-file (EOF) has been reached.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_DELAY
Constant indicating that a job is waiting for a specified time interval to end, or for a specific delay end time, as specified on the Delay Job (DLYJOB) command.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_DELAYED
Constant indicating that a job is waiting for a specified time interval to end, or for a specific delay end time, as specified on the Delay Job (DLYJOB) command.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_DEQUEUE
Constant indicating that a job is waiting for completion of a dequeue operation.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_DEQUEUE_AND_ACTIVE
Constant indicating that a job is waiting in the pool activity level for completion of a dequeue operation.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_DISKETTE
Constant indicating that a job is waiting for the completion of an I/O operation to a diskette unit.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_DISKETTE_AND_ACTIVE
Constant indicating that a job is waiting in a pool activity level for the completion of an I/O operation to a diskette unit.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_DISPLAY
Constant indicating that a job is waiting for input from a work station display.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_DISPLAY_AND_ACTIVE
Constant indicating that a job is waiting in a pool activity level for input from a work station display.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_EVENT
Constant indicating that a job is waiting for an event.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_ICF_FILE
Constant indicating that a job is waiting for the completion of an I/O operation to an intersystem communications function (ICF) file.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_ICF_FILE_AND_ACTIVE
Constant indicating that a job is waiting in a pool activity level for the completion of an I/O operation to an intersystem communications function (ICF) file.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_JAVA
Constant indicating that a job is waiting for a Java program operation to complete.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_JAVA_AND_ACTIVE
Constant indicating that a job is waiting in a pool activity level for a Java program operation to complete.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_LOCK
Constant indicating that a job is waiting for a lock.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_LOCK_SPACE
Constant indicating that a job is waiting for a lock space to be attached.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_LOCK_SPACE_AND_ACTIVE
Constant indicating that a job is waiting in a pool activity level for for a lock space to be attached.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_MESSAGE
Constant indicating that a job is waiting for a message from a message queue.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_MIXED_DEVICE_FILE
Constant indicating that a job is waiting for the completion of an I/O operation to a mixed device file.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_MULTIPLE_FILES
Constant indicating that a job is waiting for the completion of an I/O operation to multiple files.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_MULTIPLE_FILES_AND_ACTIVE
Constant indicating that a job is waiting in a pool activity level for the completion of an I/O operation to multiple files.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_MUTEX
Constant indicating that a job is waiting for a mutex.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_OPTICAL_DEVICE
Constant indicating that a job is waiting for the completion of an I/O operation to an optical device.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_OPTICAL_DEVICE_AND_ACTIVE
Constant indicating that a job is waiting in a pool activity level for the completion of an I/O operation to an optical device.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_OSI
Constant indicating that a job is waiting for the completion of an OSI Communications Subsystem operation.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_PRESTART
Constant indicating that a prestart job is waiting for a program start request.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_PRINT
Constant indicating that a job is waiting for output to a printer to complete.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_PRINT_AND_ACTIVE
Constant indicating that a job is waiting in a pool activity level for output to a printer to complete.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_SAVE_FILE
Constant indicating that a job is waiting for the completion of a save file operation.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_SAVE_FILE_AND_ACTIVE
Constant indicating that a job is waiting in a pool activity level for the completion of a save file operation.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_SELECTION
Constant indicating that a job is waiting for a selection to complete.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_SEMAPHORE
Constant indicating that a job is waiting for a semaphore.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_SIGNAL
Constant indicating that a job is waiting for a signal.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_TAPE_DEVICE
Constant indicating that a job is waiting for the completion of an I/O operation to a tape device.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_TAPE_DEVICE_AND_ACTIVE
Constant indicating that a job is waiting in a pool activity level for the completion of an I/O operation to a tape device.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_THREAD
Constant indicating that a job is waiting for another thread to complete an operation.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_TIME_INTERVAL
Constant indicating that a job is waiting for a time interval to end.
|
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_TIME_INTERVAL_AND_ACTIVE
Constant indicating that a job is waiting in a pool activity level for a time interval to end.
|
static int |
ALLOW_MULTIPLE_THREADS
Job attribute representing whether a job allows multiple user threads.
|
static java.lang.String |
ALLOW_MULTIPLE_THREADS_NO
Constant indicating that a job does not allow multiple user threads.
|
static java.lang.String |
ALLOW_MULTIPLE_THREADS_YES
Constant indicating that a job allows multiple user threads.
|
static int |
ASP_GROUP
Job attribute representing the ASP group information
Read-only: true
Type: String
Only valid on V5R1 systems and higher.
|
static int |
AUXILIARY_IO_REQUESTS
Job attribute representing the number of auxiliary I/O requests performed by the job across all routing steps.
|
static int |
AUXILIARY_IO_REQUESTS_LARGE
Job attribute representing the number of auxiliary I/O requests performed by the job across all routing steps.
|
static int |
BREAK_MESSAGE_HANDLING
Job attribute representing how a job handles break messages.
|
static java.lang.String |
BREAK_MESSAGE_HANDLING_HOLD
Constant indicating that the message queue holds break messages until a user or program requests them.
|
static java.lang.String |
BREAK_MESSAGE_HANDLING_NORMAL
Constant indicating that the message queue status determines break message handling.
|
static java.lang.String |
BREAK_MESSAGE_HANDLING_NOTIFY
Constant indicating that the system notifies the job's message queue when a message arrives.
|
static int |
CCSID
Job attribute representing the coded character set identifier used for this job.
|
static int |
CCSID_INITIAL_USER
Constant indicating that the CCSID specified in the user profile under which this thread was initially running is used.
|
static int |
CCSID_SYSTEM_VALUE
Constant indicating that the CCSID specified in the system value QCCSID is used.
|
static int |
CHARACTER_ID_CONTROL
Job attribute representing the character identifier control for a job.
|
static java.lang.String |
CHARACTER_ID_CONTROL_DEVICE
Constant indicating to perform the same function for *DEVD as on the CHRID command parameter for display files, printer files, and panel groups.
|
static java.lang.String |
CHARACTER_ID_CONTROL_INITIAL_USER
Constant indicating the CHRIDCTL specified in the user profile under which this thread was initially running will be used.
|
static java.lang.String |
CHARACTER_ID_CONTROL_JOB
Constant indicating to perform the same function for *JOBCCSID as on the CHRID command parameter for display files, printer files, and panel groups.
|
static java.lang.String |
CHARACTER_ID_CONTROL_SYSTEM_VALUE
Constant indicating the value in the QCHRIDCTL system value will be used.
|
static int |
CLIENT_IP_ADDRESS
Job attribute representing the IPv4 address of the client for which this system is doing work.
|
static int |
COMPLETION_STATUS
Job attribute representing the completion status for a job.
|
static java.lang.String |
COMPLETION_STATUS_COMPLETED_ABNORMALLY
Constant indicating that the job completed abnormally.
|
static java.lang.String |
COMPLETION_STATUS_COMPLETED_NORMALLY
Constant indicating that the job completed normally.
|
static java.lang.String |
COMPLETION_STATUS_NOT_COMPLETED
Constant indicating that the job has not completed.
|
static int |
CONTROLLED_END_REQUESTED
Job attribute representing whether or not the system issued a controlled cancellation.
|
static int |
COUNTRY_ID
Job attribute representing the country or region identifier associated with this job.
|
static java.lang.String |
COUNTRY_ID_INITIAL_USER
Constant indicating the country or region ID specified in the user profile under which this thread was initially running is used.
|
static java.lang.String |
COUNTRY_ID_SYSTEM_VALUE
Constant indicating the system value QCNTRYID is used.
|
static int |
CPU_TIME_USED
Job attribute representing the amount of processing unit time (in milliseconds) that the job used.
|
static int |
CPU_TIME_USED_FOR_DATABASE
Job attribute representing the amount of processing unit time (in milliseconds) that the job used for processing data base requests across all routing steps.
|
static int |
CPU_TIME_USED_LARGE
Job attribute representing the amount of processing unit time (in milliseconds) that the job used across all routing steps.
|
static int |
CURRENT_LIBRARY
Job attribute representing the name of the current library for the initial thread of the job.
|
static int |
CURRENT_LIBRARY_EXISTENCE
Job attribute representing whether or not a current library exists for the job.
|
static int |
CURRENT_SYSTEM_POOL_ID
Job attribute representing the identifier of the system-related pool from which main storage is currently being allocated for the job's initial thread.
|
static int |
CURRENT_USER
Job attribute representing the user profile that the initial thread of the job for which information is being retrieved is currently running under.
|
static int |
DATE_ENDED
Job attribute representing the date and time when the job completed running on the system.
|
static int |
DATE_ENTERED_SYSTEM
Job attribute representing the date and time when the job was placed on the system.
|
static int |
DATE_FORMAT
Job attribute representing the format in which dates are presented.
|
static java.lang.String |
DATE_FORMAT_DMY
Constant indicating a date format of day, month, and year.
|
static java.lang.String |
DATE_FORMAT_JULIAN
Constant indicating a Julian date format (year and day).
|
static java.lang.String |
DATE_FORMAT_MDY
Constant indicating a date format of month, day, and year.
|
static java.lang.String |
DATE_FORMAT_SYSTEM_VALUE
Constant indicating the system value QDATFMT is used.
|
static java.lang.String |
DATE_FORMAT_YMD
Constant indicating a date format of year, month, and day.
|
static int |
DATE_SEPARATOR
Job attribute representing the value used to separate days, months, and years when presenting a date.
|
static java.lang.String |
DATE_SEPARATOR_BLANK
Constant indicating a blank is used for the date separator.
|
static java.lang.String |
DATE_SEPARATOR_COMMA
Constant indicating a comma (,) is used for the date separator.
|
static java.lang.String |
DATE_SEPARATOR_DASH
Constant indicating a dash (-) is used for the date separator.
|
static java.lang.String |
DATE_SEPARATOR_PERIOD
Constant indicating a period (.) is used for the date separator.
|
static java.lang.String |
DATE_SEPARATOR_SLASH
Constant indicating a slash (/) is used for the date separator.
|
static java.lang.String |
DATE_SEPARATOR_SYSTEM_VALUE
Constant indicating the system value QDATSEP is used for the date separator.
|
static int |
DATE_STARTED
Job attribute representing the date and time when the job began to run on the system.
|
static int |
DBCS_CAPABLE
Job attribute representing whether the job is DBCS-capable or not.
|
static java.lang.String |
DBCS_CAPABLE_NO
Constant indicating that the job is not DBCS-capable.
|
static java.lang.String |
DBCS_CAPABLE_YES
Constant indicating that the job is DBCS-capable.
|
static int |
DECIMAL_FORMAT
Job attribute representing the decimal format used for this job.
|
static java.lang.String |
DECIMAL_FORMAT_COMMA_I
Constant indicating a decimal format that uses a comma for a decimal point, a period for a 3-digit grouping character, and zero-suppresses to the left of the decimal point.
|
static java.lang.String |
DECIMAL_FORMAT_COMMA_J
Constant indicating a decimal format that uses a comma for a decimal point and a period for a 3-digit grouping character.
|
static java.lang.String |
DECIMAL_FORMAT_PERIOD
Constant indicating a decimal format that uses a period for a decimal point, a comma for a 3-digit grouping character, and zero-suppresses to the left of the decimal point.
|
static java.lang.String |
DECIMAL_FORMAT_SYSTEM_VALUE
Constant indicating the value in the system value QDECFMT is used as the decimal format for this job.
|
static int |
DEFAULT_CCSID
Job attribute representing the default coded character set identifier (CCSID) used for this job.
|
static int |
DEFAULT_WAIT_TIME
Job attribute representing the default maximum time (in seconds) that a thread in the job waits for a system instruction, such as a LOCK machine interface (MI) instruction, to acquire a resource.
|
static int |
DEVICE_RECOVERY_ACTION
Job attribute representing the action taken for interactive jobs when an I/O error occurs for the job's requesting program device.
|
static java.lang.String |
DEVICE_RECOVERY_ACTION_DISCONNECT_END_REQUEST
Constant indicating a device recovery action that disconnects the job when an I/O error occurs.
|
static java.lang.String |
DEVICE_RECOVERY_ACTION_DISCONNECT_MESSAGE
Constant indicating a device recovery action that disconnects the job when an I/O error occurs.
|
static java.lang.String |
DEVICE_RECOVERY_ACTION_END_JOB
Constant indicating a device recovery action that ends the job when an I/O error occurs.
|
static java.lang.String |
DEVICE_RECOVERY_ACTION_END_JOB_NO_LIST
Constant indicating a device recovery action that ends the job when an I/O error occurs.
|
static java.lang.String |
DEVICE_RECOVERY_ACTION_MESSAGE
Constant indicating a device recovery action that signals the I/O error message to the application and lets the application program perform error recovery.
|
static java.lang.String |
DEVICE_RECOVERY_ACTION_SYSTEM_VALUE
Constant indicating the value in the system value QDEVRCYACN is used as the device recovery action for this job.
|
static int |
ELAPSED_CPU_PERCENT_USED
Job attribute representing the percentage of processing time used during the elapsed time.
|
static int |
ELAPSED_CPU_PERCENT_USED_FOR_DATABASE
Job attribute representing the percentage of processing unit used for database processing during the elapsed time.
|
static int |
ELAPSED_CPU_TIME_USED
Job attribute representing the amount of processing unit time (in milliseconds) used during the elapsed time.
|
static int |
ELAPSED_CPU_TIME_USED_FOR_DATABASE
Job attribute representing the amount of processing unit time (in milliseconds) used for database processing during the elapsed time.
|
static int |
ELAPSED_DISK_IO
Job attribute representing the number of disk I/O operations performed by the job during the elapsed time.
|
static int |
ELAPSED_DISK_IO_ASYNCH
Job attribute representing the number of asynchronous (physical) disk I/O operations performed by the job during the elapsed time.
|
static int |
ELAPSED_DISK_IO_SYNCH
Job attribute representing the number of synchronous (physical) disk I/O operations performed by the job during the elapsed time.
|
static int |
ELAPSED_INTERACTIVE_RESPONSE_TIME
Job attribute representing the total interactive response time for the initial thread (in hundredths of seconds) for the job during the elapsed time.
|
static int |
ELAPSED_INTERACTIVE_TRANSACTIONS
Job attribute representing the number of user interactions, such as pressing the Enter key or a function key, for the job during the elapsed time for the initial thread.
|
static int |
ELAPSED_LOCK_WAIT_TIME
Job attribute representing the amount of time (in milliseconds) that the initial thread has to wait to obtain database, nondatabase, and internal machine locks during the elapsed time.
|
static int |
ELAPSED_PAGE_FAULTS
Job attribute representing the number of times an active program referenced an address that is not in main storage for the current routing step during the elapsed time.
|
static int |
ELAPSED_TIME
Job attribute representing the time (in milliseconds) that has elapsed between the measurement start time and the current system time.
|
static int |
ELIGIBLE_FOR_PURGE
Job attribute representing whether or not the job is eligible to be moved out of main storage and put into auxiliary storage at the end of a time slice or when entering a long wait (such as waiting for a work station user's response).
|
static java.lang.String |
ELIGIBLE_FOR_PURGE_IGNORED
Constant indicating that whether a job is eligible for purge or not is ignored because the job type is either *JOBQ or *OUTQ, or the job is not valid.
|
static java.lang.String |
ELIGIBLE_FOR_PURGE_NO
Constant indicating that a job is not eligible to be moved out of main storage and put into auxiliary storage.
|
static java.lang.String |
ELIGIBLE_FOR_PURGE_YES
Constant indicating that the job is eligible to be moved out of main storage and put into auxiliary storage.
|
static int |
END_SEVERITY
Job attribute representing the message severity level of escape messages that can cause a batch job to end.
|
static java.lang.String |
END_STATUS_CANCELLED
Constant indicating that the system, the subsystem in which a job is running, or the job itself is cancelled.
|
static java.lang.String |
END_STATUS_JOB_NOT_RUNNING
Constant indicating that the job is not running.
|
static java.lang.String |
END_STATUS_NOT_CANCELLED
Constant indicating that the system, the subsystem in which a job is running, or the job itself is not cancelled.
|
static int |
FUNCTION_NAME
Job attribute representing additional information (as described by the FUNCTION_TYPE attribute) about the last high-level function initiated by the initial thread.
|
static int |
FUNCTION_TYPE
Job attribute representing the last high-level function initiated by the initial thread.
|
static java.lang.String |
FUNCTION_TYPE_BLANK
Constant indicating that the system is not performing a logged function.
|
static java.lang.String |
FUNCTION_TYPE_COMMAND
Constant indicating that a command is running interactively, or it is in a batch input stream, or it was requested from a system menu.
|
static java.lang.String |
FUNCTION_TYPE_DELAY
Constant indicating that the initial thread of the job is processing a Delay Job (DLYJOB) command.
|
static java.lang.String |
FUNCTION_TYPE_GROUP
Constant indicating that the Transfer Group Job (TFRGRPJOB) command suspended the job.
|
static java.lang.String |
FUNCTION_TYPE_INDEX
Constant indicating that the initial thread of the job is rebuilding an index (access path).
|
static java.lang.String |
FUNCTION_TYPE_IO
Constant indicating that the job is a subsystem monitor that is performing input/output (I/O) operations to a work station.
|
static java.lang.String |
FUNCTION_TYPE_JAVA
Constant indicating that the initial thread of the job is running a Java Vertual Machine (JVM).
|
static java.lang.String |
FUNCTION_TYPE_LOG
Constant indicating that the system logs history information in a database file.
|
static java.lang.String |
FUNCTION_TYPE_MENU
Constant indicating that the initial thread of the job is currently at a system menu.
|
static java.lang.String |
FUNCTION_TYPE_MRT
Constant indicating that the job is a multiple requester terminal (MRT) job if the
JOB_TYPE is JOB_TYPE_BATCH and the JOB_SUBTYPE is JOB_SUBTYPE_MRT , or it is an interactive job attached to an MRT job if the JOB_TYPE is JOB_TYPE_INTERACTIVE . |
static java.lang.String |
FUNCTION_TYPE_PROCEDURE
Constant indicating that the initial thread of the job is running a procedure.
|
static java.lang.String |
FUNCTION_TYPE_PROGRAM
Constant indicating that the initial thread of the job is running a program.
|
static java.lang.String |
FUNCTION_TYPE_SPECIAL
Constant indicating that the function type is a special function.
|
static long |
INITIAL_THREAD
Constant indicating that the initial thread of the job should be used when retrieving the call stack.
|
static int |
INQUIRY_MESSAGE_REPLY
Job attribute representing how the job answers inquiry messages.
|
static java.lang.String |
INQUIRY_MESSAGE_REPLY_DEFAULT
Constant indicating that the system uses the default message reply to answer any inquiry messages issued while this job is running.
|
static java.lang.String |
INQUIRY_MESSAGE_REPLY_REQUIRED
Constant indicating that the job requires an answer for any inquiry messages that occur while this job is running.
|
static java.lang.String |
INQUIRY_MESSAGE_REPLY_SYSTEM_REPLY_LIST
Constant indicating that the system reply list is checked to see if there is an entry for an inquiry message issued while this job is running.
|
static int |
INSTANCE
Job attribute representing the instance portion of the unit of work ID.
|
static int |
INTERACTIVE_TRANSACTIONS
Job attribute representing the count of operator interactions, such as pressing the Enter key or a function key.
|
static int |
INTERNAL_JOB_ID
Deprecated.
Use
INTERNAL_JOB_IDENTIFIER instead. The internal job identifier should be treated as a byte array of 16 bytes. |
static int |
INTERNAL_JOB_IDENTIFIER
Job attribute representing the value input to other APIs to increase the speed of locating the job on the system.
|
static int |
JOB_DATE
Job attribute representing the date used for the job.
|
static int |
JOB_DESCRIPTION
Job attribute representing a set of job-related attributes used for one or more jobs on the system.
|
static int |
JOB_END_REASON
Job attribute representing the most recent action that caused the job to end.
|
static int |
JOB_LOG_OUTPUT
Job attribute representing how a job log will be produced when the job completes.
|
static java.lang.String |
JOB_LOG_OUTPUT_JOB_END
Constant indicating that the job log will be produced by the job itself.
|
static java.lang.String |
JOB_LOG_OUTPUT_JOB_LOG_SERVER
Constant indicating that the job log will be produced by a job log server.
|
static java.lang.String |
JOB_LOG_OUTPUT_PENDING
Constant indicating that the job log will not be produced.
|
static java.lang.String |
JOB_LOG_OUTPUT_SYSTEM_VALUE
Constant indicating that the value is specifed by the QLOGOUTPUT system value.
|
static int |
JOB_LOG_PENDING
Job attribute representing whether a job's log has been written or not.
|
static java.lang.String |
JOB_LOG_PENDING_NO
Constant indicating that the job log is not pending.
|
static java.lang.String |
JOB_LOG_PENDING_YES
Constant indicating that the job log is pending and waiting to be written.
|
static int |
JOB_NAME
Job attribute representing the name of the job as identified to the system.
|
static java.lang.String |
JOB_NAME_CURRENT
Constant indicating the job that this program is running in.
|
static java.lang.String |
JOB_NAME_INTERNAL
Constant indicating that the INTERNAL_JOB_ID locates the job.
|
static int |
JOB_NUMBER
Job attribute representing the system-generated job number.
|
static java.lang.String |
JOB_NUMBER_BLANK
Constant indicating a blank job number.
|
static int |
JOB_QUEUE
Job attribute representing the name of the job queue that the job is currently on, or that the job was on if it is currently active.
|
static int |
JOB_QUEUE_DATE
Job attribute representing the date and time this job was put on this job queue.
|
static int |
JOB_QUEUE_PRIORITY
Job attribute representing the scheduling priority of the job compared to other jobs on the same job queue.
|
static int |
JOB_QUEUE_STATUS
Job attribute representing the status of this job on the job queue.
|
static java.lang.String |
JOB_QUEUE_STATUS_BLANK
Constant indicating that this job was not on a job queue.
|
static java.lang.String |
JOB_QUEUE_STATUS_HELD
Constant indicating that this job is being held on the job queue.
|
static java.lang.String |
JOB_QUEUE_STATUS_READY
Constant indicating that this job is ready to be selected.
|
static java.lang.String |
JOB_QUEUE_STATUS_SCHEDULED
Constant indicating that this job will run as scheduled.
|
static int |
JOB_STATUS
Job attribute representing the status of this job.
|
static java.lang.String |
JOB_STATUS_ACTIVE
Constant indicating this job is an active job.
|
static java.lang.String |
JOB_STATUS_JOBQ
Constant indicating this job is currently on a job queue.
|
static java.lang.String |
JOB_STATUS_OUTQ
Constant indicating this job has completed running, but still has output on an output queue.
|
static int |
JOB_SUBTYPE
Job attribute representing additional information about the job type (if any exists).
|
static java.lang.String |
JOB_SUBTYPE_ALTERNATE_SPOOL_USER
Constant indicating that the job is an alternate spool user job.
|
static java.lang.String |
JOB_SUBTYPE_BLANK
Constant indicating that the job has no special subtype or is not a valid job.
|
static java.lang.String |
JOB_SUBTYPE_IMMEDIATE
Constant indicating that the job is an immediate job.
|
static java.lang.String |
JOB_SUBTYPE_MACHINE_SERVER_JOB
Constant indicating that the job is an AS/400 Advanced 36 machine server job.
|
static java.lang.String |
JOB_SUBTYPE_MRT
Constant indicating that the job is a System/36 multiple requester terminal (MRT) job.
|
static java.lang.String |
JOB_SUBTYPE_PRESTART
Constant indicating that the job is a prestart job.
|
static java.lang.String |
JOB_SUBTYPE_PRINT_DRIVER
Constant indicating that the job is a print driver job.
|
static java.lang.String |
JOB_SUBTYPE_PROCEDURE_START_REQUEST
Constant indicating that the job started with a procedure start request.
|
static int |
JOB_SWITCHES
Job attribute representing the current setting of the job switches used by this job.
|
static int |
JOB_TYPE
Job attribute representing the type of job.
|
static java.lang.String |
JOB_TYPE_AUTOSTART
Constant indicating that the job is an autostart job.
|
static java.lang.String |
JOB_TYPE_BATCH
Constant indicating that the job is a batch job.
|
static int |
JOB_TYPE_ENHANCED
Job attribute representing the type of job.
|
static java.lang.Integer |
JOB_TYPE_ENHANCED_AUTOSTART
Constant indicating that the job is an autostart job.
|
static java.lang.Integer |
JOB_TYPE_ENHANCED_BATCH
Constant indicating that the job is a batch job.
|
static java.lang.Integer |
JOB_TYPE_ENHANCED_BATCH_ALTERNATE_SPOOL_USER
Constant indicating that the job is a batch alternate spool user job.
|
static java.lang.Integer |
JOB_TYPE_ENHANCED_BATCH_IMMEDIATE
Constant indicating that the job is a batch immediate job.
|
static java.lang.Integer |
JOB_TYPE_ENHANCED_BATCH_MRT
Constant indicating that the job is a batch System/36 multiple requester terminal (MRT) job.
|
static java.lang.Integer |
JOB_TYPE_ENHANCED_COMM_PROCEDURE_START_REQUEST
Constant indicating that the job is a communications procedure start request job.
|
static java.lang.Integer |
JOB_TYPE_ENHANCED_INTERACTIVE
Constant indicating that the job is an interactive job.
|
static java.lang.Integer |
JOB_TYPE_ENHANCED_INTERACTIVE_GROUP
Constant indicating that the job is an interactive job that is part of a group.
|
static java.lang.Integer |
JOB_TYPE_ENHANCED_INTERACTIVE_SYSREQ
Constant indicating that the job is an interactive job that is part of a system request pair.
|
static java.lang.Integer |
JOB_TYPE_ENHANCED_INTERACTIVE_SYSREQ_AND_GROUP
Constant indicating that the job is an interactive job that is part of a system request pair and part of a group.
|
static java.lang.Integer |
JOB_TYPE_ENHANCED_PRESTART
Constant indicating that the job is a prestart job.
|
static java.lang.Integer |
JOB_TYPE_ENHANCED_PRESTART_BATCH
Constant indicating that the job is a prestart batch job.
|
static java.lang.Integer |
JOB_TYPE_ENHANCED_PRESTART_COMM
Constant indicating that the job is a prestart communications job.
|
static java.lang.Integer |
JOB_TYPE_ENHANCED_READER
Constant indicating that the job is a reader job.
|
static java.lang.Integer |
JOB_TYPE_ENHANCED_SUBSYSTEM
Constant indicating that the job is a subsystem job.
|
static java.lang.Integer |
JOB_TYPE_ENHANCED_SYSTEM
Constant indicating that the job is a system job (all system jobs including SCPF).
|
static java.lang.Integer |
JOB_TYPE_ENHANCED_WRITER
Constant indicating that the job is a writer job (including both spool writers and print drivers).
|
static java.lang.String |
JOB_TYPE_INTERACTIVE
Constant indicating that the job is an interactive job.
|
static java.lang.String |
JOB_TYPE_NOT_VALID
Constant indicating that the job is not a valid job.
|
static java.lang.String |
JOB_TYPE_SCPF_SYSTEM
Constant indicating that the job is the SCPF system job.
|
static java.lang.String |
JOB_TYPE_SPOOLED_READER
Constant indicating that the job is a spooled reader job.
|
static java.lang.String |
JOB_TYPE_SPOOLED_WRITER
Constant indicating that the job is a spooled writer job.
|
static java.lang.String |
JOB_TYPE_SUBSYSTEM_MONITOR
Constant indicating that the job is a subsystem monitor job.
|
static java.lang.String |
JOB_TYPE_SYSTEM
Constant indicating that the job is a system job.
|
static int |
JOB_USER_IDENTITY
Job attribute representing the user profile name by which the job is known to other jobs on the system.
|
static int |
JOB_USER_IDENTITY_SETTING
Job attribute representing the method by which the job user identity was set.
|
static java.lang.String |
JOB_USER_IDENTITY_SETTING_APPLICATION
Constant indicating that the job user identity was explicitly set by an application using one of the Set Job User Identity APIs, QWTSJUID or QwtSetJuid().
|
static java.lang.String |
JOB_USER_IDENTITY_SETTING_DEFAULT
Constant indicating that the job is currently running single threaded and the job user identity is the name of the user profile under which the job is currently running.
|
static java.lang.String |
JOB_USER_IDENTITY_SETTING_SYSTEM
Constant indicating that the job is currently running multithreaded and the job user identity was implicitly set by the system when the job became multithreaded.
|
static int |
KEEP_DDM_CONNECTIONS_ACTIVE
Job attribute representing whether connections using distributed data management (DDM) protocols remain active when they are not being used.
|
static java.lang.String |
KEEP_DDM_CONNECTIONS_ACTIVE_DROP
Constant indicating that the system ends a DDM connection when there are no users.
|
static java.lang.String |
KEEP_DDM_CONNECTIONS_ACTIVE_KEEP
Constant indicating that the system keeps DDM connections active when there are no users, except for the following:
The routing step ends on the source system.
|
static int |
LANGUAGE_ID
Job attribute representing the language identifier associated with this job.
|
static java.lang.String |
LANGUAGE_ID_INITIAL_USER
Constant indicating the language ID specified in the user profile under which this thread was initially running is used.
|
static java.lang.String |
LANGUAGE_ID_SYSTEM_VALUE
Constant indicating the system value QLANGID is used.
|
static int |
LOCATION_NAME
Job attribute representing the location name portion of the unit of work ID.
|
static int |
LOG_CL_PROGRAMS
Job attribute representing whether or not commands are logged for CL programs that are run.
|
static java.lang.String |
LOG_CL_PROGRAMS_NO
Constant indicating that commands are not logged for CL programs that are run.
|
static java.lang.String |
LOG_CL_PROGRAMS_YES
Constant indicating that commands are logged for CL programs that are run.
|
static int |
LOGGING_LEVEL
Job attribute representing what type of information is logged.
|
static java.lang.String |
LOGGING_LEVEL_ALL_REQUESTS_AND_ASSOCIATED_MESSAGES
Constant indicating that the following information is logged:
Logging level 1 and 2 information is logged.
|
static java.lang.String |
LOGGING_LEVEL_ALL_REQUESTS_AND_MESSAGES
Constant indicating that the following information is logged:
All request messages and all messages with a severity greater than or equal to the message logging severity, including trace messages.
|
static java.lang.String |
LOGGING_LEVEL_MESSAGES_BY_SEVERITY
Constant indicating that all messages sent to the job's external message queue with a severity greater than or equal to the message logging severity are logged.
|
static java.lang.String |
LOGGING_LEVEL_NONE
Constant indicating that no messages are logged.
|
static java.lang.String |
LOGGING_LEVEL_REQUESTS_BY_SEVERITY_AND_ASSOCIATED_MESSAGES
Constant indicating that the following information is logged:
Logging level 1 information.
|
static int |
LOGGING_SEVERITY
Job attribute representing the severity level that is used in conjunction with the logging level to determine which error messages are logged in the job log.
|
static int |
LOGGING_TEXT
Job attribute representing the level of message text that is written in the job log when a message is logged according to the LOGGING_LEVEL and LOGGING_SEVERITY.
|
static java.lang.String |
LOGGING_TEXT_MESSAGE
Constant indicating that only the message text is written to the job log.
|
static java.lang.String |
LOGGING_TEXT_NO_LIST
Constant indicating that if the job ends normally, no job log is produced.
|
static java.lang.String |
LOGGING_TEXT_SECLVL
Constant indicating that both the message text and the message help (cause and recovery) of the error message are written to the job log.
|
static int |
MAX_CPU_TIME
Job attribute representing the maximum processing unit time (in milliseconds) that the job can use.
|
static int |
MAX_TEMP_STORAGE
Job attribute representing the maximum amount of auxiliary storage (in kilobytes) that the job can use.
|
static int |
MAX_TEMP_STORAGE_LARGE
Job attribute representing the maximum amount of auxiliary storage (in megabytes) that the job can use.
|
static int |
MAX_THREADS
Job attribute representing the maximum number of threads that a job can run with at any time.
|
static int |
MEMORY_POOL
Job attribute representing the name of the memory pool in which the job started running.
|
static java.lang.String |
MEMORY_POOL_BASE
Constant indicating that this job is running in the base system pool, which can be shared with other subsystems.
|
static java.lang.String |
MEMORY_POOL_INTERACTIVE
Constant indicating that this job is running in the shared pool used for interactive work.
|
static java.lang.String |
MEMORY_POOL_MACHINE
Constant indicating that this job is running in the machine pool.
|
static java.lang.String |
MEMORY_POOL_SPOOL
Constant indicating that this job is running in the shared pool for spooled writers.
|
static int |
MESSAGE_QUEUE_ACTION
Job attribute representing the action to take when the message queue is full.
|
static java.lang.String |
MESSAGE_QUEUE_ACTION_NO_WRAP
Constant indicating that when the job message queue is full, do not wrap.
|
static java.lang.String |
MESSAGE_QUEUE_ACTION_PRINT_WRAP
Constant indicating that when the job message queue is full, wrap the message queue and print the messages that are being overlaid because of the wrapping.
|
static java.lang.String |
MESSAGE_QUEUE_ACTION_SYSTEM_VALUE
Constant indicating the value specified for the QJOBMSGQFL system value is used.
|
static java.lang.String |
MESSAGE_QUEUE_ACTION_WRAP
Constant indicating that when the job message queue is full, wrap to the beginning and start filling again.
|
static int |
MESSAGE_QUEUE_MAX_SIZE
Job attribute representing the maximum size (in megabytes) that the job message queue can become.
|
static int |
MESSAGE_REPLY
Job attribute representing whether the job is waiting for a reply to a specific message.
|
static java.lang.String |
MESSAGE_REPLY_NOT_IN_MESSAGE_WAIT
Constant indicating that the job currently is not in message wait status.
|
static java.lang.String |
MESSAGE_REPLY_NOT_WAITING
Constant indicating that the job is not waiting for a reply to a message.
|
static java.lang.String |
MESSAGE_REPLY_WAITING
Constant indicating that the job is waiting for a reply to a message.
|
static int |
MODE
Job attribute representing the mode name of the advanced program-to-program communications (APPC) device that started the job.
|
static int |
NETWORK_ID
Job attribute representing the network ID portion of the unit of work ID.
|
static int |
OUTPUT_QUEUE
Job attribute representing the name of the default output queue that is used for spooled output produced by this job.
|
static java.lang.String |
OUTPUT_QUEUE_DEVICE
Constant indicating the device specified on the Create Printer File (CRTPRTF), Change Printer File (CHGPRTF), or Override with Printer File (OVRPRTF) commands is used.
|
static java.lang.String |
OUTPUT_QUEUE_INITIAL_USER
Constant indicating the output queue name specified in the user profile under which this thread was initially running is used.
|
static int |
OUTPUT_QUEUE_PRIORITY
Job attribute representing the output priority for spooled output files that this job produces.
|
static java.lang.String |
OUTPUT_QUEUE_WORK_STATION
Constant indicating the default output queue that is used with this job is the output queue that is assigned to the work station associated with the job at the time the job is started.
|
static int |
PRINT_KEY_FORMAT
Job attribute representing whether border and header information is provided when the Print key is pressed.
|
static java.lang.String |
PRINT_KEY_FORMAT_ALL
Constant indicating that the border and header information is included with output from the Print key.
|
static java.lang.String |
PRINT_KEY_FORMAT_BORDER
Constant indicating that the border information is included with output from the Print key.
|
static java.lang.String |
PRINT_KEY_FORMAT_HEADER
Constant indicating that the header information is included with output from the Print key.
|
static java.lang.String |
PRINT_KEY_FORMAT_NONE
Constant indicating that the border and header information is not included with output from the Print key.
|
static java.lang.String |
PRINT_KEY_FORMAT_SYSTEM_VALUE
Constant indicating that the value specified on the system value QPRTKEYFMT determines whether header or border information is printed.
|
static int |
PRINT_TEXT
Job attribute representing the line of text (if any) that is printed at the bottom of each page of printed output for the job.
|
static java.lang.String |
PRINT_TEXT_BLANK
Constant indicating that no text is printed on printed output.
|
static java.lang.String |
PRINT_TEXT_SYSTEM_VALUE
Constant indicating the system value QPRTTXT is used.
|
static int |
PRINTER_DEVICE_NAME
Job attribute representing the printer device used for printing output from this job.
|
static java.lang.String |
PRINTER_DEVICE_NAME_INITIAL_USER
Constant indicating that the printer device name specified in the user profile under which this thread was initially running is used.
|
static java.lang.String |
PRINTER_DEVICE_NAME_SYSTEM_VALUE
Constant indicating the value in the system value QPRTDEV is used as the printer device.
|
static java.lang.String |
PRINTER_DEVICE_NAME_WORK_STATION
Constant indicating that the default printer device used with this job is the printer device assigned to the work station that is associated with the job.
|
static int |
PRODUCT_LIBRARIES
Job attribute representing the libraries that contain product information for the initial thread of the job.
|
static int |
PRODUCT_RETURN_CODE
Job attribute representing the return code set by the compiler for Integrated Language Environment (ILE) languages.
|
static int |
PROGRAM_RETURN_CODE
Job attribute representing the completion status of the last program that has finished running, if the job contains any RPG, COBOL, data file utility (DFU), or sort utility programs.
|
static int |
ROUTING_DATA
Job attribute representing the routing data that is used to determine the routing entry that identifies the program to start for the routing step.
|
static int |
RUN_PRIORITY
Job attribute representing the priority at which the job is currently running, relative to other jobs on the system.
|
static int |
SCHEDULE_DATE
Job attribute representing the date on which the submitted job becomes eligible to run.
|
static java.lang.String |
SCHEDULE_DATE_CURRENT
Constant indicating the submitted job becomes eligible to run on the current date.
|
static java.lang.String |
SCHEDULE_DATE_FRIDAY
Constant indicating the job becomes eligible to run on Friday.
|
static java.lang.String |
SCHEDULE_DATE_MONDAY
Constant indicating the job becomes eligible to run on Monday.
|
static java.lang.String |
SCHEDULE_DATE_MONTH_END
Constant indicating the submitted job becomes eligible to run on the last day of the month.
|
static java.lang.String |
SCHEDULE_DATE_MONTH_START
Constant indicating the submitted job becomes eligible to run on the first day of the month.
|
static java.lang.String |
SCHEDULE_DATE_SATURDAY
Constant indicating the job becomes eligible to run on Saturday.
|
static java.lang.String |
SCHEDULE_DATE_SUNDAY
Constant indicating the job becomes eligible to run on Sunday.
|
static java.lang.String |
SCHEDULE_DATE_THURSDAY
Constant indicating the job becomes eligible to run on Thursday.
|
static java.lang.String |
SCHEDULE_DATE_TUESDAY
Constant indicating the job becomes eligible to run on Tuesday.
|
static java.lang.String |
SCHEDULE_DATE_WEDNESDAY
Constant indicating the job becomes eligible to run on Wednesday.
|
static int |
SCHEDULE_TIME
Job attribute representing the time on the scheduled date at which the job becomes eligible to run.
|
static java.lang.String |
SCHEDULE_TIME_CURRENT
Constant indicating the job is submitted on the current time.
|
static int |
SEQUENCE_NUMBER
Job attribute representing the sequence number portion of the unit of work ID.
|
static int |
SERVER_TYPE
Job attribute representing the type of server represented by the job.
|
static int |
SIGNED_ON_JOB
Job attribute representing whether the job is to be treated like a signed-on user on the system.
|
static java.lang.String |
SIGNED_ON_JOB_FALSE
Constant indicating that the job should not be treated like a signed-on user.
|
static java.lang.String |
SIGNED_ON_JOB_TRUE
Constant indicating that the job should be treated like a signed-on user.
|
static int |
SORT_SEQUENCE_TABLE
Job attribute representing the sort sequence table associated with this job.
|
static java.lang.String |
SORT_SEQUENCE_TABLE_INITIAL_USER
Constant indicating the sort sequence table specified in the user profile under which this thread was initially running is used.
|
static java.lang.String |
SORT_SEQUENCE_TABLE_LANGUAGE_SHARED_WEIGHT
Constant indicating that the sort sequence table used can contain the same weight for multiple characters, and it is the shared weight sort table associated with the language specified in the LANGUAGE_ID attribute.
|
static java.lang.String |
SORT_SEQUENCE_TABLE_LANGUAGE_UNIQUE_WEIGHT
Constant indicating that the sort sequence table used must contain a unique weight for each character in the code page, and it is the unique weight sort table associated with the language specified in the LANGUAGE_ID parameter.
|
static java.lang.String |
SORT_SEQUENCE_TABLE_NONE
Constant indicating that no sort sequence table is used.
|
static java.lang.String |
SORT_SEQUENCE_TABLE_SYSTEM_VALUE
Constant indicating the system value QSRTSEQ is used.
|
static int |
SPECIAL_ENVIRONMENT
Job attribute representing whether a job is running in a particular environment.
|
static java.lang.String |
SPECIAL_ENVIRONMENT_NONE
Constant indicating that the job is not running in any special environment.
|
static java.lang.String |
SPECIAL_ENVIRONMENT_NOT_ACTIVE
Constant indicating that the special environment is ignored because the job is not currently active.
|
static java.lang.String |
SPECIAL_ENVIRONMENT_SYSTEM_36
Constant indicating that the job is running in the System/36 environment.
|
static int |
SPOOLED_FILE_ACTION
Job attribute representing whether spooled files can be accessed through job interfaces once a job has completed its normal activity.
|
static java.lang.String |
SPOOLED_FILE_ACTION_DETACH
Constant indicating that spooled files are detached from the job when the job completes its activity.
|
static java.lang.String |
SPOOLED_FILE_ACTION_KEEP
Constant indicating that when the job completes its activity, as long as at least one spooled file for the job exists in the system auxiliary storage pool (ASP 1) or in a basic user ASP (ASPs 2-32), the spooled files are kept with the job and the status of the job is updated to indicate that the job has completed.
|
static java.lang.String |
SPOOLED_FILE_ACTION_SYSTEM_VALUE
Constant indicating the job will take the spooled file action specified by the QSPLFACN system value.
|
static int |
STATUS_MESSAGE_HANDLING
Job attribute representing whether status messages are displayed for this job.
|
static java.lang.String |
STATUS_MESSAGE_HANDLING_INITIAL_USER
Constant indicating the status message handling that is specified in the user profile under which this thread was initially running is used.
|
static java.lang.String |
STATUS_MESSAGE_HANDLING_NONE
Constant indicating that this job does not display status messages.
|
static java.lang.String |
STATUS_MESSAGE_HANDLING_NORMAL
Constant indicating that this job displays status messages.
|
static java.lang.String |
STATUS_MESSAGE_HANDLING_SYSTEM_VALUE
Constant indicating the system value QSTSMSG is used.
|
static int |
SUBMITTED_BY_JOB_NAME
Job attribute representing the job name of the submitter's job.
|
static int |
SUBMITTED_BY_JOB_NUMBER
Job attribute representing the job number of the submitter's job.
|
static int |
SUBMITTED_BY_USER
Job attribute representing the user name of the submitter.
|
static int |
SUBSYSTEM
Job attribute representing the subsystem description in which an active job is running.
|
static int |
SYSTEM_LIBRARY_LIST
Job attribute representing the system portion of the library list of the initial thread of the job.
|
static int |
SYSTEM_POOL_ID
Job attribute representing the identifier of the system-related pool from which the job's main storage is allocated.
|
static int |
TEMP_STORAGE_USED
Job attribute representing the amount of auxiliary storage (in kilobytes) that is currently allocated to this job.
|
static int |
TEMP_STORAGE_USED_LARGE
Job attribute representing the amount of auxiliary storage (in megabytes) that is currently allocated to this job.
|
static int |
THREAD_COUNT
Job attribute representing the count of the current number of active threads in the process at the time of the materialization.
|
static int |
TIME_SEPARATOR
Job attribute representing the value used to separate hours, minutes, and seconds when presenting a time.
|
static java.lang.String |
TIME_SEPARATOR_BLANK
Constant indicating a blank is used for the time separator.
|
static java.lang.String |
TIME_SEPARATOR_COLON
Constant indicating a colon (:) is used for the time separator.
|
static java.lang.String |
TIME_SEPARATOR_COMMA
Constant indicating a comma (,) is used for the time separator.
|
static java.lang.String |
TIME_SEPARATOR_PERIOD
Constant indicating a period (.) is used for the time separator.
|
static java.lang.String |
TIME_SEPARATOR_SYSTEM_VALUE
Constant indicating the time separator specified in the system value QTIMSEP is used.
|
static int |
TIME_SLICE
Job attribute representing the maximum amount of processor time (in milliseconds) given to each thread in this job before other threads in this job and in other jobs are given the opportunity to run.
|
static int |
TIME_SLICE_END_POOL
Job attribute representing whether a thread in an interactive job moves to another main storage pool at the end of its time slice.
|
static java.lang.String |
TIME_SLICE_END_POOL_BASE
Constant indicating that a thread in the job moves to the base pool when it reaches the end of its time slice.
|
static java.lang.String |
TIME_SLICE_END_POOL_NONE
Constant indicating that a thread in the job does not move to another main storage pool when it reaches the end of its time slice.
|
static java.lang.String |
TIME_SLICE_END_POOL_SYSTEM_VALUE
Constant indicating the value in the system value QTSEPPOOL is used.
|
static int |
TOTAL_RESPONSE_TIME
Job attribute representing the total amount of response time for the initial thread, in milliseconds.
|
static int |
UNIT_OF_WORK_ID
Job attribute representing the unit of work ID used to track jobs across multiple systems.
|
static int |
USER_LIBRARY_LIST
Job attribute representing the user portion of the library list for the initial thread of the job.
|
static int |
USER_NAME
Job attribute representing the user name of the job, which is the same as the name of the user profile under which the job was started.
|
static java.lang.String |
USER_NAME_BLANK
Constant indicating a blank user name.
|
static int |
USER_RETURN_CODE
Job attribute representing the user-defined return code set by ILE high-level language constructs.
|
Constructor and Description |
---|
Job()
Constructs a Job object.
|
Job(AS400 system)
Constructs a Job object.
|
Job(AS400 system,
byte[] internalJobID)
Constructs a Job object.
|
Job(AS400 system,
java.lang.String internalJobID)
Deprecated.
Use
Job(AS400,byte[]) instead. The internal job ID should be treated as a byte array of 16 bytes. |
Job(AS400 system,
java.lang.String jobName,
java.lang.String userName,
java.lang.String jobNumber)
Constructs a Job object.
|
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds a PropertyChangeListener.
|
void |
addVetoableChangeListener(java.beans.VetoableChangeListener listener)
Adds a VetoableChangeListener.
|
void |
commitChanges()
Commits all uncommitted attribute changes.
|
void |
commitChanges(boolean callOnThread)
Commits all uncommitted attribute changes.
|
void |
end(int delay)
Ends this job.
|
int |
getAuxiliaryIORequests()
Returns the number of auxiliary I/O requests performed by the job across all routing steps.
|
java.lang.String |
getBreakMessageHandling()
Returns a value which represents how this job handles break messages.
|
boolean |
getCacheChanges()
Indicates if the attribute value changes are cached.
|
CallStackEntry[] |
getCallStack(long threadID)
Returns the call stack for the specified thread in this job.
|
int |
getCodedCharacterSetID()
Returns the coded character set identifier (CCSID) used for this job.
|
java.lang.String |
getCompletionStatus()
Returns the completion status of the job.
|
java.lang.String |
getCountryID()
Returns the country or region identifier associated with this job.
|
int |
getCPUUsed()
Returns the amount of processing unit time (in milliseconds) that the job used.
|
java.lang.String |
getCurrentLibrary()
Returns the name of the current library for the initial thread of the job.
|
boolean |
getCurrentLibraryExistence()
Indicates if a current library exists.
|
java.util.Date |
getDate()
Returns the date and time when the job was placed on the system.
|
java.lang.String |
getDateFormat()
Returns the format in which dates are presented.
|
java.lang.String |
getDateSeparator()
Returns the value used to separate days, months, and years when presenting a date.
|
java.lang.String |
getDDMConversationHandling()
Returns whether connections using distributed data management (DDM) protocols remain active when they are not being used.
|
java.lang.String |
getDecimalFormat()
Returns the decimal format used for this job.
|
int |
getDefaultCodedCharacterSetIdentifier()
Returns the default coded character set identifier (CCSID) used for this job.
|
int |
getDefaultWait()
Returns the default maximum time (in seconds) that a thread in the job waits for a system instruction, such as a LOCK machine interface (MI) instruction, to acquire a resource.
|
java.lang.String |
getDeviceRecoveryAction()
Returns the action taken for interactive jobs when an I/O error occurs for the job's requesting program device.
|
int |
getEndSeverity()
Returns the message severity level of escape messages that can cause a batch job to end.
|
java.lang.String |
getFunctionName()
Returns additional information (as described by the FUNCTION_TYPE attribute) about the last high-level function initiated by the initial thread.
|
java.lang.String |
getFunctionType()
Returns the last high-level function initiated by the initial thread.
|
java.lang.String |
getInquiryMessageReply()
Returns how the job answers inquiry messages.
|
int |
getInteractiveTransactions()
Returns the count of operator interactions, such as pressing the Enter key or a function key.
|
java.lang.String |
getInternalJobID()
Deprecated.
Use
getInternalJobIdentifier() instead. The internal job identifier should be treated as a byte array of 16 bytes. |
byte[] |
getInternalJobIdentifier()
Returns the internal job identifier.
|
java.lang.String |
getJobAccountingCode()
Returns an identifier assigned to the job by the system to collect resource use information for the job when job accounting is active.
|
java.util.Date |
getJobActiveDate()
Returns the date and time when the job began to run on the system.
|
java.lang.String |
getJobAsp()
Get the asp group information of the job
|
java.util.Date |
getJobDate()
Returns the date to be used for the job.
|
java.lang.String |
getJobDescription()
Returns the fully qualified integrated file system path name for the job description.
|
java.util.Date |
getJobEndedDate()
Returns the date and time when the job completed running on the system.
|
java.util.Date |
getJobEnterSystemDate()
Returns the date and time when the job was placed on the system.
|
JobLog |
getJobLog()
Returns the job log.
|
java.lang.String |
getJobMessageQueueFullAction()
Returns the action to take when the message queue is full.
|
int |
getJobMessageQueueMaximumSize()
Returns the maximum size (in megabytes) that the job message queue can become.
|
java.util.Date |
getJobPutOnJobQueueDate()
Returns the date and time this job was put on this job queue.
|
java.lang.String |
getJobStatusInJobQueue()
Returns the status of this job on the job queue.
|
java.lang.String |
getJobSwitches()
Returns the current setting of the job switches used by this job.
|
java.lang.String |
getLanguageID()
Returns the language identifier associated with this job.
|
java.lang.String |
getLoggingCLPrograms()
Returns a value indicating whether or not commands are logged for CL programs that are run.
|
int |
getLoggingLevel()
Returns what type of information is logged.
|
int |
getLoggingSeverity()
Returns the severity level that is used in conjunction with the logging level to determine which error messages are logged in the job log.
|
java.lang.String |
getLoggingText()
Returns the level of message text that is written in the job log when a message is logged according to the LOGGING_LEVEL and LOGGING_SEVERITY.
|
java.lang.String |
getModeName()
Returns the mode name of the advanced program-to-program communications (APPC) device that started the job.
|
java.lang.String |
getName()
Returns the job name.
|
java.lang.String |
getNumber()
Returns the job number.
|
int |
getNumberOfLibrariesInSYSLIBL()
Returns the number of libraries in the system portion of the library list of the initial thread of the job.
|
int |
getNumberOfLibrariesInUSRLIBL()
Returns the number of libraries in the user portion of the library list for the initial thread of the job.
|
int |
getNumberOfProductLibraries()
Returns the number of libraries that contain product information for the initial thread of the job.
|
java.lang.String |
getOutputQueue()
Returns the fully qualified integrated file system path name of the default output queue that is used for spooled output produced by this job.
|
int |
getOutputQueuePriority()
Returns the output priority for spooled output files that this job produces.
|
int |
getPoolIdentifier()
Returns the identifier of the system-related pool from which the job's main storage is allocated.
|
java.lang.String |
getPrinterDeviceName()
Returns the printer device used for printing output from this job.
|
java.lang.String |
getPrintKeyFormat()
Returns a value indicating whether border and header information is provided when the Print key is pressed.
|
java.lang.String |
getPrintText()
Returns the line of text (if any) that is printed at the bottom of each page of printed output for the job.
|
java.lang.String[] |
getProductLibraries()
Returns the libraries that contain product information for the initial thread of the job.
|
boolean |
getPurge()
Indicates whether or not the job is eligible to be moved out of main storage and put into auxiliary storage at the end of a time slice or when entering a long wait (such as waiting for a work station user's response).
|
java.lang.String |
getQueue()
Returns the fully qualified integrated file system path name of the job queue that the job is currently on, or that the job was on if it is currently active.
|
int |
getQueuePriority()
Returns the scheduling priority of the job compared to other jobs on the same job queue.
|
java.lang.String |
getRoutingData()
Returns the routing data that is used to determine the routing entry that identifies the program to start for the routing step.
|
int |
getRunPriority()
Returns the priority at which the job is currently running, relative to other jobs on the system.
|
java.util.Date |
getScheduleDate()
Returns the date and time the job is scheduled to become active.
|
boolean |
getSignedOnJob()
Indicates whether the job is to be treated like a signed-on user on the system.
|
java.lang.String |
getSortSequenceTable()
Returns the name of the sort sequence table associated with this job.
|
java.lang.String |
getStatus()
Returns the status of this job.
|
java.lang.String |
getStatusMessageHandling()
Returns whether status messages are displayed for this job.
|
java.lang.String |
getStringValue(int attribute)
Returns the value for the specified job attribute, as a String.
|
java.lang.String |
getSubsystem()
Returns the fully qualified integrated file system path name of the subsystem description for the subsystem in which the job is running.
|
java.lang.String |
getSubtype()
Returns additional information about the job type (if any exists).
|
AS400 |
getSystem()
Returns the system.
|
java.lang.String[] |
getSystemLibraryList()
Returns the system portion of the library list of the initial thread of the job.
|
java.lang.String |
getTimeSeparator()
Returns the value used to separate hours, minutes, and seconds when presenting a time.
|
int |
getTimeSlice()
Returns the maximum amount of processor time (in milliseconds) given to each thread in this job before other threads in this job and in other jobs are given the opportunity to run.
|
java.lang.String |
getTimeSliceEndPool()
Returns a value indicating whether a thread in an interactive job moves to another main storage pool at the end of its time slice.
|
int |
getTotalResponseTime()
Returns the total amount of response time for the initial thread, in milliseconds.
|
java.lang.String |
getType()
Returns the type of job.
|
java.lang.String |
getUser()
Returns the user name.
|
java.lang.String[] |
getUserLibraryList()
Returns the user portion of the library list for the initial thread of the job.
|
java.lang.Object |
getValue(int attribute)
Returns the value for the specified job attribute.
|
java.lang.String |
getWorkIDUnit()
Returns the unit of work identifier.
|
void |
hold(boolean holdSpooledFiles)
Holds this job.
|
void |
loadInformation()
Refreshes the values for all attributes.
|
void |
loadInformation(int[] attributes)
Refreshes the values for specific attributes.
|
void |
loadStatistics()
Refreshes just the values for the elapsed statistics.
|
void |
release()
Releases this job.
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Removes a PropertyChangeListener.
|
void |
removeVetoableChangeListener(java.beans.VetoableChangeListener listener)
Removes a VetoableChangeListener.
|
void |
resetStatistics()
Resets the measurement start time used for computing elapsed statistics.
|
void |
setBreakMessageHandling(java.lang.String breakMessageHandling)
Sets how this job handles break messages.
|
void |
setCacheChanges(boolean cacheChanges)
Sets the value indicating whether attribute value changes are committed immediately.
|
void |
setCodedCharacterSetID(int codedCharacterSetID)
Sets the coded character set identifier (CCSID) used for this job.
|
void |
setCountryID(java.lang.String countryID)
Sets the country or region identifier associated with this job.
|
void |
setDateFormat(java.lang.String dateFormat)
Sets the format in which dates are presented.
|
void |
setDateSeparator(java.lang.String dateSeparator)
Sets the value used to separate days, months, and years when presenting a date.
|
void |
setDDMConversationHandling(java.lang.String ddmConversationHandling)
Sets whether connections using distributed data management (DDM) protocols remain active when they are not being used.
|
void |
setDecimalFormat(java.lang.String decimalFormat)
Sets the decimal format used for this job.
|
void |
setDefaultWait(int defaultWait)
Sets the default maximum time (in seconds) that a thread in the job waits for a system instruction, such as a LOCK machine interface (MI) instruction, to acquire a resource.
|
void |
setDeviceRecoveryAction(java.lang.String deviceRecoveryAction)
Sets the action taken for interactive jobs when an I/O error occurs for the job's requesting program device.
|
void |
setInquiryMessageReply(java.lang.String inquiryMessageReply)
Sets how the job answers inquiry messages.
|
void |
setInternalJobID(java.lang.String internalJobID)
Deprecated.
Use
setInternalJobIdentifier(byte[]) instead. The internal job identifier should be treated as a byte array of 16 bytes. |
void |
setInternalJobIdentifier(byte[] internalJobID)
Sets the internal job identifier.
|
void |
setJobAccountingCode(java.lang.String jobAccountingCode)
Sets an identifier assigned to the job by the system to collect resource use information for the job when job accounting is active.
|
void |
setJobDate(java.util.Date jobDate)
Sets the date that is assigned to the job.
|
void |
setJobMessageQueueFullAction(java.lang.String jobMessageQueueFullAction)
Sets the action to take when the message queue is full.
|
void |
setJobSwitches(java.lang.String jobSwitches)
Sets the current setting of the job switches that are used by this job.
|
void |
setLanguageID(java.lang.String languageID)
Sets the language identifier associated with this job.
|
void |
setLoggingCLPrograms(java.lang.String loggingCLPrograms)
Sets whether or not commands are logged for CL programs that are run.
|
void |
setLoggingLevel(int loggingLevel)
Sets what type of information is logged.
|
void |
setLoggingSeverity(int loggingSeverity)
Sets the severity level that is used in conjunction with the logging level to determine which error messages are logged in the job log.
|
void |
setLoggingText(java.lang.String loggingText)
Sets the level of message text that is written in the job log when a message is logged according to the LOGGING_LEVEL and LOGGING_SEVERITY.
|
void |
setName(java.lang.String name)
Sets the job name.
|
void |
setNumber(java.lang.String number)
Sets the job number.
|
void |
setOutputQueue(java.lang.String outputQueue)
Sets the fully qualified integrated file system path name of the default output queue that is used for spooled output produced by this job.
|
void |
setOutputQueuePriority(int outputQueuePriority)
Sets the output priority for spooled output files that this job produces.
|
void |
setPrinterDeviceName(java.lang.String printerDeviceName)
Sets the printer device used for printing output from this job.
|
void |
setPrintKeyFormat(java.lang.String printKeyFormat)
Sets whether border and header information is provided when the Print key is pressed.
|
void |
setPrintText(java.lang.String printText)
Sets the line of text (if any) that is printed at the bottom of each page of printed output for the job.
|
void |
setPurge(boolean purge)
Sets the value indicating whether or not the job is eligible to be moved out of main storage and put into auxiliary storage at the end of a time slice or when entering a long wait (such as waiting for a work station user's response).
|
void |
setQueue(java.lang.String jobQueue)
Sets the fully qualified integrated file system path name of the job queue that the job is to be on.
|
void |
setQueuePriority(int queuePriority)
Sets the scheduling priority of the job compared to other jobs on the same job queue.
|
void |
setRunPriority(int runPriority)
Sets the priority at which the job competes for the processing unit relative to the other jobs that are active at the same time.
|
void |
setScheduleDate(java.util.Date scheduleDate)
Sets the date and time the job is scheduled to become active.
|
void |
setScheduleDate(java.lang.String scheduleDate)
Sets the date the job is scheduled to become active.
|
void |
setScheduleTime(java.util.Date scheduleTime)
Sets the date and time the job is scheduled to become active.
|
void |
setScheduleTime(java.lang.String scheduleTime)
Sets the time the job is scheduled to become active.
|
void |
setSortSequenceTable(java.lang.String sortSequenceTable)
Sets the name of the sort sequence table associated with this job..
|
void |
setStatusMessageHandling(java.lang.String statusMessageHandling)
Sets the value which indicates whether status messages are displayed for this job.
|
void |
setSystem(AS400 system)
Sets the system.
|
void |
setTimeSeparator(java.lang.String timeSeparator)
Sets the value used to separate hours, minutes, and seconds when presenting a time.
|
void |
setTimeSlice(int timeSlice)
Sets the maximum amount of processor time (in milliseconds) given to each thread in this job before other threads in this job and in other jobs are given the opportunity to run.
|
void |
setTimeSliceEndPool(java.lang.String timeSliceEndPool)
Sets the value which indicates whether a thread in an interactive job moves to another main storage pool at the end of its time slice.
|
void |
setUser(java.lang.String user)
Sets the user name.
|
void |
setValue(int attribute,
java.lang.Object value)
Sets a value for a job attribute.
|
java.lang.String |
toString()
Returns the string representation of this Job in the format "number/user/name", or "" if any of these attributes is null.
|
public static final int ACCOUNTING_CODE
ACCOUNTING_CODE_BLANK
Type: String
public static final java.lang.String ACCOUNTING_CODE_BLANK
ACCOUNTING_CODE
,
Constant Field Valuespublic static final int ACTIVE_JOB_STATUS
ACTIVE_JOB_STATUS_NONE
ACTIVE_JOB_STATUS_WAIT_BIN_SYNCH_DEVICE_AND_ACTIVE
ACTIVE_JOB_STATUS_WAIT_BIN_SYNCH_DEVICE
ACTIVE_JOB_STATUS_WAIT_COMM_DEVICE_AND_ACTIVE
ACTIVE_JOB_STATUS_WAIT_COMM_DEVICE
ACTIVE_JOB_STATUS_WAIT_CHECKPOINT
ACTIVE_JOB_STATUS_WAIT_CONDITION
ACTIVE_JOB_STATUS_WAIT_CPI_COMM
ACTIVE_JOB_STATUS_WAIT_DEQUEUE_AND_ACTIVE
ACTIVE_JOB_STATUS_WAIT_DEQUEUE
ACTIVE_JOB_STATUS_WAIT_DISKETTE_AND_ACTIVE
ACTIVE_JOB_STATUS_WAIT_DISKETTE
ACTIVE_JOB_STATUS_WAIT_DELAYED
ACTIVE_JOB_STATUS_DISCONNECTED
ACTIVE_JOB_STATUS_WAIT_DISPLAY_AND_ACTIVE
ACTIVE_JOB_STATUS_WAIT_DISPLAY
ACTIVE_JOB_STATUS_ENDED
ACTIVE_JOB_STATUS_WAIT_DATABASE_EOF_AND_ACTIVE
ACTIVE_JOB_STATUS_WAIT_DATABASE_EOF
ACTIVE_JOB_STATUS_ENDING
ACTIVE_JOB_STATUS_WAIT_EVENT
ACTIVE_JOB_STATUS_SUSPENDED
ACTIVE_JOB_STATUS_HELD
ACTIVE_JOB_STATUS_HELD_THREAD
ACTIVE_JOB_STATUS_WAIT_ICF_FILE_AND_ACTIVE
ACTIVE_JOB_STATUS_WAIT_ICF_FILE
ACTIVE_JOB_STATUS_INELIGIBLE
ACTIVE_JOB_STATUS_WAIT_JAVA_AND_ACTIVE
ACTIVE_JOB_STATUS_WAIT_JAVA
ACTIVE_JOB_STATUS_WAIT_LOCK
ACTIVE_JOB_STATUS_WAIT_LOCK_SPACE_AND_ACTIVE
ACTIVE_JOB_STATUS_WAIT_LOCK_SPACE
ACTIVE_JOB_STATUS_WAIT_MULTIPLE_FILES_AND_ACTIVE
ACTIVE_JOB_STATUS_WAIT_MULTIPLE_FILES
ACTIVE_JOB_STATUS_WAIT_MESSAGE
ACTIVE_JOB_STATUS_WAIT_MUTEX
ACTIVE_JOB_STATUS_WAIT_MIXED_DEVICE_FILE
ACTIVE_JOB_STATUS_WAIT_OPTICAL_DEVICE_AND_ACTIVE
ACTIVE_JOB_STATUS_WAIT_OPTICAL_DEVICE
ACTIVE_JOB_STATUS_WAIT_OSI
ACTIVE_JOB_STATUS_WAIT_PRINT_AND_ACTIVE
ACTIVE_JOB_STATUS_WAIT_PRINT
ACTIVE_JOB_STATUS_WAIT_PRESTART
ACTIVE_JOB_STATUS_RUNNING
ACTIVE_JOB_STATUS_WAIT_SELECTION
ACTIVE_JOB_STATUS_WAIT_SEMAPHORE
ACTIVE_JOB_STATUS_STOPPED
ACTIVE_JOB_STATUS_WAIT_SIGNAL
ACTIVE_JOB_STATUS_SUSPENDED_SYSTEM_REQUEST
ACTIVE_JOB_STATUS_WAIT_SAVE_FILE_AND_ACTIVE
ACTIVE_JOB_STATUS_WAIT_SAVE_FILE
ACTIVE_JOB_STATUS_WAIT_TAPE_DEVICE_AND_ACTIVE
ACTIVE_JOB_STATUS_WAIT_TAPE_DEVICE
ACTIVE_JOB_STATUS_WAIT_THREAD
ACTIVE_JOB_STATUS_WAIT_TIME_INTERVAL_AND_ACTIVE
ACTIVE_JOB_STATUS_WAIT_TIME_INTERVAL
Read-only: true
Type: String
public static final java.lang.String ACTIVE_JOB_STATUS_NONE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_BIN_SYNCH_DEVICE_AND_ACTIVE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_BIN_SYNCH_DEVICE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_COMM_DEVICE_AND_ACTIVE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_COMM_DEVICE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_CHECKPOINT
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_CONDITION
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_CPI_COMM
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_DEQUEUE_AND_ACTIVE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_DEQUEUE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_DISKETTE_AND_ACTIVE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_DISKETTE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_DELAYED
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_DELAY
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_DISCONNECTED
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_DISPLAY_AND_ACTIVE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_DISPLAY
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_ENDED
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_DATABASE_EOF_AND_ACTIVE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_DATABASE_EOF
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_ENDING
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_EVENT
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_SUSPENDED
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_HELD
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_HELD_THREAD
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_ICF_FILE_AND_ACTIVE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_ICF_FILE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_INELIGIBLE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_JAVA_AND_ACTIVE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_JAVA
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_LOCK
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_LOCK_SPACE_AND_ACTIVE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_LOCK_SPACE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_MULTIPLE_FILES_AND_ACTIVE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_MULTIPLE_FILES
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_MESSAGE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_MUTEX
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_MIXED_DEVICE_FILE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_OPTICAL_DEVICE_AND_ACTIVE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_OPTICAL_DEVICE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_OSI
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_PRINT_AND_ACTIVE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_PRINT
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_PRESTART
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_RUNNING
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_SELECTION
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_SEMAPHORE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_STOPPED
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_SIGNAL
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_SUSPENDED_SYSTEM_REQUEST
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_SAVE_FILE_AND_ACTIVE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_SAVE_FILE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_TAPE_DEVICE_AND_ACTIVE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_TAPE_DEVICE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_THREAD
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_TIME_INTERVAL_AND_ACTIVE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ACTIVE_JOB_STATUS_WAIT_TIME_INTERVAL
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final int ACTIVE_JOB_STATUS_FOR_JOBS_ENDING
ACTIVE_JOB_STATUS
for a list of the possible values. For example, the active job status would be ACTIVE_JOB_STATUS_ENDING, but the job could be waiting on a lock that could keep the job from ending. This field would then be ACTIVE_JOB_STATUS_WAIT_LOCK.
Read-only: true
Type: String
Only valid on V5R1 systems and higher.
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final int ASP_GROUP
Read-only: true
Type: String
Only valid on V5R1 systems and higher.
public static final int ALLOW_MULTIPLE_THREADS
Read-only: true
Type: String
Only valid on V5R1 systems and higher.
public static final java.lang.String ALLOW_MULTIPLE_THREADS_NO
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String ALLOW_MULTIPLE_THREADS_YES
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final int AUXILIARY_IO_REQUESTS
Read-only: true
Type: Integer
public static final int AUXILIARY_IO_REQUESTS_LARGE
Read-only: true
Type: Long
Only valid on V5R1 systems and higher.
public static final int BREAK_MESSAGE_HANDLING
Type: String
public static final java.lang.String BREAK_MESSAGE_HANDLING_NORMAL
BREAK_MESSAGE_HANDLING
,
Constant Field Valuespublic static final java.lang.String BREAK_MESSAGE_HANDLING_HOLD
BREAK_MESSAGE_HANDLING
,
Constant Field Valuespublic static final java.lang.String BREAK_MESSAGE_HANDLING_NOTIFY
BREAK_MESSAGE_HANDLING
,
Constant Field Valuespublic static final int CCSID
CCSID_SYSTEM_VALUE
CCSID_INITIAL_USER
Type: Integer
public static final int CCSID_SYSTEM_VALUE
CCSID
,
Constant Field Valuespublic static final int CCSID_INITIAL_USER
CCSID
,
Constant Field Valuespublic static final int CHARACTER_ID_CONTROL
CHARACTER_ID_CONTROL_DEVICE
CHARACTER_ID_CONTROL_JOB
CHARACTER_ID_CONTROL_SYSTEM_VALUE
CHARACTER_ID_CONTROL_INITIAL_USER
Type: String
public static final java.lang.String CHARACTER_ID_CONTROL_DEVICE
CHARACTER_ID_CONTROL
,
Constant Field Valuespublic static final java.lang.String CHARACTER_ID_CONTROL_JOB
CHARACTER_ID_CONTROL
,
Constant Field Valuespublic static final java.lang.String CHARACTER_ID_CONTROL_SYSTEM_VALUE
CHARACTER_ID_CONTROL
,
Constant Field Valuespublic static final java.lang.String CHARACTER_ID_CONTROL_INITIAL_USER
CHARACTER_ID_CONTROL
,
Constant Field Valuespublic static final int CLIENT_IP_ADDRESS
Read-only: true
Type: String
public static final int COMPLETION_STATUS
COMPLETION_STATUS_NOT_COMPLETED
COMPLETION_STATUS_COMPLETED_NORMALLY
COMPLETION_STATUS_COMPLETED_ABNORMALLY
Read-only: true
Type: String
getCompletionStatus()
,
Constant Field Valuespublic static final java.lang.String COMPLETION_STATUS_NOT_COMPLETED
COMPLETION_STATUS
,
Constant Field Valuespublic static final java.lang.String COMPLETION_STATUS_COMPLETED_NORMALLY
COMPLETION_STATUS
,
Constant Field Valuespublic static final java.lang.String COMPLETION_STATUS_COMPLETED_ABNORMALLY
COMPLETION_STATUS
,
Constant Field Valuespublic static final int CONTROLLED_END_REQUESTED
Read-only: true
Type: String
public static final java.lang.String END_STATUS_CANCELLED
public static final java.lang.String END_STATUS_NOT_CANCELLED
public static final java.lang.String END_STATUS_JOB_NOT_RUNNING
public static final int ELAPSED_CPU_PERCENT_USED
Read-only: true
Type: Integer
resetStatistics()
,
Constant Field Valuespublic static final int ELAPSED_CPU_PERCENT_USED_FOR_DATABASE
Read-only: true
Type: Integer
resetStatistics()
,
Constant Field Valuespublic static final int ELAPSED_CPU_TIME_USED
Read-only: true
Type: Long
resetStatistics()
,
Constant Field Valuespublic static final int ELAPSED_CPU_TIME_USED_FOR_DATABASE
Read-only: true
Type: Long
resetStatistics()
,
Constant Field Valuespublic static final int ELAPSED_DISK_IO
asynchronous
and synchronous
disk I/O.
Read-only: true
Type: Long
resetStatistics()
,
Constant Field Valuespublic static final int ELAPSED_DISK_IO_ASYNCH
Read-only: true
Type: Long
resetStatistics()
,
Constant Field Valuespublic static final int ELAPSED_DISK_IO_SYNCH
Read-only: true
Type: Long
resetStatistics()
,
Constant Field Valuespublic static final int ELAPSED_INTERACTIVE_RESPONSE_TIME
Read-only: true
Type: Integer
resetStatistics()
,
Constant Field Valuespublic static final int ELAPSED_INTERACTIVE_TRANSACTIONS
Read-only: true
Type: Integer
resetStatistics()
,
Constant Field Valuespublic static final int ELAPSED_LOCK_WAIT_TIME
Read-only: true
Type: Long
Can be loaded by JobList: false
resetStatistics()
,
Constant Field Valuespublic static final int ELAPSED_PAGE_FAULTS
Read-only: true
Type: Long
resetStatistics()
,
Constant Field Valuespublic static final int ELAPSED_TIME
resetStatistics()
method is called.
Read-only: true
Type: Long
Can be loaded by JobList: false
resetStatistics()
,
Constant Field Valuespublic static final int COUNTRY_ID
COUNTRY_ID_SYSTEM_VALUE
COUNTRY_ID_INITIAL_USER
Type: String
public static final java.lang.String COUNTRY_ID_SYSTEM_VALUE
COUNTRY_ID
,
Constant Field Valuespublic static final java.lang.String COUNTRY_ID_INITIAL_USER
COUNTRY_ID
,
Constant Field Valuespublic static final int CPU_TIME_USED
Read-only: true
Type: Integer
getCPUUsed()
,
Constant Field Valuespublic static final int CPU_TIME_USED_LARGE
Read-only: true
Type: Long
getCPUUsed()
,
Constant Field Valuespublic static final int CPU_TIME_USED_FOR_DATABASE
Read-only: true
Type: Long
Only valid on V5R1 systems and higher.
public static final int CURRENT_LIBRARY
Read-only: true
Type: String
Can be loaded by JobList: false
getCurrentLibrary()
,
Constant Field Valuespublic static final int CURRENT_LIBRARY_EXISTENCE
Read-only: true
Type: Integer
Can be loaded by JobList: false
public static final int CURRENT_SYSTEM_POOL_ID
Read-only: true
Type: Integer
public static final int CURRENT_USER
Read-only: true
Type: String
public static final int DATE_ENDED
Read-only: true
Type: String in the format CYYMMDDHHMMSS
public static final int DATE_ENTERED_SYSTEM
Read-only: true
Type: String in the format CYYMMDDHHMMSS
public static final int DATE_FORMAT
Type: String
public static final java.lang.String DATE_FORMAT_SYSTEM_VALUE
DATE_FORMAT
,
Constant Field Valuespublic static final java.lang.String DATE_FORMAT_YMD
DATE_FORMAT
,
Constant Field Valuespublic static final java.lang.String DATE_FORMAT_MDY
DATE_FORMAT
,
Constant Field Valuespublic static final java.lang.String DATE_FORMAT_DMY
DATE_FORMAT
,
Constant Field Valuespublic static final java.lang.String DATE_FORMAT_JULIAN
DATE_FORMAT
,
Constant Field Valuespublic static final int DATE_SEPARATOR
DATE_SEPARATOR_SYSTEM_VALUE
DATE_SEPARATOR_SLASH
DATE_SEPARATOR_DASH
DATE_SEPARATOR_PERIOD
DATE_SEPARATOR_BLANK
DATE_SEPARATOR_COMMA
Type: String
public static final java.lang.String DATE_SEPARATOR_SYSTEM_VALUE
DATE_SEPARATOR
,
Constant Field Valuespublic static final java.lang.String DATE_SEPARATOR_SLASH
DATE_SEPARATOR
,
Constant Field Valuespublic static final java.lang.String DATE_SEPARATOR_DASH
DATE_SEPARATOR
,
Constant Field Valuespublic static final java.lang.String DATE_SEPARATOR_PERIOD
DATE_SEPARATOR
,
Constant Field Valuespublic static final java.lang.String DATE_SEPARATOR_BLANK
DATE_SEPARATOR
,
Constant Field Valuespublic static final java.lang.String DATE_SEPARATOR_COMMA
DATE_SEPARATOR
,
Constant Field Valuespublic static final int DATE_STARTED
Read-only: true
Type: String in the format CYYMMDDHHMMSS
getJobActiveDate()
,
Constant Field Valuespublic static final int DBCS_CAPABLE
Read-only: true
Type: String
public static final java.lang.String DBCS_CAPABLE_NO
DBCS_CAPABLE
,
Constant Field Valuespublic static final java.lang.String DBCS_CAPABLE_YES
DBCS_CAPABLE
,
Constant Field Valuespublic static final int DECIMAL_FORMAT
Type: String
public static final java.lang.String DECIMAL_FORMAT_SYSTEM_VALUE
DECIMAL_FORMAT
,
Constant Field Valuespublic static final java.lang.String DECIMAL_FORMAT_PERIOD
DECIMAL_FORMAT
,
Constant Field Valuespublic static final java.lang.String DECIMAL_FORMAT_COMMA_J
DECIMAL_FORMAT
,
Constant Field Valuespublic static final java.lang.String DECIMAL_FORMAT_COMMA_I
DECIMAL_FORMAT
,
Constant Field Valuespublic static final int DEFAULT_CCSID
Read-only: true
Type: Integer
public static final int DEFAULT_WAIT_TIME
Type: Integer
public static final int DEVICE_RECOVERY_ACTION
DEVICE_RECOVERY_ACTION_SYSTEM_VALUE
DEVICE_RECOVERY_ACTION_MESSAGE
DEVICE_RECOVERY_ACTION_DISCONNECT_MESSAGE
DEVICE_RECOVERY_ACTION_DISCONNECT_END_REQUEST
DEVICE_RECOVERY_ACTION_END_JOB
DEVICE_RECOVERY_ACTION_END_JOB_NO_LIST
Type: String
public static final java.lang.String DEVICE_RECOVERY_ACTION_SYSTEM_VALUE
DEVICE_RECOVERY_ACTION
,
Constant Field Valuespublic static final java.lang.String DEVICE_RECOVERY_ACTION_MESSAGE
DEVICE_RECOVERY_ACTION
,
Constant Field Valuespublic static final java.lang.String DEVICE_RECOVERY_ACTION_DISCONNECT_MESSAGE
DEVICE_RECOVERY_ACTION
,
Constant Field Valuespublic static final java.lang.String DEVICE_RECOVERY_ACTION_DISCONNECT_END_REQUEST
DEVICE_RECOVERY_ACTION
,
Constant Field Valuespublic static final java.lang.String DEVICE_RECOVERY_ACTION_END_JOB
DEVICE_RECOVERY_ACTION
,
Constant Field Valuespublic static final java.lang.String DEVICE_RECOVERY_ACTION_END_JOB_NO_LIST
DEVICE_RECOVERY_ACTION
,
Constant Field Valuespublic static final int ELIGIBLE_FOR_PURGE
Type: String
getPurge()
,
setPurge(boolean)
,
Constant Field Valuespublic static final java.lang.String ELIGIBLE_FOR_PURGE_YES
ELIGIBLE_FOR_PURGE
,
Constant Field Valuespublic static final java.lang.String ELIGIBLE_FOR_PURGE_NO
ELIGIBLE_FOR_PURGE
,
Constant Field Valuespublic static final java.lang.String ELIGIBLE_FOR_PURGE_IGNORED
ELIGIBLE_FOR_PURGE
,
Constant Field Valuespublic static final int END_SEVERITY
Read-only: true
Type: Integer
getEndSeverity()
,
Constant Field Valuespublic static final int FUNCTION_NAME
Read-only: true
Type: String
getFunctionName()
,
Constant Field Valuespublic static final int FUNCTION_TYPE
FUNCTION_TYPE_BLANK
FUNCTION_TYPE_COMMAND
FUNCTION_TYPE_DELAY
FUNCTION_TYPE_GROUP
FUNCTION_TYPE_INDEX
FUNCTION_TYPE_JAVA
FUNCTION_TYPE_LOG
FUNCTION_TYPE_MRT
FUNCTION_TYPE_MENU
FUNCTION_TYPE_IO
FUNCTION_TYPE_PROCEDURE
FUNCTION_TYPE_PROGRAM
FUNCTION_TYPE_SPECIAL
Read-only: true
Type: String
getFunctionType()
,
Constant Field Valuespublic static final java.lang.String FUNCTION_TYPE_BLANK
FUNCTION_TYPE
,
Constant Field Valuespublic static final java.lang.String FUNCTION_TYPE_COMMAND
FUNCTION_TYPE
,
Constant Field Valuespublic static final java.lang.String FUNCTION_TYPE_DELAY
FUNCTION_TYPE
,
Constant Field Valuespublic static final java.lang.String FUNCTION_TYPE_GROUP
FUNCTION_TYPE
,
Constant Field Valuespublic static final java.lang.String FUNCTION_TYPE_INDEX
FUNCTION_TYPE
,
Constant Field Valuespublic static final java.lang.String FUNCTION_TYPE_JAVA
FUNCTION_TYPE
,
Constant Field Valuespublic static final java.lang.String FUNCTION_TYPE_LOG
FUNCTION_TYPE
,
Constant Field Valuespublic static final java.lang.String FUNCTION_TYPE_MRT
JOB_TYPE
is JOB_TYPE_BATCH
and the JOB_SUBTYPE
is JOB_SUBTYPE_MRT
, or it is an interactive job attached to an MRT job if the JOB_TYPE
is JOB_TYPE_INTERACTIVE
.
For MRT jobs, the FUNCTION_NAME attribute contains information in the following format:
For interactive jobs attached to an MRT, the FUNCTION_NAME attribute contains the name of the MRT procedure.
FUNCTION_TYPE
,
Constant Field Valuespublic static final java.lang.String FUNCTION_TYPE_MENU
FUNCTION_TYPE
,
Constant Field Valuespublic static final java.lang.String FUNCTION_TYPE_IO
FUNCTION_TYPE
,
Constant Field Valuespublic static final java.lang.String FUNCTION_TYPE_PROCEDURE
FUNCTION_TYPE
,
Constant Field Valuespublic static final java.lang.String FUNCTION_TYPE_PROGRAM
FUNCTION_TYPE
,
Constant Field Valuespublic static final java.lang.String FUNCTION_TYPE_SPECIAL
FUNCTION_TYPE
,
Constant Field Valuespublic static final long INITIAL_THREAD
getCallStack(long)
,
Constant Field Valuespublic static final int INQUIRY_MESSAGE_REPLY
INQUIRY_MESSAGE_REPLY_REQUIRED
INQUIRY_MESSAGE_REPLY_DEFAULT
INQUIRY_MESSAGE_REPLY_SYSTEM_REPLY_LIST
Type: String
public static final java.lang.String INQUIRY_MESSAGE_REPLY_REQUIRED
INQUIRY_MESSAGE_REPLY
,
Constant Field Valuespublic static final java.lang.String INQUIRY_MESSAGE_REPLY_DEFAULT
INQUIRY_MESSAGE_REPLY
,
Constant Field Valuespublic static final java.lang.String INQUIRY_MESSAGE_REPLY_SYSTEM_REPLY_LIST
INQUIRY_MESSAGE_REPLY
,
Constant Field Valuespublic static final int INTERACTIVE_TRANSACTIONS
Read-only: true
Type: Integer
public static final int INTERNAL_JOB_ID
INTERNAL_JOB_IDENTIFIER
instead. The internal job identifier should be treated as a byte array of 16 bytes.Read-only: true
Type: String
Can be loaded by JobList: false
getInternalJobID()
,
Constant Field Valuespublic static final int INTERNAL_JOB_IDENTIFIER
Read-only: true
Type: byte array
Can be loaded by JobList: false
public static final int JOB_DATE
Type: String in the format CYYMMDD
public static final int JOB_DESCRIPTION
Read-only: true
Type: String
getJobDescription()
,
Constant Field Valuespublic static final int JOB_END_REASON
Read-only: true
Type: Integer
Only valid on V5R1 systems and higher.
public static final int JOB_LOG_OUTPUT
The job log output value can be changed at any time until the job log has been produced or removed. To change the job log output value for a job, use the Change Job (QWTCHGJB) API or the Change Job (CHGJOB) command.
The job log can be displayed at any time until the job log has been produced or removed. To display a job's job log, use the Display Job Log (DSPJOBLOG) command.
The job log can be removed when the job has completed and the job log has not yet been produced or removed. To remove the job log, use the Remove Pending Job Log (QWTRMVJL) API or the End Job (ENDJOB) command.
Possible values are:
JOB_LOG_OUTPUT_SYSTEM_VALUE
JOB_LOG_OUTPUT_JOB_LOG_SERVER
JOB_LOG_OUTPUT_JOB_END
JOB_LOG_OUTPUT_PENDING
Type: String
Only valid on V5R4 systems and higher.
public static final java.lang.String JOB_LOG_OUTPUT_SYSTEM_VALUE
JOB_LOG_OUTPUT
,
Constant Field Valuespublic static final java.lang.String JOB_LOG_OUTPUT_JOB_LOG_SERVER
JOB_LOG_OUTPUT
,
Constant Field Valuespublic static final java.lang.String JOB_LOG_OUTPUT_JOB_END
JOB_LOG_OUTPUT
,
Constant Field Valuespublic static final java.lang.String JOB_LOG_OUTPUT_PENDING
JOB_LOG_OUTPUT
,
Constant Field Valuespublic static final int JOB_LOG_PENDING
Read-only: true
Type: String
Only valid on V5R1 systems and higher.
public static final java.lang.String JOB_LOG_PENDING_NO
JOB_LOG_PENDING
,
Constant Field Valuespublic static final java.lang.String JOB_LOG_PENDING_YES
JOB_LOG_PENDING
,
Constant Field Valuespublic static final int JOB_NAME
JOB_NAME_INTERNAL
JOB_NAME_CURRENT
Type: String
public static final java.lang.String JOB_NAME_INTERNAL
JOB_NAME
,
Constant Field Valuespublic static final java.lang.String JOB_NAME_CURRENT
JOB_NAME
,
Constant Field Valuespublic static final int JOB_NUMBER
JOB_NUMBER_BLANK
Type: String
public static final java.lang.String JOB_NUMBER_BLANK
JOB_NUMBER
,
Constant Field Valuespublic static final int JOB_QUEUE
Type: String
public static final int JOB_QUEUE_DATE
Read-only: true
Type: String in the system timestamp format
public static final int JOB_QUEUE_PRIORITY
Type: String
public static final int JOB_QUEUE_STATUS
Read-only: true
Type: String
public static final java.lang.String JOB_QUEUE_STATUS_BLANK
JOB_QUEUE_STATUS
,
Constant Field Valuespublic static final java.lang.String JOB_QUEUE_STATUS_SCHEDULED
JOB_QUEUE_STATUS
,
Constant Field Valuespublic static final java.lang.String JOB_QUEUE_STATUS_HELD
JOB_QUEUE_STATUS
,
Constant Field Valuespublic static final java.lang.String JOB_QUEUE_STATUS_READY
JOB_QUEUE_STATUS
,
Constant Field Valuespublic static final int JOB_STATUS
Read-only: true
Type: String
getStatus()
,
Constant Field Valuespublic static final java.lang.String JOB_STATUS_ACTIVE
JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String JOB_STATUS_JOBQ
JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String JOB_STATUS_OUTQ
JOB_STATUS
,
Constant Field Valuespublic static final int JOB_SUBTYPE
JOB_SUBTYPE_BLANK
JOB_SUBTYPE_IMMEDIATE
JOB_SUBTYPE_PROCEDURE_START_REQUEST
JOB_SUBTYPE_MACHINE_SERVER_JOB
JOB_SUBTYPE_PRESTART
JOB_SUBTYPE_PRINT_DRIVER
JOB_SUBTYPE_MRT
JOB_SUBTYPE_ALTERNATE_SPOOL_USER
Read-only: true
Type: String
getSubtype()
,
Constant Field Valuespublic static final java.lang.String JOB_SUBTYPE_BLANK
JOB_SUBTYPE
,
Constant Field Valuespublic static final java.lang.String JOB_SUBTYPE_IMMEDIATE
JOB_SUBTYPE
,
Constant Field Valuespublic static final java.lang.String JOB_SUBTYPE_PROCEDURE_START_REQUEST
JOB_SUBTYPE
,
Constant Field Valuespublic static final java.lang.String JOB_SUBTYPE_MACHINE_SERVER_JOB
JOB_SUBTYPE
,
Constant Field Valuespublic static final java.lang.String JOB_SUBTYPE_PRESTART
JOB_SUBTYPE
,
Constant Field Valuespublic static final java.lang.String JOB_SUBTYPE_PRINT_DRIVER
JOB_SUBTYPE
,
Constant Field Valuespublic static final java.lang.String JOB_SUBTYPE_MRT
JOB_SUBTYPE
,
Constant Field Valuespublic static final java.lang.String JOB_SUBTYPE_ALTERNATE_SPOOL_USER
JOB_SUBTYPE
,
Constant Field Valuespublic static final int JOB_SWITCHES
Type: String
public static final int JOB_TYPE
JOB_TYPE_NOT_VALID
JOB_TYPE_AUTOSTART
JOB_TYPE_BATCH
JOB_TYPE_INTERACTIVE
JOB_TYPE_SUBSYSTEM_MONITOR
JOB_TYPE_SPOOLED_READER
JOB_TYPE_SYSTEM
JOB_TYPE_SPOOLED_WRITER
JOB_TYPE_SCPF_SYSTEM
Read-only: true
Type: String
getType()
,
Constant Field Valuespublic static final java.lang.String JOB_TYPE_NOT_VALID
JOB_TYPE
,
Constant Field Valuespublic static final java.lang.String JOB_TYPE_AUTOSTART
JOB_TYPE
,
Constant Field Valuespublic static final java.lang.String JOB_TYPE_BATCH
JOB_TYPE
,
Constant Field Valuespublic static final java.lang.String JOB_TYPE_INTERACTIVE
JOB_TYPE
,
Constant Field Valuespublic static final java.lang.String JOB_TYPE_SUBSYSTEM_MONITOR
JOB_TYPE
,
Constant Field Valuespublic static final java.lang.String JOB_TYPE_SPOOLED_READER
JOB_TYPE
,
Constant Field Valuespublic static final java.lang.String JOB_TYPE_SYSTEM
JOB_TYPE
,
Constant Field Valuespublic static final java.lang.String JOB_TYPE_SPOOLED_WRITER
JOB_TYPE
,
Constant Field Valuespublic static final java.lang.String JOB_TYPE_SCPF_SYSTEM
JOB_TYPE
,
Constant Field Valuespublic static final int JOB_TYPE_ENHANCED
JOB_TYPE_ENHANCED_AUTOSTART
JOB_TYPE_ENHANCED_BATCH
JOB_TYPE_ENHANCED_BATCH_IMMEDIATE
JOB_TYPE_ENHANCED_BATCH_MRT
JOB_TYPE_ENHANCED_BATCH_ALTERNATE_SPOOL_USER
JOB_TYPE_ENHANCED_COMM_PROCEDURE_START_REQUEST
JOB_TYPE_ENHANCED_INTERACTIVE
JOB_TYPE_ENHANCED_INTERACTIVE_GROUP
JOB_TYPE_ENHANCED_SYSREQ
JOB_TYPE_ENHANCED_INTERACTIVE_SYSREQ_AND_GROUP
JOB_TYPE_ENHANCED_PRESTART
JOB_TYPE_ENHANCED_PRESTART_BATCH
JOB_TYPE_ENHANCED_PRESTART_COMM
JOB_TYPE_ENHANCED_READER
JOB_TYPE_ENHANCED_SUBSYSTEM
JOB_TYPE_ENHANCED_SYSTEM
JOB_TYPE_ENHANCED_WRITER
Read-only: true
Type: Integer
Only valid on V5R1 systems and higher.
public static final java.lang.Integer JOB_TYPE_ENHANCED_AUTOSTART
JOB_TYPE_ENHANCED
public static final java.lang.Integer JOB_TYPE_ENHANCED_BATCH
JOB_TYPE_ENHANCED
public static final java.lang.Integer JOB_TYPE_ENHANCED_BATCH_IMMEDIATE
JOB_TYPE_ENHANCED
public static final java.lang.Integer JOB_TYPE_ENHANCED_BATCH_MRT
JOB_TYPE_ENHANCED
public static final java.lang.Integer JOB_TYPE_ENHANCED_BATCH_ALTERNATE_SPOOL_USER
JOB_TYPE_ENHANCED
public static final java.lang.Integer JOB_TYPE_ENHANCED_COMM_PROCEDURE_START_REQUEST
JOB_TYPE_ENHANCED
public static final java.lang.Integer JOB_TYPE_ENHANCED_INTERACTIVE
JOB_TYPE_ENHANCED
public static final java.lang.Integer JOB_TYPE_ENHANCED_INTERACTIVE_GROUP
JOB_TYPE_ENHANCED
public static final java.lang.Integer JOB_TYPE_ENHANCED_INTERACTIVE_SYSREQ
JOB_TYPE_ENHANCED
public static final java.lang.Integer JOB_TYPE_ENHANCED_INTERACTIVE_SYSREQ_AND_GROUP
JOB_TYPE_ENHANCED
public static final java.lang.Integer JOB_TYPE_ENHANCED_PRESTART
JOB_TYPE_ENHANCED
public static final java.lang.Integer JOB_TYPE_ENHANCED_PRESTART_BATCH
JOB_TYPE_ENHANCED
public static final java.lang.Integer JOB_TYPE_ENHANCED_PRESTART_COMM
JOB_TYPE_ENHANCED
public static final java.lang.Integer JOB_TYPE_ENHANCED_READER
JOB_TYPE_ENHANCED
public static final java.lang.Integer JOB_TYPE_ENHANCED_SUBSYSTEM
JOB_TYPE_ENHANCED
public static final java.lang.Integer JOB_TYPE_ENHANCED_SYSTEM
JOB_TYPE_ENHANCED
public static final java.lang.Integer JOB_TYPE_ENHANCED_WRITER
JOB_TYPE_ENHANCED
public static final int JOB_USER_IDENTITY
Read-only: true
Type: String
public static final int JOB_USER_IDENTITY_SETTING
JOB_USER_IDENTITY_SETTING_DEFAULT
JOB_USER_IDENTITY_SETTING_APPLICATION
JOB_USER_IDENTITY_SETTING_SYSTEM
Read-only: true
Type: String
public static final java.lang.String JOB_USER_IDENTITY_SETTING_DEFAULT
public static final java.lang.String JOB_USER_IDENTITY_SETTING_APPLICATION
public static final java.lang.String JOB_USER_IDENTITY_SETTING_SYSTEM
public static final int KEEP_DDM_CONNECTIONS_ACTIVE
Type: String
public static final java.lang.String KEEP_DDM_CONNECTIONS_ACTIVE_KEEP
public static final java.lang.String KEEP_DDM_CONNECTIONS_ACTIVE_DROP
public static final int LANGUAGE_ID
LANGUAGE_ID_SYSTEM_VALUE
LANGUAGE_ID_INITIAL_USER
Type: String
public static final java.lang.String LANGUAGE_ID_SYSTEM_VALUE
LANGUAGE_ID
,
Constant Field Valuespublic static final java.lang.String LANGUAGE_ID_INITIAL_USER
LANGUAGE_ID
,
Constant Field Valuespublic static final int LOG_CL_PROGRAMS
Type: String
public static final java.lang.String LOG_CL_PROGRAMS_YES
LOG_CL_PROGRAMS
,
Constant Field Valuespublic static final java.lang.String LOG_CL_PROGRAMS_NO
LOG_CL_PROGRAMS
,
Constant Field Valuespublic static final int LOGGING_LEVEL
LOGGING_LEVEL_NONE
LOGGING_LEVEL_MESSAGES_BY_SEVERITY
LOGGING_LEVEL_REQUESTS_BY_SEVERITY_AND_ASSOCIATED_MESSAGES
LOGGING_LEVEL_ALL_REQUESTS_AND_ASSOCIATED_MESSAGES
LOGGING_LEVEL_ALL_REQUESTS_AND_MESSAGES
Type: String
public static final java.lang.String LOGGING_LEVEL_NONE
LOGGING_LEVEL
,
Constant Field Valuespublic static final java.lang.String LOGGING_LEVEL_MESSAGES_BY_SEVERITY
LOGGING_LEVEL
,
Constant Field Valuespublic static final java.lang.String LOGGING_LEVEL_REQUESTS_BY_SEVERITY_AND_ASSOCIATED_MESSAGES
LOGGING_LEVEL
,
Constant Field Valuespublic static final java.lang.String LOGGING_LEVEL_ALL_REQUESTS_AND_ASSOCIATED_MESSAGES
LOGGING_LEVEL
,
Constant Field Valuespublic static final java.lang.String LOGGING_LEVEL_ALL_REQUESTS_AND_MESSAGES
LOGGING_LEVEL
,
Constant Field Valuespublic static final int LOGGING_SEVERITY
Type: Integer
public static final int LOGGING_TEXT
Type: String
public static final java.lang.String LOGGING_TEXT_MESSAGE
LOGGING_TEXT
,
Constant Field Valuespublic static final java.lang.String LOGGING_TEXT_SECLVL
LOGGING_TEXT
,
Constant Field Valuespublic static final java.lang.String LOGGING_TEXT_NO_LIST
LOGGING_TEXT
,
Constant Field Valuespublic static final int MAX_CPU_TIME
Read-only: true
Type: Integer
public static final int MAX_TEMP_STORAGE
Read-only: true
Type: Integer
public static final int MAX_TEMP_STORAGE_LARGE
Read-only: true
Type: Long
public static final int MAX_THREADS
Read-only: true
Type: Integer
public static final int MEMORY_POOL
MEMORY_POOL_MACHINE
MEMORY_POOL_BASE
MEMORY_POOL_INTERACTIVE
MEMORY_POOL_SPOOL
Read-only: true
Type: String
Only valid on V5R1 systems and higher.
public static final java.lang.String MEMORY_POOL_MACHINE
MEMORY_POOL
,
Constant Field Valuespublic static final java.lang.String MEMORY_POOL_BASE
MEMORY_POOL
,
Constant Field Valuespublic static final java.lang.String MEMORY_POOL_INTERACTIVE
MEMORY_POOL
,
Constant Field Valuespublic static final java.lang.String MEMORY_POOL_SPOOL
MEMORY_POOL
,
Constant Field Valuespublic static final int MESSAGE_REPLY
Read-only: true
Type: String
Only valid on V5R1 systems and higher.
public static final java.lang.String MESSAGE_REPLY_NOT_IN_MESSAGE_WAIT
MESSAGE_REPLY
,
Constant Field Valuespublic static final java.lang.String MESSAGE_REPLY_WAITING
MESSAGE_REPLY
,
Constant Field Valuespublic static final java.lang.String MESSAGE_REPLY_NOT_WAITING
MESSAGE_REPLY
,
Constant Field Valuespublic static final int MESSAGE_QUEUE_ACTION
MESSAGE_QUEUE_ACTION_SYSTEM_VALUE
MESSAGE_QUEUE_ACTION_NO_WRAP
MESSAGE_QUEUE_ACTION_WRAP
MESSAGE_QUEUE_ACTION_PRINT_WRAP
Type: String
public static final java.lang.String MESSAGE_QUEUE_ACTION_SYSTEM_VALUE
MESSAGE_QUEUE_ACTION
,
Constant Field Valuespublic static final java.lang.String MESSAGE_QUEUE_ACTION_NO_WRAP
MESSAGE_QUEUE_ACTION
,
Constant Field Valuespublic static final java.lang.String MESSAGE_QUEUE_ACTION_WRAP
MESSAGE_QUEUE_ACTION
,
Constant Field Valuespublic static final java.lang.String MESSAGE_QUEUE_ACTION_PRINT_WRAP
MESSAGE_QUEUE_ACTION
,
Constant Field Valuespublic static final int MESSAGE_QUEUE_MAX_SIZE
Read-only: true
Type: Integer
public static final int MODE
Read-only: true
Type: String
public static final int OUTPUT_QUEUE
OUTPUT_QUEUE_DEVICE
OUTPUT_QUEUE_WORK_STATION
OUTPUT_QUEUE_INITIAL_USER
Type: String
public static final java.lang.String OUTPUT_QUEUE_DEVICE
OUTPUT_QUEUE
,
Constant Field Valuespublic static final java.lang.String OUTPUT_QUEUE_WORK_STATION
OUTPUT_QUEUE
,
Constant Field Valuespublic static final java.lang.String OUTPUT_QUEUE_INITIAL_USER
OUTPUT_QUEUE
,
Constant Field Valuespublic static final int OUTPUT_QUEUE_PRIORITY
Type: String
public static final int PRINT_KEY_FORMAT
PRINT_KEY_FORMAT_SYSTEM_VALUE
PRINT_KEY_FORMAT_NONE
PRINT_KEY_FORMAT_BORDER
PRINT_KEY_FORMAT_HEADER
PRINT_KEY_FORMAT_ALL
Type: String
public static final java.lang.String PRINT_KEY_FORMAT_SYSTEM_VALUE
PRINT_KEY_FORMAT
,
Constant Field Valuespublic static final java.lang.String PRINT_KEY_FORMAT_NONE
PRINT_KEY_FORMAT
,
Constant Field Valuespublic static final java.lang.String PRINT_KEY_FORMAT_BORDER
PRINT_KEY_FORMAT
,
Constant Field Valuespublic static final java.lang.String PRINT_KEY_FORMAT_HEADER
PRINT_KEY_FORMAT
,
Constant Field Valuespublic static final java.lang.String PRINT_KEY_FORMAT_ALL
PRINT_KEY_FORMAT
,
Constant Field Valuespublic static final int PRINT_TEXT
PRINT_TEXT_SYSTEM_VALUE
PRINT_TEXT_BLANK
Type: String
public static final java.lang.String PRINT_TEXT_SYSTEM_VALUE
PRINT_TEXT
,
Constant Field Valuespublic static final java.lang.String PRINT_TEXT_BLANK
PRINT_TEXT
,
Constant Field Valuespublic static final int PRINTER_DEVICE_NAME
PRINTER_DEVICE_NAME_SYSTEM_VALUE
PRINTER_DEVICE_NAME_WORK_STATION
PRINTER_DEVICE_NAME_INITIAL_USER
Type: String
public static final java.lang.String PRINTER_DEVICE_NAME_SYSTEM_VALUE
PRINTER_DEVICE_NAME
,
Constant Field Valuespublic static final java.lang.String PRINTER_DEVICE_NAME_WORK_STATION
PRINTER_DEVICE_NAME
,
Constant Field Valuespublic static final java.lang.String PRINTER_DEVICE_NAME_INITIAL_USER
PRINTER_DEVICE_NAME
,
Constant Field Valuespublic static final int PRODUCT_LIBRARIES
Read-only: true
Type: String
Can be loaded by JobList: false
public static final int PRODUCT_RETURN_CODE
Read-only: true
Type: Integer
public static final int PROGRAM_RETURN_CODE
Read-only: true
Type: Integer
public static final int ROUTING_DATA
Read-only: true
Type: String
getRoutingData()
,
Constant Field Valuespublic static final int RUN_PRIORITY
Type: Integer
public static final int SCHEDULE_DATE
setValue()
are:
SCHEDULE_DATE_CURRENT
SCHEDULE_DATE_MONTH_START
SCHEDULE_DATE_MONTH_END
SCHEDULE_DATE_MONDAY
SCHEDULE_DATE_TUESDAY
SCHEDULE_DATE_WEDNESDAY
SCHEDULE_DATE_THURSDAY
SCHEDULE_DATE_FRIDAY
SCHEDULE_DATE_SATURDAY
SCHEDULE_DATE_SUNDAY
Type: String on setValue(); java.util.Date on getValue().
public static final java.lang.String SCHEDULE_DATE_CURRENT
SCHEDULE_DATE
,
Constant Field Valuespublic static final java.lang.String SCHEDULE_DATE_MONTH_START
SCHEDULE_DATE
,
Constant Field Valuespublic static final java.lang.String SCHEDULE_DATE_MONTH_END
SCHEDULE_DATE
,
Constant Field Valuespublic static final java.lang.String SCHEDULE_DATE_MONDAY
SCHEDULE_DATE
,
Constant Field Valuespublic static final java.lang.String SCHEDULE_DATE_TUESDAY
SCHEDULE_DATE
,
Constant Field Valuespublic static final java.lang.String SCHEDULE_DATE_WEDNESDAY
SCHEDULE_DATE
,
Constant Field Valuespublic static final java.lang.String SCHEDULE_DATE_THURSDAY
SCHEDULE_DATE
,
Constant Field Valuespublic static final java.lang.String SCHEDULE_DATE_FRIDAY
SCHEDULE_DATE
,
Constant Field Valuespublic static final java.lang.String SCHEDULE_DATE_SATURDAY
SCHEDULE_DATE
,
Constant Field Valuespublic static final java.lang.String SCHEDULE_DATE_SUNDAY
SCHEDULE_DATE
,
Constant Field Valuespublic static final int SCHEDULE_TIME
setValue()
are:
SCHEDULE_TIME_CURRENT
Type: String on setValue(); java.util.Date on getValue().
public static final java.lang.String SCHEDULE_TIME_CURRENT
SCHEDULE_TIME
,
Constant Field Valuespublic static final int SERVER_TYPE
Read-only: true
Type: String
public static final int SIGNED_ON_JOB
Read-only: true
Type: String
getSignedOnJob()
,
Constant Field Valuespublic static final java.lang.String SIGNED_ON_JOB_TRUE
SIGNED_ON_JOB
,
Constant Field Valuespublic static final java.lang.String SIGNED_ON_JOB_FALSE
SIGNED_ON_JOB
,
Constant Field Valuespublic static final int SORT_SEQUENCE_TABLE
SORT_SEQUENCE_TABLE_SYSTEM_VALUE
SORT_SEQUENCE_TABLE_INITIAL_USER
SORT_SEQUENCE_TABLE_NONE
SORT_SEQUENCE_TABLE_LANGUAGE_SHARED_WEIGHT
SORT_SEQUENCE_TABLE_LANGUAGE_UNIQUE_WEIGHT
Type: String
public static final java.lang.String SORT_SEQUENCE_TABLE_SYSTEM_VALUE
SORT_SEQUENCE_TABLE
,
Constant Field Valuespublic static final java.lang.String SORT_SEQUENCE_TABLE_INITIAL_USER
SORT_SEQUENCE_TABLE
,
Constant Field Valuespublic static final java.lang.String SORT_SEQUENCE_TABLE_NONE
SORT_SEQUENCE_TABLE
,
Constant Field Valuespublic static final java.lang.String SORT_SEQUENCE_TABLE_LANGUAGE_SHARED_WEIGHT
SORT_SEQUENCE_TABLE
,
Constant Field Valuespublic static final java.lang.String SORT_SEQUENCE_TABLE_LANGUAGE_UNIQUE_WEIGHT
SORT_SEQUENCE_TABLE
,
Constant Field Valuespublic static final int SPECIAL_ENVIRONMENT
Read-only: true
Type: String
public static final java.lang.String SPECIAL_ENVIRONMENT_NONE
SPECIAL_ENVIRONMENT
,
Constant Field Valuespublic static final java.lang.String SPECIAL_ENVIRONMENT_SYSTEM_36
SPECIAL_ENVIRONMENT
,
Constant Field Valuespublic static final java.lang.String SPECIAL_ENVIRONMENT_NOT_ACTIVE
SPECIAL_ENVIRONMENT
,
Constant Field Valuespublic static final int SPOOLED_FILE_ACTION
Type: String
public static final java.lang.String SPOOLED_FILE_ACTION_KEEP
SPOOLED_FILE_ACTION
,
Constant Field Valuespublic static final java.lang.String SPOOLED_FILE_ACTION_DETACH
SPOOLED_FILE_ACTION
,
Constant Field Valuespublic static final java.lang.String SPOOLED_FILE_ACTION_SYSTEM_VALUE
SPOOLED_FILE_ACTION
,
Constant Field Valuespublic static final int STATUS_MESSAGE_HANDLING
STATUS_MESSAGE_HANDLING_SYSTEM_VALUE
STATUS_MESSAGE_HANDLING_INITIAL_USER
STATUS_MESSAGE_HANDLING_NONE
STATUS_MESSAGE_HANDLING_NORMAL
Type: String
public static final java.lang.String STATUS_MESSAGE_HANDLING_SYSTEM_VALUE
STATUS_MESSAGE_HANDLING
,
Constant Field Valuespublic static final java.lang.String STATUS_MESSAGE_HANDLING_INITIAL_USER
STATUS_MESSAGE_HANDLING
,
Constant Field Valuespublic static final java.lang.String STATUS_MESSAGE_HANDLING_NONE
STATUS_MESSAGE_HANDLING
,
Constant Field Valuespublic static final java.lang.String STATUS_MESSAGE_HANDLING_NORMAL
STATUS_MESSAGE_HANDLING
,
Constant Field Valuespublic static final int SUBMITTED_BY_JOB_NAME
Read-only: true
Type: String
public static final int SUBMITTED_BY_USER
Read-only: true
Type: String
Can be loaded by JobList: false
public static final int SUBMITTED_BY_JOB_NUMBER
Read-only: true
Type: String
Can be loaded by JobList: false
public static final int SUBSYSTEM
Read-only: true
Type: String
getSubsystem()
,
Constant Field Valuespublic static final int SYSTEM_POOL_ID
Read-only: true
Type: Integer
public static final int SYSTEM_LIBRARY_LIST
Read-only: true
Type: String
Can be loaded by JobList: false
public static final int TEMP_STORAGE_USED
Read-only: true
Type: Integer
public static final int TEMP_STORAGE_USED_LARGE
Read-only: true
Type: Long
public static final int THREAD_COUNT
Read-only: true
Type: Integer
public static final int TIME_SEPARATOR
TIME_SEPARATOR_SYSTEM_VALUE
TIME_SEPARATOR_COLON
TIME_SEPARATOR_PERIOD
TIME_SEPARATOR_BLANK
TIME_SEPARATOR_COMMA
Type: String
public static final java.lang.String TIME_SEPARATOR_SYSTEM_VALUE
TIME_SEPARATOR
,
Constant Field Valuespublic static final java.lang.String TIME_SEPARATOR_COLON
TIME_SEPARATOR
,
Constant Field Valuespublic static final java.lang.String TIME_SEPARATOR_PERIOD
TIME_SEPARATOR
,
Constant Field Valuespublic static final java.lang.String TIME_SEPARATOR_BLANK
TIME_SEPARATOR
,
Constant Field Valuespublic static final java.lang.String TIME_SEPARATOR_COMMA
TIME_SEPARATOR
,
Constant Field Valuespublic static final int TIME_SLICE
Type: Integer
getTimeSlice()
,
setTimeSlice(int)
,
Constant Field Valuespublic static final int TIME_SLICE_END_POOL
Type: String
public static final java.lang.String TIME_SLICE_END_POOL_SYSTEM_VALUE
TIME_SLICE_END_POOL
,
Constant Field Valuespublic static final java.lang.String TIME_SLICE_END_POOL_NONE
TIME_SLICE_END_POOL
,
Constant Field Valuespublic static final java.lang.String TIME_SLICE_END_POOL_BASE
TIME_SLICE_END_POOL
,
Constant Field Valuespublic static final int TOTAL_RESPONSE_TIME
Read-only: true
Type: Integer
getTotalResponseTime()
,
Constant Field Valuespublic static final int UNIT_OF_WORK_ID
Read-only: true
Type: String
getWorkIDUnit()
,
Constant Field Valuespublic static final int LOCATION_NAME
Read-only: true
Type: String
UNIT_OF_WORK_ID
,
getWorkIDUnit()
,
Constant Field Valuespublic static final int NETWORK_ID
Read-only: true
Type: String
UNIT_OF_WORK_ID
,
getWorkIDUnit()
,
Constant Field Valuespublic static final int INSTANCE
Read-only: true
Type: String
UNIT_OF_WORK_ID
,
getWorkIDUnit()
,
Constant Field Valuespublic static final int SEQUENCE_NUMBER
Read-only: true
Type: String
UNIT_OF_WORK_ID
,
getWorkIDUnit()
,
Constant Field Valuespublic static final int USER_LIBRARY_LIST
Read-only: true
Type: String
Can be loaded by JobList: false
public static final int USER_NAME
USER_NAME_BLANK
Type: String
public static final java.lang.String USER_NAME_BLANK
USER_NAME
,
Constant Field Valuespublic static final int USER_RETURN_CODE
Read-only: true
Type: Integer
public Job()
public Job(AS400 system)
system
- The system object representing the system on which the job exists.setName(java.lang.String)
,
setNumber(java.lang.String)
,
setUser(java.lang.String)
public Job(AS400 system, java.lang.String jobName, java.lang.String userName, java.lang.String jobNumber)
system
- The system object representing the system on which the job exists.jobName
- The job name. Specify JOB_NAME_CURRENT to indicate the job that this program is running in.userName
- The user name. This must be USER_NAME_BLANK if the job name is JOB_NAME_CURRENT.jobNumber
- The job number. This must be JOB_NUMBER_BLANK if job name is JOB_NAME_CURRENT.public Job(AS400 system, java.lang.String internalJobID)
Job(AS400,byte[])
instead. The internal job ID should be treated as a byte array of 16 bytes.system
- The system object representing the system on which the job exists.internalJobID
- The internal job identifier.public Job(AS400 system, byte[] internalJobID)
system
- The system.internalJobID
- The 16-byte internal job identifier.public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
propertyChange()
method will be called each time the value of any bound property is changed.listener
- The listener.removePropertyChangeListener(java.beans.PropertyChangeListener)
public void addVetoableChangeListener(java.beans.VetoableChangeListener listener)
vetoableChange()
method will be called each time the value of any constrained property is changed.listener
- The listener.removeVetoableChangeListener(java.beans.VetoableChangeListener)
public void commitChanges() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.commitChanges(boolean)
public void commitChanges(boolean callOnThread) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
commitChanges()
if the Java application is running remotely, that is, is not running "natively" on an IBM i system. When running remotely, the Toolbox submits all program calls through the Remote Command Host Server.callOnThread
- Whether to call the system API on-thread or off-thread.AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.public void end(int delay) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
delay
- The delay time in seconds.AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.hold(boolean)
,
release()
public int getAuxiliaryIORequests() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.AUXILIARY_IO_REQUESTS
public java.lang.String getBreakMessageHandling() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
BREAK_MESSAGE_HANDLING_NORMAL
- The message queue status determines break message handling.
BREAK_MESSAGE_HANDLING_HOLD
- The message queue holds break messages until a user or program requests them. The work station user uses the Display Message (DPSMSG) command to display the messages; a program must issue a Receive Message (RCVMSG) command to receive a message and handle it.
BREAK_MESSAGE_HANDLING_NOTIFY
- The system notifies the job's message queue when a message arrives. For interactive jobs, the audible alarm sounds if there is one, and the message-waiting light comes on.
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.BREAK_MESSAGE_HANDLING
public boolean getCacheChanges()
commitChanges()
,
getValue(int)
,
setCacheChanges(boolean)
,
setValue(int, java.lang.Object)
public CallStackEntry[] getCallStack(long threadID) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
threadID
- The thread identifier, or Job.INITIAL_THREAD
for the initial thread of this job.AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.public int getCodedCharacterSetID() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.CCSID
public java.lang.String getCompletionStatus() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
COMPLETION_STATUS_NOT_COMPLETED
- The job has not completed.
COMPLETION_STATUS_COMPLETED_NORMALLY
- The job completed normally.
COMPLETION_STATUS_COMPLETED_ABNORMALLY
- The job completed abnormally.
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed, or if the job can no longer be found (AS400Exception)..java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.COMPLETION_STATUS
public java.lang.String getCountryID() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.COUNTRY_ID
public int getCPUUsed() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.CPU_TIME_USED
public java.lang.String getCurrentLibrary() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.CURRENT_LIBRARY
public boolean getCurrentLibraryExistence() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.CURRENT_LIBRARY_EXISTENCE
public java.util.Date getDate() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.DATE_ENTERED_SYSTEM
public java.lang.String getDateFormat() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
DATE_FORMAT_YMD
- Year, month, and day format.
DATE_FORMAT_MDY
- Month, day, and year format.
DATE_FORMAT_DMY
- Day, month, and year format.
DATE_FORMAT_JULIAN
- Julian format (year and day).
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.DATE_FORMAT
public java.lang.String getDateSeparator() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
DATE_SEPARATOR_SLASH
- A slash (/) is used for the date separator.
DATE_SEPARATOR_DASH
- A dash (-) is used for the date separator.
DATE_SEPARATOR_PERIOD
- A period (.) is used for the date separator.
DATE_SEPARATOR_BLANK
- A blank is used for the date separator.
DATE_SEPARATOR_COMMA
- A comma (,) is used for the date separator.
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.DATE_SEPARATOR
public java.lang.String getDDMConversationHandling() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
KEEP_DDM_CONNECTIONS_ACTIVE_KEEP
- The system keeps DDM connections active when there are no users, except for the following:
KEEP_DDM_CONNECTIONS_ACTIVE_DROP
- The system ends a DDM connection when there are no users. Examples include when an application closes a DDM file, or when a DRDA application runs an SQL DISCONNECT statement.
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.KEEP_DDM_CONNECTIONS_ACTIVE
public java.lang.String getDecimalFormat() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
DECIMAL_FORMAT_PERIOD
- Uses a period for a decimal point, a comma for a 3-digit grouping character, and zero-suppresses to the left of the decimal point.
DECIMAL_FORMAT_COMMA_J
- Uses a comma for a decimal point, a period for a 3-digit grouping character, and zero-suppresses to the left of the decimal point.
DECIMAL_FORMAT_COMMA_I
- Uses a comma for a decimal point and a period for a 3-digit grouping character. The zero-suppression character is in the second position (rather than the first) to the left of the decimal notation. Balances with zero values to the left of the comma are written with one leading zero (0,04). This constant also overrides any edit codes that might suppress the leading zero.
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.DECIMAL_FORMAT
public int getDefaultCodedCharacterSetIdentifier() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.DEFAULT_CCSID
public int getDefaultWait() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.DEFAULT_WAIT_TIME
public java.lang.String getDeviceRecoveryAction() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
DEVICE_RECOVERY_ACTION_MESSAGE
- Signals the I/O error message to the application and lets the application program perform error recovery.
DEVICE_RECOVERY_ACTION_DISCONNECT_MESSAGE
- Disconnects the job when an I/O error occurs. When the job reconnects, the system sends an error message to the application program, indicating the job has reconnected and that the work station device has recovered.
DEVICE_RECOVERY_ACTION_DISCONNECT_END_REQUEST
- Disconnects the job when an I/O error occurs. When the job reconnects, the system sends the End Request (ENDRQS) command to return control to the previous request level.
DEVICE_RECOVERY_ACTION_END_JOB
- Ends the job when an I/O error occurs. A message is sent to the job's log and to the history log (QHST) indicating the job ended because of a device error.
DEVICE_RECOVERY_ACTION_END_JOB_NO_LIST
- Ends the job when an I/O error occurs. There is no job log produced for the job. The system sends a message to the QHST log indicating the job ended because of a device error.
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.DEVICE_RECOVERY_ACTION
public int getEndSeverity() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.END_SEVERITY
public java.lang.String getFunctionName() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.FUNCTION_NAME
public java.lang.String getFunctionType() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
FUNCTION_TYPE_BLANK
- The system is not performing a logged function.
FUNCTION_TYPE_COMMAND
- A command is running interactively, or it is in a batch input stream, or it was requested from a system menu. Commands in CL programs or REXX procedures are not logged. The FUNCTION_NAME attribute contains the name of the command and is only updated when a command is processed.
FUNCTION_TYPE_DELAY
- The initial thread of the job is processing a Delay Job (DLYJOB) command. The FUNCTION_NAME attribute contains the number of seconds the job is delayed (up to 999999 seconds), or the time when the job is to resume processing (HH:MM:SS), depending on how you specified the command.
FUNCTION_TYPE_GROUP
- The Transfer Group Job (TFRGRPJOB) command suspended the job. The FUNCTION_NAME attribute contains the group job name for that job.
FUNCTION_TYPE_INDEX
- The initial thread of the job is rebuilding an index (access path). The FUNCTION_NAME attribute contains the name of the logical file whose index is rebuilt.
FUNCTION_TYPE_JAVA
- The initial thread of the job is running a Java Vertual Machine (JVM). The FUNCTION_NAME attribute contains the name of the java class.
FUNCTION_TYPE_LOG
- The system logs history information in a database file. The FUNCTION_NAME attribute contains the name of the log (QHST is the only log currently supported).
FUNCTION_TYPE_MRT
- The job is a multiple requester terminal (MRT) job if the JOB_TYPE
is JOB_TYPE_BATCH
and the JOB_SUBTYPE
is JOB_SUBTYPE_MRT
, or it is an interactive job attached to an MRT job if the JOB_TYPE
is JOB_TYPE_INTERACTIVE
.
For MRT jobs, the FUNCTION_NAME attribute contains information in the following format:
For interactive jobs attached to an MRT, the FUNCTION_NAME attribute contains the name of the MRT procedure.
FUNCTION_TYPE_MENU
- The initial thread of the job is currently at a system menu. The FUNCTION_NAME field contains the name of the menu.
FUNCTION_TYPE_IO
- The job is a subsystem monitor that is performing input/output (I/O) operations to a work station. The FUNCTION_NAME attribute contains the name of the work station device to which the subsystem is performing an input/output operation.
FUNCTION_TYPE_PROCEDURE
- The initial thread of the job is running a procedure. The FUNCTION_NAME attribute contains the name of the procedure.
FUNCTION_TYPE_PROGRAM
- The initial thread of the job is running a program. The FUNCTION_NAME attribute contains the name of the program.
FUNCTION_TYPE_SPECIAL
- The function type is a special function. For this value, the FUNCTION_NAME attribute contains one of the following values:
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.FUNCTION_TYPE
public java.lang.String getInquiryMessageReply() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
INQUIRY_MESSAGE_REPLY_REQUIRED
- The job requires an answer for any inquiry messages that occur while this job is running.
INQUIRY_MESSAGE_REPLY_DEFAULT
- The system uses the default message reply to answer any inquiry messages issued while this job is running. The default reply is either defined in the message description or is the default system reply.
INQUIRY_MESSAGE_REPLY_SYSTEM_REPLY_LIST
- The system reply list is checked to see if there is an entry for an inquiry message issued while this job is running. If a match occurs, the system uses the reply value for that entry. If no entry exists for that message, the system uses an inquiry message.
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.INQUIRY_MESSAGE_REPLY
public int getInteractiveTransactions() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.INTERACTIVE_TRANSACTIONS
public java.lang.String getInternalJobID()
getInternalJobIdentifier()
instead. The internal job identifier should be treated as a byte array of 16 bytes.public byte[] getInternalJobIdentifier()
setInternalJobIdentifier(byte[])
public java.lang.String getJobAccountingCode() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.ACCOUNTING_CODE
public java.util.Date getJobActiveDate() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.DATE_STARTED
public java.util.Date getJobDate() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.JOB_DATE
public java.lang.String getJobDescription() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.JOB_DESCRIPTION
,
QSYSObjectPathName
public java.util.Date getJobEndedDate() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.DATE_ENDED
public java.util.Date getJobEnterSystemDate() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.DATE_ENTERED_SYSTEM
public JobLog getJobLog()
public java.lang.String getJobMessageQueueFullAction() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
MESSAGE_QUEUE_ACTION_NO_WRAP
- When the job message queue is full, do not wrap. This action causes the job to end.
MESSAGE_QUEUE_ACTION_WRAP
- When the job message queue is full, wrap to the beginning and start filling again.
MESSAGE_QUEUE_ACTION_PRINT_WRAP
- When the job message queue is full, wrap the message queue and print the messages that are being overlaid because of the wrapping.
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.MESSAGE_QUEUE_ACTION
public int getJobMessageQueueMaximumSize() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.MESSAGE_QUEUE_MAX_SIZE
public java.util.Date getJobPutOnJobQueueDate() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.JOB_QUEUE_DATE
public java.util.Date getScheduleDate() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.SCHEDULE_DATE
public java.lang.String getJobStatusInJobQueue() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
JOB_QUEUE_STATUS_BLANK
- This job was not on a job queue.
JOB_QUEUE_STATUS_SCHEDULED
- This job will run as scheduled.
JOB_QUEUE_STATUS_HELD
- This job is being held on the job queue.
JOB_QUEUE_STATUS_READY
- This job is ready to be selected.
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.JOB_QUEUE_STATUS
public java.lang.String getJobSwitches() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.JOB_SWITCHES
public java.lang.String getLanguageID() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.LANGUAGE_ID
public java.lang.String getLoggingCLPrograms() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
LOG_CL_PROGRAMS_YES
- Commands are logged for CL programs that are run.
LOG_CL_PROGRAMS_NO
- Commands are not logged for CL programs that are run.
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.LOG_CL_PROGRAMS
public int getLoggingLevel() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.LOGGING_LEVEL
public int getLoggingSeverity() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.LOGGING_SEVERITY
public java.lang.String getLoggingText() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
LOGGING_TEXT_MESSAGE
- Only the message text is written to the job log.
LOGGING_TEXT_SECLVL
- Both the message text and the message help (cause and recovery) of the error message are written to the job log.
LOGGING_TEXT_NO_LIST
- If the job ends normally, no job log is produced. If the job ends abnormally (the job end code is 20 or higher), a job log is produced. The messages that appear in the job log contain both the message text and the message.
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.LOGGING_TEXT
public java.lang.String getModeName() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.MODE
public java.lang.String getName()
public java.lang.String getNumber()
public int getNumberOfLibrariesInSYSLIBL() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.SYSTEM_LIBRARY_LIST
public int getNumberOfLibrariesInUSRLIBL() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.USER_LIBRARY_LIST
public int getNumberOfProductLibraries() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.PRODUCT_LIBRARIES
public java.lang.String getOutputQueue() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.OUTPUT_QUEUE
,
QSYSObjectPathName
public int getOutputQueuePriority() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.OUTPUT_QUEUE_PRIORITY
public int getPoolIdentifier() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.SYSTEM_POOL_ID
public java.lang.String getPrinterDeviceName() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.PRINTER_DEVICE_NAME
public java.lang.String getPrintKeyFormat() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
PRINT_KEY_FORMAT_NONE
- The border and header information is not included with output from the Print key.
PRINT_KEY_FORMAT_BORDER
- The border information is included with output from the Print key.
PRINT_KEY_FORMAT_HEADER
- The header information is included with output from the Print key.
PRINT_KEY_FORMAT_ALL
- The border and header information is included with output from the Print key.
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.PRINT_KEY_FORMAT
public java.lang.String getPrintText() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.PRINT_TEXT
public java.lang.String[] getProductLibraries() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.PRODUCT_LIBRARIES
public boolean getPurge() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.ELIGIBLE_FOR_PURGE
public java.lang.String getQueue() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.JOB_QUEUE
,
QSYSObjectPathName
public int getQueuePriority() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.JOB_QUEUE_PRIORITY
public java.lang.String getRoutingData() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.ROUTING_DATA
public int getRunPriority() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.RUN_PRIORITY
public boolean getSignedOnJob() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.SIGNED_ON_JOB
public java.lang.String getSortSequenceTable() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
SORT_SEQUENCE_TABLE_NONE
- No sort sequence table is used. The hexadecimal values of the characters are used to determine the sort sequence.
SORT_SEQUENCE_TABLE_LANGUAGE_SHARED_WEIGHT
- The sort sequence table used can contain the same weight for multiple characters, and it is the shared weight sort table associated with the language specified in the LANGUAGE_ID attribute.
SORT_SEQUENCE_TABLE_LANGUAGE_UNIQUE_WEIGHT
- The sort sequence table used must contain a unique weight for each character in the code page, and it is the unique weight sort table associated with the language specified in the LANGUAGE_ID parameter.
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.SORT_SEQUENCE_TABLE
,
QSYSObjectPathName
public java.lang.String getStatus() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
JOB_STATUS_ACTIVE
- This job is an active job. This includes group jobs, system request jobs, and disconnected jobs.
JOB_STATUS_JOBQ
- This job is currently on a job queue.
JOB_STATUS_OUTQ
- This job has completed running, but still has output on an output queue.
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed, or if the job can no longer be found (AS400Exception).java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.JOB_STATUS
public java.lang.String getStatusMessageHandling() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
STATUS_MESSAGE_HANDLING_NONE
- This job does not display status messages.
STATUS_MESSAGE_HANDLING_NORMAL
- This job displays status messages.
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.STATUS_MESSAGE_HANDLING
public java.lang.String getStringValue(int attribute) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
loadInformation()
to refresh the attributes from the system.attribute
- The job attribute.toString()
on the value object is returned.AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.loadInformation()
,
getValue(int)
,
setValue(int, java.lang.Object)
public java.lang.String getSubsystem() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.SUBSYSTEM
,
QSYSObjectPathName
public java.lang.String getSubtype() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
JOB_SUBTYPE_BLANK
- The job has no special subtype or is not a valid job.
JOB_SUBTYPE_IMMEDIATE
- The job is an immediate job.
JOB_SUBTYPE_PROCEDURE_START_REQUEST
- The job started with a procedure start request.
JOB_SUBTYPE_MACHINE_SERVER_JOB
- The job is an AS/400 Advanced 36 machine server job.
JOB_SUBTYPE_PRESTART
- The job is a prestart job.
JOB_SUBTYPE_PRINT_DRIVER
- The job is a print driver job.
JOB_SUBTYPE_MRT
- The job is a System/36 multiple requester terminal (MRT) job.
JOB_SUBTYPE_ALTERNATE_SPOOL_USER
- The job is an alternate spool user job.
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.JOB_SUBTYPE
public AS400 getSystem()
public java.lang.String[] getSystemLibraryList() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.SYSTEM_LIBRARY_LIST
public java.lang.String getTimeSeparator() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
TIME_SEPARATOR_COLON
- A colon (:) is used for the time separator.
TIME_SEPARATOR_PERIOD
- A period (.) is used for the time separator.
TIME_SEPARATOR_BLANK
- A blank is used for the time separator.
TIME_SEPARATOR_COMMA
- A comma (,) is used for the time separator.
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.TIME_SEPARATOR
public int getTimeSlice() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.TIME_SLICE
public java.lang.String getTimeSliceEndPool() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
TIME_SLICE_END_POOL_NONE
- A thread in the job does not move to another main storage pool when it reaches the end of its time slice.
TIME_SLICE_END_POOL_BASE
- A thread in the job moves to the base pool when it reaches the end of its time slice.
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.TIME_SLICE_END_POOL
public int getTotalResponseTime() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.TOTAL_RESPONSE_TIME
public java.lang.String getType() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
JOB_TYPE_NOT_VALID
- The job is not a valid job.
JOB_TYPE_AUTOSTART
- The job is an autostart job.
JOB_TYPE_BATCH
- The job is a batch job.
JOB_TYPE_INTERACTIVE
- The job is an interactive job.
JOB_TYPE_SUBSYSTEM_MONITOR
- The job is a subsystem monitor job.
JOB_TYPE_SPOOLED_READER
- The job is a spooled reader job.
JOB_TYPE_SYSTEM
- The job is a system job.
JOB_TYPE_SPOOLED_WRITER
- The job is a spooled writer job.
JOB_TYPE_SCPF_SYSTEM
- The job is the SCPF system job.
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.JOB_TYPE
public java.lang.String getUser()
USER_NAME
attribute was previously retrieved; or if attributes values have not yet been retrieved, the value previously by either a constructor, setUser()
, or one of the other setter methods.
Note: To get the actual current user name for this job (for example, after swapping profiles), call getStringValue(CURRENT_USER)
setUser(java.lang.String)
public java.lang.String[] getUserLibraryList() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.USER_LIBRARY_LIST
public java.lang.Object getValue(int attribute) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
loadInformation()
to refresh the attributes from the system.attribute
- The job attribute.AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.loadInformation()
,
getStringValue(int)
,
setValue(int, java.lang.Object)
public java.lang.String getWorkIDUnit() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.LOCATION_NAME
,
NETWORK_ID
,
INSTANCE
,
SEQUENCE_NUMBER
public void hold(boolean holdSpooledFiles) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException
holdSpooledFiles
- true to hold this job's spooled files; false otherwise.AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.end(int)
,
release()
public void loadInformation()
loadStatistics()
.public void loadInformation(int[] attributes)
attributes
- The attributes to refresh.loadInformation()
,
commitChanges()
,
loadStatistics()
public void loadStatistics() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.resetStatistics()
,
loadInformation()
,
ELAPSED_TIME
,
ELAPSED_DISK_IO
,
ELAPSED_DISK_IO_ASYNCH
,
ELAPSED_DISK_IO_SYNCH
,
ELAPSED_INTERACTIVE_RESPONSE_TIME
,
ELAPSED_INTERACTIVE_TRANSACTIONS
,
ELAPSED_CPU_PERCENT_USED
,
ELAPSED_CPU_PERCENT_USED_FOR_DATABASE
,
ELAPSED_CPU_TIME_USED
,
ELAPSED_CPU_TIME_USED_FOR_DATABASE
,
ELAPSED_LOCK_WAIT_TIME
,
ELAPSED_PAGE_FAULTS
public void release() throws AS400Exception, AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException
AS400Exception
- If an error occurs.AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.end(int)
,
hold(boolean)
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- The listener.addPropertyChangeListener(java.beans.PropertyChangeListener)
public void removeVetoableChangeListener(java.beans.VetoableChangeListener listener)
listener
- The listener.addVetoableChangeListener(java.beans.VetoableChangeListener)
public void resetStatistics() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.loadStatistics()
,
ELAPSED_TIME
,
ELAPSED_DISK_IO
,
ELAPSED_DISK_IO_ASYNCH
,
ELAPSED_DISK_IO_SYNCH
,
ELAPSED_INTERACTIVE_RESPONSE_TIME
,
ELAPSED_INTERACTIVE_TRANSACTIONS
,
ELAPSED_CPU_PERCENT_USED
,
ELAPSED_CPU_PERCENT_USED_FOR_DATABASE
,
ELAPSED_CPU_TIME_USED
,
ELAPSED_CPU_TIME_USED_FOR_DATABASE
,
ELAPSED_LOCK_WAIT_TIME
,
ELAPSED_PAGE_FAULTS
public void setBreakMessageHandling(java.lang.String breakMessageHandling) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
breakMessageHandling
- How this job handles break messages. Possible values are:
BREAK_MESSAGE_HANDLING_NORMAL
- The message queue status determines break message handling.
BREAK_MESSAGE_HANDLING_HOLD
- The message queue holds break messages until a user or program requests them. The work station user uses the Display Message (DPSMSG) command to display the messages; a program must issue a Receive Message (RCVMSG) command to receive a message and handle it.
BREAK_MESSAGE_HANDLING_NOTIFY
- The system notifies the job's message queue when a message arrives. For interactive jobs, the audible alarm sounds if there is one, and the message-waiting light comes on.
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.BREAK_MESSAGE_HANDLING
public void setCacheChanges(boolean cacheChanges)
cacheChanges
- true to cache attribute value changes, false to commit all attribute value changes immediately.commitChanges()
,
getCacheChanges()
,
getValue(int)
,
setValue(int, java.lang.Object)
public void setCodedCharacterSetID(int codedCharacterSetID) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
codedCharacterSetID
- The coded character set identifier (CCSID) used for this job. Possible values are:
CCSID_SYSTEM_VALUE
- The CCSID specified in the system value QCCSID is used.
CCSID_INITIAL_USER
- The CCSID specified in the user profile under which this thread was initially running is used.
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.CCSID
public void setCountryID(java.lang.String countryID) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
countryID
- The country or region identifier associated with this job. Possible values are:
COUNTRY_ID_SYSTEM_VALUE
- The system value QCNTRYID is used.
COUNTRY_ID_INITIAL_USER
- The country or region ID specified in the user profile under which this thread was initially running is used.
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.COUNTRY_ID
public void setDateFormat(java.lang.String dateFormat) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
dateFormat
- The format in which dates are presented. Possible values are:
DATE_FORMAT_SYSTEM_VALUE
- The system value QDATFMT is used.
DATE_FORMAT_YMD
- Year, month, and day format.
DATE_FORMAT_MDY
- Month, day, and year format.
DATE_FORMAT_DMY
- Day, month, and year format.
DATE_FORMAT_JULIAN
- Julian format (year and day).
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.DATE_FORMAT
public void setDateSeparator(java.lang.String dateSeparator) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
dateSeparator
- The value used to separate days, months, and years when presenting a date. Possible values are:
DATE_SEPARATOR_SYSTEM_VALUE
- The system value QDATSEP is used.
DATE_SEPARATOR_SLASH
- A slash (/) is used for the date separator.
DATE_SEPARATOR_DASH
- A dash (-) is used for the date separator.
DATE_SEPARATOR_PERIOD
- A period (.) is used for the date separator.
DATE_SEPARATOR_BLANK
- A blank is used for the date separator.
DATE_SEPARATOR_COMMA
- A comma (,) is used for the date separator.
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.DATE_SEPARATOR
public void setDDMConversationHandling(java.lang.String ddmConversationHandling) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
ddmConversationHandling
- Whether connections using distributed data management (DDM) protocols remain active when they are not being used. Possible values are:
KEEP_DDM_CONNECTIONS_ACTIVE_KEEP
- The system keeps DDM connections active when there are no users, except for the following:
KEEP_DDM_CONNECTIONS_ACTIVE_DROP
- The system ends a DDM connection when there are no users. Examples include when an application closes a DDM file, or when a DRDA application runs an SQL DISCONNECT statement.
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.KEEP_DDM_CONNECTIONS_ACTIVE
public void setDecimalFormat(java.lang.String decimalFormat) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
decimalFormat
- The decimal format used for this job. Possible values are:
DECIMAL_FORMAT_SYSTEM_VALUE
- The system value QDECFMT is used as the decimal format for this job.
DECIMAL_FORMAT_PERIOD
- Uses a period for a decimal point, a comma for a 3-digit grouping character, and zero-suppresses to the left of the decimal point.
DECIMAL_FORMAT_COMMA_J
- Uses a comma for a decimal point, a period for a 3-digit grouping character, and zero-suppresses to the left of the decimal point.
DECIMAL_FORMAT_COMMA_I
- Uses a comma for a decimal point and a period for a 3-digit grouping character. The zero-suppression character is in the second position (rather than the first) to the left of the decimal notation. Balances with zero values to the left of the comma are written with one leading zero (0,04). This constant also overrides any edit codes that might suppress the leading zero.
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.DECIMAL_FORMAT
public void setDefaultWait(int defaultWait) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
defaultWait
- The default maximum time (in seconds) that a thread in the job waits for a system instruction to acquire a resource. The value -1 means there is no maximum (*NOMAX). The valid range is 1 through 9999999. The value 0 is not valid.AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.DEFAULT_WAIT_TIME
public void setDeviceRecoveryAction(java.lang.String deviceRecoveryAction) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
deviceRecoveryAction
- The action taken for interactive jobs when an I/O error occurs for the job's requesting program device. Possible values are:
DEVICE_RECOVERY_ACTION_SYSTEM_VALUE
- The value in the system value QDEVRCYACN is used as the device recovery action for this job.
DEVICE_RECOVERY_ACTION_MESSAGE
- Signals the I/O error message to the application and lets the application program perform error recovery.
DEVICE_RECOVERY_ACTION_DISCONNECT_MESSAGE
- Disconnects the job when an I/O error occurs. When the job reconnects, the system sends an error message to the application program, indicating the job has reconnected and that the work station device has recovered.
DEVICE_RECOVERY_ACTION_DISCONNECT_END_REQUEST
- Disconnects the job when an I/O error occurs. When the job reconnects, the system sends the End Request (ENDRQS) command to return control to the previous request level.
DEVICE_RECOVERY_ACTION_END_JOB
- Ends the job when an I/O error occurs. A message is sent to the job's log and to the history log (QHST) indicating the job ended because of a device error.
DEVICE_RECOVERY_ACTION_END_JOB_NO_LIST
- Ends the job when an I/O error occurs. There is no job log produced for the job. The system sends a message to the QHST log indicating the job ended because of a device error.
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.DEVICE_RECOVERY_ACTION
public void setInquiryMessageReply(java.lang.String inquiryMessageReply) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
inquiryMessageReply
- How the job answers inquiry messages. Possible values are:
INQUIRY_MESSAGE_REPLY_REQUIRED
- The job requires an answer for any inquiry messages that occur while this job is running.
INQUIRY_MESSAGE_REPLY_DEFAULT
- The system uses the default message reply to answer any inquiry messages issued while this job is running. The default reply is either defined in the message description or is the default system reply.
INQUIRY_MESSAGE_REPLY_SYSTEM_REPLY_LIST
- The system reply list is checked to see if there is an entry for an inquiry message issued while this job is running. If a match occurs, the system uses the reply value for that entry. If no entry exists for that message, the system uses an inquiry message.
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.INQUIRY_MESSAGE_REPLY
public void setInternalJobID(java.lang.String internalJobID) throws java.beans.PropertyVetoException
setInternalJobIdentifier(byte[])
instead. The internal job identifier should be treated as a byte array of 16 bytes.internalJobID
- The internal job identifier.java.beans.PropertyVetoException
- If the property change is vetoed.public void setInternalJobIdentifier(byte[] internalJobID)
internalJobID
- The 16-byte internal job identifier.public void setJobAccountingCode(java.lang.String jobAccountingCode) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
jobAccountingCode
- An identifier assigned to the job by the system to collect resource use information for the job when job accounting is active. Possible values are:
ACCOUNTING_CODE_BLANK
- The accounting code is changed to all blanks.
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.ACCOUNTING_CODE
public void setJobDate(java.util.Date jobDate) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
jobDate
- The date that is assigned to the job.AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.JOB_DATE
public void setJobMessageQueueFullAction(java.lang.String jobMessageQueueFullAction) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
jobMessageQueueFullAction
- The action to take when the message queue is full. Possible values are:
MESSAGE_QUEUE_ACTION_SYSTEM_VALUE
- The value specified for the QJOBMSGQFL system value is used.
MESSAGE_QUEUE_ACTION_NO_WRAP
- When the job message queue is full, do not wrap. This action causes the job to end.
MESSAGE_QUEUE_ACTION_WRAP
- When the job message queue is full, wrap to the beginning and start filling again.
MESSAGE_QUEUE_ACTION_PRINT_WRAP
- When the job message queue is full, wrap the message queue and print the messages that are being overlaid because of the wrapping.
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.MESSAGE_QUEUE_ACTION
public void setJobSwitches(java.lang.String jobSwitches) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
jobSwitches
- The current setting of the job switches that are used by this job.AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.JOB_SWITCHES
public void setLanguageID(java.lang.String languageID) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
languageID
- The language identifier associated with this job. Possible values are:
LANGUAGE_ID_SYSTEM_VALUE
- The system value QLANGID is used.
LANGUAGE_ID_INITIAL_USER
- The language ID specified in the user profile under which this thread was initially running is used.
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.LANGUAGE_ID
public void setLoggingCLPrograms(java.lang.String loggingCLPrograms) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
loggingCLPrograms
- The value indicating whether or not commands are logged for CL programs that are run. Possible values are:
LOG_CL_PROGRAMS_YES
- Commands are logged for CL programs that are run.
LOG_CL_PROGRAMS_NO
- Commands are not logged for CL programs that are run.
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.LOG_CL_PROGRAMS
public void setLoggingLevel(int loggingLevel) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
loggingLevel
- A value indicating what type of information is logged. Possible values are:
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.LOGGING_LEVEL
public void setLoggingSeverity(int loggingSeverity) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
loggingSeverity
- The severity level that is used in conjunction with the logging level to determine which error messages are logged in the job log.AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.LOGGING_SEVERITY
public void setLoggingText(java.lang.String loggingText) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
loggingText
- The level of message text that is written in the job log when a message is logged according to the LOGGING_LEVEL and LOGGING_SEVERITY. Possible values are:
LOGGING_TEXT_MESSAGE
- Only the message text is written to the job log.
LOGGING_TEXT_SECLVL
- Both the message text and the message help (cause and recovery) of the error message are written to the job log.
LOGGING_TEXT_NO_LIST
- If the job ends normally, no job log is produced. If the job ends abnormally (the job end code is 20 or higher), a job log is produced. The messages that appear in the job log contain both the message text and the message.
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.LOGGING_TEXT
public void setName(java.lang.String name) throws java.beans.PropertyVetoException
name
- The job name. Specify JOB_NAME_CURRENT to indicate the job this program running in, or JOB_NAME_INTERNAL to indicate that the job is specified using the internal job identifier.java.beans.PropertyVetoException
- If the property change is vetoed.public void setNumber(java.lang.String number) throws java.beans.PropertyVetoException
number
- The job number. This must be JOB_NUMBER_BLANK if the job name is JOB_NAME_CURRENT.java.beans.PropertyVetoException
- If the property change is vetoed.public void setOutputQueue(java.lang.String outputQueue) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
outputQueue
- The fully qualified integrated file system path name of the default output queue that is used for spooled output produced by this job. Possible values are:
OUTPUT_QUEUE_DEVICE
- The device specified on the Create Printer File (CRTPRTF), Change Printer File (CHGPRTF), or Override with Printer File (OVRPRTF) commands is used.
OUTPUT_QUEUE_WORK_STATION
- The default output queue that is used with this job is the output queue that is assigned to the work station associated with the job at the time the job is started.
OUTPUT_QUEUE_INITIAL_USER
- The output queue name specified in the user profile under which this thread was initially running is used.
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.OUTPUT_QUEUE
,
QSYSObjectPathName
public void setOutputQueuePriority(int outputQueuePriority) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
outputQueuePriority
- The output priority for spooled output files that this job produces. The valid values are a range from 1 to 9. The output priority specified cannot be higher than the priority specified in the user profile under which the job is running.AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.OUTPUT_QUEUE_PRIORITY
public void setPrinterDeviceName(java.lang.String printerDeviceName) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
printerDeviceName
- The printer device used for printing output from this job. ssible values are:
PRINTER_DEVICE_NAME_SYSTEM_VALUE
- The value in the system value QPRTDEV is used as the printer device.
PRINTER_DEVICE_NAME_WORK_STATION
- The default printer device used with this job is the printer device assigned to the work station that is associated with the job.
PRINTER_DEVICE_NAME_INITIAL_USER
- The printer device name specified in the user profile under which this thread was initially running is used.
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.PRINTER_DEVICE_NAME
public void setPrintKeyFormat(java.lang.String printKeyFormat) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
printKeyFormat
- Whether border and header information is provided when the Print key is pressed. Possible values are:
PRINT_KEY_FORMAT_SYSTEM_VALUE
- The value specified on the system value QPRTKEYFMT determines whether header or border information is printed.
PRINT_KEY_FORMAT_NONE
- The border and header information is not included with output from the Print key.
PRINT_KEY_FORMAT_BORDER
- The border information is included with output from the Print key.
PRINT_KEY_FORMAT_HEADER
- The header information is included with output from the Print key.
PRINT_KEY_FORMAT_ALL
- The border and header information is included with output from the Print key.
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.PRINT_KEY_FORMAT
public void setPrintText(java.lang.String printText) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
printText
- The line of text (if any) that is printed at the bottom of each page of printed output for the job. Possible values are:
PRINT_TEXT_SYSTEM_VALUE
- The system value QPRTTXT is used.
PRINT_TEXT_BLANK
- No text is printed on printed output.
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.PRINT_TEXT
public void setPurge(boolean purge) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
purge
- true to indicate that the job is eligible to be moved out of main storage and put into auxiliary storage at the end of a time slice or when entering a long wait; false otherwise.AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.ELIGIBLE_FOR_PURGE
public void setQueue(java.lang.String jobQueue) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
jobQueue
- The fully qualified integrated file system path name of the job queue that the job is to be on.AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.JOB_QUEUE
,
QSYSObjectPathName
public void setQueuePriority(int queuePriority) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
queuePriority
- The scheduling priority of the job compared to other jobs on the same job queue.AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.JOB_QUEUE_PRIORITY
public void setRunPriority(int runPriority) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
runPriority
- The run priority of the job is changed. The range of values is 1 (highest priority) to 99 (lowest priority). The value may never be higher than the run priority for the job in which the thread is running. If a priority higher than the job's is entered, an error is returned. Changing the run priority of the job affects the run priorities of all threads within the job. For example, the job is running at priority 10, thread A within the job is running at priority 10, and thread B within the job is running at priority 15. The priority of the job is changed to 20. The priority of thread A would then be adjusted to 20 and the priority of thread B would be adjusted to 25.AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.RUN_PRIORITY
public void setScheduleDate(java.util.Date scheduleDate) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
scheduleDate
- The date and time the job is scheduled to become active.AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.SCHEDULE_DATE
public void setScheduleDate(java.lang.String scheduleDate) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
scheduleDate
- The date the job is scheduled to become active, in the format CYYMMDD, where C is the century, YY is the year, MM is the month, and DD is the day. A 0 for the century flag indicates years 19xx and a 1 indicates years 20xx.AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.SCHEDULE_DATE
public void setScheduleTime(java.util.Date scheduleTime) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
scheduleTime
- The date and time the job is scheduled to become active.AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.SCHEDULE_DATE
public void setScheduleTime(java.lang.String scheduleTime) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
scheduleTime
- The time the job is scheduled to become active, in the format HHMMSS, where HH are the hours, MM are the minutes, and SS are the seconds.AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.SCHEDULE_DATE
public void setSortSequenceTable(java.lang.String sortSequenceTable) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
sortSequenceTable
- The name of the sort sequence table associated with this job. Possible values are:
SORT_SEQUENCE_TABLE_SYSTEM_VALUE
- The system value QSRTSEQ is used.
SORT_SEQUENCE_TABLE_INITIAL_USER
- The sort sequence table specified in the user profile under which this thread was initially running is used.
SORT_SEQUENCE_TABLE_NONE
- No sort sequence table is used. The hexadecimal values of the characters are used to determine the sort sequence.
SORT_SEQUENCE_TABLE_LANGUAGE_SHARED_WEIGHT
- The sort sequence table used can contain the same weight for multiple characters, and it is the shared weight sort table associated with the language specified in the LANGUAGE_ID attribute.
SORT_SEQUENCE_TABLE_LANGUAGE_UNIQUE_WEIGHT
- The sort sequence table used must contain a unique weight for each character in the code page, and it is the unique weight sort table associated with the language specified in the LANGUAGE_ID parameter.
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.SORT_SEQUENCE_TABLE
,
QSYSObjectPathName
public void setStatusMessageHandling(java.lang.String statusMessageHandling) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
statusMessageHandling
- The value which indicates whether status messages are displayed for this job. Possible values are:
STATUS_MESSAGE_HANDLING_SYSTEM_VALUE
- The system value QSTSMSG is used.
STATUS_MESSAGE_HANDLING_INITIAL_USER
- The status message handling that is specified in the user profile under which this thread was initially running is used.
STATUS_MESSAGE_HANDLING_NONE
- This job does not display status messages.
STATUS_MESSAGE_HANDLING_NORMAL
- This job displays status messages.
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.STATUS_MESSAGE_HANDLING
public void setSystem(AS400 system) throws java.beans.PropertyVetoException
system
- The system.java.beans.PropertyVetoException
- If the property change is vetoed.public void setTimeSeparator(java.lang.String timeSeparator) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
timeSeparator
- The value used to separate hours, minutes, and seconds when presenting a time. Possible values are:
TIME_SEPARATOR_SYSTEM_VALUE
- The time separator specified in the system value QTIMSEP is used.
TIME_SEPARATOR_COLON
- A colon (:) is used for the time separator.
TIME_SEPARATOR_PERIOD
- A period (.) is used for the time separator.
TIME_SEPARATOR_BLANK
- A blank is used for the time separator.
TIME_SEPARATOR_COMMA
- A comma (,) is used for the time separator.
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.TIME_SEPARATOR
public void setTimeSlice(int timeSlice) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
timeSlice
- The maximum amount of processor time (in milliseconds) given to each thread in this job before other threads in this job and in other jobs are given the opportunity to run.AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.TIME_SLICE
public void setTimeSliceEndPool(java.lang.String timeSliceEndPool) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
timeSliceEndPool
- The value which indicates whether a thread in an interactive job moves to another main storage pool at the end of its time slice. Possible values are:
TIME_SLICE_END_POOL_SYSTEM_VALUE
- The value in the system value QTSEPPOOL is used.
TIME_SLICE_END_POOL_NONE
- A thread in the job does not move to another main storage pool when it reaches the end of its time slice.
TIME_SLICE_END_POOL_BASE
- A thread in the job moves to the base pool when it reaches the end of its time slice.
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.TIME_SLICE_END_POOL
public void setUser(java.lang.String user) throws java.beans.PropertyVetoException
user
- The user name. This must be USER_NAME_BLANK if the job name is JOB_NAME_CURRENT.java.beans.PropertyVetoException
- If the property change is vetoed.getUser()
public void setValue(int attribute, java.lang.Object value) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
commitChanges()
to send the uncommitted values to the system.attribute
- The job attribute to change.value
- The new value of the attribute.AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.commitChanges()
,
getValue(int)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getJobAsp() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist.