|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.as400.access.Job
The Job class represents a server job. In order to access a job, the system and either the job name, user name, and job number or internal job identifier need to be set. A valid combination of these must be set before getting or setting any of the job's attributes.
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 "getter" methods will either go to the system to retrieve the job attribute, or will return a cached value if the attribute was previously retrieved or previously set by setValue()
or one of the other setter methods. Use loadInformation()
to refresh the attributes 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: 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 the program is to be run on-thread. String jobNumber = pgm.getServerJob().getNumber();
JobList
,
CommandCall.getServerJob()
,
ProgramCall.getServerJob()
,
Serialized FormField Summary | |
---|---|
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 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 String |
ACTIVE_JOB_STATUS_DISCONNECTED
Constant indicating that a job was disconnected from a work station display. |
static 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 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 String |
ACTIVE_JOB_STATUS_HELD
Constant indicating that a job is held. |
static String |
ACTIVE_JOB_STATUS_HELD_THREAD
Constant indicating that a job is held due to a suspended thread. |
static String |
ACTIVE_JOB_STATUS_INELIGIBLE
Constant indicating that a job is ineligible and not currently in a pool activity level. |
static String |
ACTIVE_JOB_STATUS_NONE
Constant indicating that a job is in transition or is not active. |
static String |
ACTIVE_JOB_STATUS_RUNNING
Constant indicating that a job is currently running in a pool activity level. |
static String |
ACTIVE_JOB_STATUS_STOPPED
Constant indicating that a job has stopped as the result of a signal. |
static String |
ACTIVE_JOB_STATUS_SUSPENDED
Constant indicating that a job is suspended by a Transfer Group Job (TFRGRPJOB) command. |
static String |
ACTIVE_JOB_STATUS_SUSPENDED_SYSTEM_REQUEST
Constant indicating that a job is the suspended half of a system request job pair. |
static 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 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 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 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 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 String |
ACTIVE_JOB_STATUS_WAIT_CONDITION
Constant indicating that a job is waiting on a handle-based condition. |
static String |
ACTIVE_JOB_STATUS_WAIT_CPI_COMM
Constant indicating that a job is waiting for the completion of a CPI communications call. |
static 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 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 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 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 String |
ACTIVE_JOB_STATUS_WAIT_DEQUEUE
Constant indicating that a job is waiting for completion of a dequeue operation. |
static 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 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 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 String |
ACTIVE_JOB_STATUS_WAIT_DISPLAY
Constant indicating that a job is waiting for input from a work station display. |
static 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 String |
ACTIVE_JOB_STATUS_WAIT_EVENT
Constant indicating that a job is waiting for an event. |
static 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 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 String |
ACTIVE_JOB_STATUS_WAIT_JAVA
Constant indicating that a job is waiting for a Java program operation to complete. |
static 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 String |
ACTIVE_JOB_STATUS_WAIT_LOCK
Constant indicating that a job is waiting for a lock. |
static String |
ACTIVE_JOB_STATUS_WAIT_LOCK_SPACE
Constant indicating that a job is waiting for a lock space to be attached. |
static 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 String |
ACTIVE_JOB_STATUS_WAIT_MESSAGE
Constant indicating that a job is waiting for a message from a message queue. |
static 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 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 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 String |
ACTIVE_JOB_STATUS_WAIT_MUTEX
Constant indicating that a job is waiting for a mutex. |
static 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 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 String |
ACTIVE_JOB_STATUS_WAIT_OSI
Constant indicating that a job is waiting for the completion of an OSI Communications Subsystem operation. |
static String |
ACTIVE_JOB_STATUS_WAIT_PRESTART
Constant indicating that a prestart job is waiting for a program start request. |
static String |
ACTIVE_JOB_STATUS_WAIT_PRINT
Constant indicating that a job is waiting for output to a printer to complete. |
static 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 String |
ACTIVE_JOB_STATUS_WAIT_SAVE_FILE
Constant indicating that a job is waiting for the completion of a save file operation. |
static 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 String |
ACTIVE_JOB_STATUS_WAIT_SELECTION
Constant indicating that a job is waiting for a selection to complete. |
static String |
ACTIVE_JOB_STATUS_WAIT_SEMAPHORE
Constant indicating that a job is waiting for a semaphore. |
static String |
ACTIVE_JOB_STATUS_WAIT_SIGNAL
Constant indicating that a job is waiting for a signal. |
static 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 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 String |
ACTIVE_JOB_STATUS_WAIT_THREAD
Constant indicating that a job is waiting for another thread to complete an operation. |
static String |
ACTIVE_JOB_STATUS_WAIT_TIME_INTERVAL
Constant indicating that a job is waiting for a time interval to end. |
static 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 String |
ALLOW_MULTIPLE_THREADS_NO
Constant indicating that a job does not allow multiple user threads. |
static String |
ALLOW_MULTIPLE_THREADS_YES
Constant indicating that a job allows multiple user threads. |
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 String |
BREAK_MESSAGE_HANDLING_HOLD
Constant indicating that the message queue holds break messages until a user or program requests them. |
static String |
BREAK_MESSAGE_HANDLING_NORMAL
Constant indicating that the message queue status determines break message handling. |
static 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 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 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 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 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 server is doing work. |
static int |
COMPLETION_STATUS
Job attribute representing the completion status for a job. |
static String |
COMPLETION_STATUS_COMPLETED_ABNORMALLY
Constant indicating that the job completed abnormally. |
static String |
COMPLETION_STATUS_COMPLETED_NORMALLY
Constant indicating that the job completed normally. |
static 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 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 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 String |
DATE_FORMAT_DMY
Constant indicating a date format of day, month, and year. |
static String |
DATE_FORMAT_JULIAN
Constant indicating a Julian date format (year and day). |
static String |
DATE_FORMAT_MDY
Constant indicating a date format of month, day, and year. |
static String |
DATE_FORMAT_SYSTEM_VALUE
Constant indicating the system value QDATFMT is used. |
static 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 String |
DATE_SEPARATOR_BLANK
Constant indicating a blank is used for the date separator. |
static String |
DATE_SEPARATOR_COMMA
Constant indicating a comma (,) is used for the date separator. |
static String |
DATE_SEPARATOR_DASH
Constant indicating a dash (-) is used for the date separator. |
static String |
DATE_SEPARATOR_PERIOD
Constant indicating a period (.) is used for the date separator. |
static String |
DATE_SEPARATOR_SLASH
Constant indicating a slash (/) is used for the date separator. |
static 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 String |
DBCS_CAPABLE_NO
Constant indicating that the job is not DBCS-capable. |
static 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 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 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 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 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 String |
DEVICE_RECOVERY_ACTION_DISCONNECT_END_REQUEST
Constant indicating a device recovery action that disconnects the job when an I/O error occurs. |
static String |
DEVICE_RECOVERY_ACTION_DISCONNECT_MESSAGE
Constant indicating a device recovery action that disconnects the job when an I/O error occurs. |
static String |
DEVICE_RECOVERY_ACTION_END_JOB
Constant indicating a device recovery action that ends the job when an I/O error occurs. |
static 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 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 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 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 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 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 String |
END_STATUS_CANCELLED
Constant indicating that the system, the subsystem in which a job is running, or the job itself is cancelled. |
static String |
END_STATUS_JOB_NOT_RUNNING
Constant indicating that the job is not running. |
static 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 String |
FUNCTION_TYPE_BLANK
Constant indicating that the system is not performing a logged function. |
static 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 String |
FUNCTION_TYPE_DELAY
Constant indicating that the initial thread of the job is processing a Delay Job (DLYJOB) command. |
static String |
FUNCTION_TYPE_GROUP
Constant indicating that the Transfer Group Job (TFRGRPJOB) command suspended the job. |
static String |
FUNCTION_TYPE_INDEX
Constant indicating that the initial thread of the job is rebuilding an index (access path). |
static 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 String |
FUNCTION_TYPE_JAVA
Constant indicating that the initial thread of the job is running a Java Vertual Machine (JVM). |
static String |
FUNCTION_TYPE_LOG
Constant indicating that the system logs history information in a database file. |
static String |
FUNCTION_TYPE_MENU
Constant indicating that the initial thread of the job is currently at a system menu. |
static 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 String |
FUNCTION_TYPE_PROCEDURE
Constant indicating that the initial thread of the job is running a procedure. |
static String |
FUNCTION_TYPE_PROGRAM
Constant indicating that the initial thread of the job is running a program. |
static 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 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 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 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. 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 String |
JOB_LOG_OUTPUT_JOB_END
Constant indicating that the job log will be produced by the job itself. |
static String |
JOB_LOG_OUTPUT_JOB_LOG_SERVER
Constant indicating that the job log will be produced by a job log server. |
static String |
JOB_LOG_OUTPUT_PENDING
Constant indicating that the job log will not be produced. |
static 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 String |
JOB_LOG_PENDING_NO
Constant indicating that the job log is not pending. |
static 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 String |
JOB_NAME_CURRENT
Constant indicating the job that this program is running in. |
static 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 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 String |
JOB_QUEUE_STATUS_BLANK
Constant indicating that this job was not on a job queue. |
static String |
JOB_QUEUE_STATUS_HELD
Constant indicating that this job is being held on the job queue. |
static String |
JOB_QUEUE_STATUS_READY
Constant indicating that this job is ready to be selected. |
static 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 String |
JOB_STATUS_ACTIVE
Constant indicating this job is an active job. |
static String |
JOB_STATUS_JOBQ
Constant indicating this job is currently on a job queue. |
static 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 String |
JOB_SUBTYPE_ALTERNATE_SPOOL_USER
Constant indicating that the job is an alternate spool user job. |
static String |
JOB_SUBTYPE_BLANK
Constant indicating that the job has no special subtype or is not a valid job. |
static String |
JOB_SUBTYPE_IMMEDIATE
Constant indicating that the job is an immediate job. |
static String |
JOB_SUBTYPE_MACHINE_SERVER_JOB
Constant indicating that the job is an AS/400 Advanced 36 machine server job. |
static String |
JOB_SUBTYPE_MRT
Constant indicating that the job is a System/36 multiple requester terminal (MRT) job. |
static String |
JOB_SUBTYPE_PRESTART
Constant indicating that the job is a prestart job. |
static String |
JOB_SUBTYPE_PRINT_DRIVER
Constant indicating that the job is a print driver job. |
static 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 String |
JOB_TYPE_AUTOSTART
Constant indicating that the job is an autostart job. |
static 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 Integer |
JOB_TYPE_ENHANCED_AUTOSTART
Constant indicating that the job is an autostart job. |
static Integer |
JOB_TYPE_ENHANCED_BATCH
Constant indicating that the job is a batch job. |
static Integer |
JOB_TYPE_ENHANCED_BATCH_ALTERNATE_SPOOL_USER
Constant indicating that the job is a batch alternate spool user job. |
static Integer |
JOB_TYPE_ENHANCED_BATCH_IMMEDIATE
Constant indicating that the job is a batch immediate job. |
static Integer |
JOB_TYPE_ENHANCED_BATCH_MRT
Constant indicating that the job is a batch System/36 multiple requester terminal (MRT) job. |
static Integer |
JOB_TYPE_ENHANCED_COMM_PROCEDURE_START_REQUEST
Constant indicating that the job is a communications procedure start request job. |
static Integer |
JOB_TYPE_ENHANCED_INTERACTIVE
Constant indicating that the job is an interactive job. |
static Integer |
JOB_TYPE_ENHANCED_INTERACTIVE_GROUP
Constant indicating that the job is an interactive job that is part of a group. |
static Integer |
JOB_TYPE_ENHANCED_INTERACTIVE_SYSREQ
Constant indicating that the job is an interactive job that is part of a system request pair. |
static 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 Integer |
JOB_TYPE_ENHANCED_PRESTART
Constant indicating that the job is a prestart job. |
static Integer |
JOB_TYPE_ENHANCED_PRESTART_BATCH
Constant indicating that the job is a prestart batch job. |
static Integer |
JOB_TYPE_ENHANCED_PRESTART_COMM
Constant indicating that the job is a prestart communications job. |
static Integer |
JOB_TYPE_ENHANCED_READER
Constant indicating that the job is a reader job. |
static Integer |
JOB_TYPE_ENHANCED_SUBSYSTEM
Constant indicating that the job is a subsystem job. |
static Integer |
JOB_TYPE_ENHANCED_SYSTEM
Constant indicating that the job is a system job (all system jobs including SCPF). |
static Integer |
JOB_TYPE_ENHANCED_WRITER
Constant indicating that the job is a writer job (including both spool writers and print drivers). |
static String |
JOB_TYPE_INTERACTIVE
Constant indicating that the job is an interactive job. |
static String |
JOB_TYPE_NOT_VALID
Constant indicating that the job is not a valid job. |
static String |
JOB_TYPE_SCPF_SYSTEM
Constant indicating that the job is the SCPF system job. |
static String |
JOB_TYPE_SPOOLED_READER
Constant indicating that the job is a spooled reader job. |
static String |
JOB_TYPE_SPOOLED_WRITER
Constant indicating that the job is a spooled writer job. |
static String |
JOB_TYPE_SUBSYSTEM_MONITOR
Constant indicating that the job is a subsystem monitor job. |
static 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 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 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 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 String |
KEEP_DDM_CONNECTIONS_ACTIVE_DROP
Constant indicating that the system ends a DDM connection when there are no users. |
static 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 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 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 String |
LOG_CL_PROGRAMS_NO
Constant indicating that commands are not logged for CL programs that are run. |
static 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 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 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 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 String |
LOGGING_LEVEL_NONE
Constant indicating that no messages are logged. |
static 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 String |
LOGGING_TEXT_MESSAGE
Constant indicating that only the message text is written to the job log. |
static String |
LOGGING_TEXT_NO_LIST
Constant indicating that if the job ends normally, no job log is produced. |
static 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 String |
MEMORY_POOL_BASE
Constant indicating that this job is running in the base system pool, which can be shared with other subsystems. |
static String |
MEMORY_POOL_INTERACTIVE
Constant indicating that this job is running in the shared pool used for interactive work. |
static String |
MEMORY_POOL_MACHINE
Constant indicating that this job is running in the machine pool. |
static 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 String |
MESSAGE_QUEUE_ACTION_NO_WRAP
Constant indicating that when the job message queue is full, do not wrap. |
static 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 String |
MESSAGE_QUEUE_ACTION_SYSTEM_VALUE
Constant indicating the value specified for the QJOBMSGQFL system value is used. |
static 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 String |
MESSAGE_REPLY_NOT_IN_MESSAGE_WAIT
Constant indicating that the job currently is not in message wait status. |
static String |
MESSAGE_REPLY_NOT_WAITING
Constant indicating that the job is not waiting for a reply to a message. |
static 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 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 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 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 String |
PRINT_KEY_FORMAT_ALL
Constant indicating that the border and header information is included with output from the Print key. |
static String |
PRINT_KEY_FORMAT_BORDER
Constant indicating that the border information is included with output from the Print key. |
static String |
PRINT_KEY_FORMAT_HEADER
Constant indicating that the header information is included with output from the Print key. |
static String |
PRINT_KEY_FORMAT_NONE
Constant indicating that the border and header information is not included with output from the Print key. |
static 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 String |
PRINT_TEXT_BLANK
Constant indicating that no text is printed on printed output. |
static 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 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 String |
PRINTER_DEVICE_NAME_SYSTEM_VALUE
Constant indicating the value in the system value QPRTDEV is used as the printer device. |
static 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 String |
SCHEDULE_DATE_CURRENT
Constant indicating the submitted job becomes eligible to run on the current date. |
static String |
SCHEDULE_DATE_FRIDAY
Constant indicating the job becomes eligible to run on Friday. |
static String |
SCHEDULE_DATE_MONDAY
Constant indicating the job becomes eligible to run on Monday. |
static String |
SCHEDULE_DATE_MONTH_END
Constant indicating the submitted job becomes eligible to run on the last day of the month. |
static String |
SCHEDULE_DATE_MONTH_START
Constant indicating the submitted job becomes eligible to run on the first day of the month. |
static String |
SCHEDULE_DATE_SATURDAY
Constant indicating the job becomes eligible to run on Saturday. |
static String |
SCHEDULE_DATE_SUNDAY
Constant indicating the job becomes eligible to run on Sunday. |
static String |
SCHEDULE_DATE_THURSDAY
Constant indicating the job becomes eligible to run on Thursday. |
static String |
SCHEDULE_DATE_TUESDAY
Constant indicating the job becomes eligible to run on Tuesday. |
static 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 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 String |
SIGNED_ON_JOB_FALSE
Constant indicating that the job should not be treated like a signed-on user. |
static 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 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 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 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 String |
SORT_SEQUENCE_TABLE_NONE
Constant indicating that no sort sequence table is used. |
static 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 String |
SPECIAL_ENVIRONMENT_NONE
Constant indicating that the job is not running in any special environment. |
static String |
SPECIAL_ENVIRONMENT_NOT_ACTIVE
Constant indicating that the special environment is ignored because the job is not currently active. |
static 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 String |
SPOOLED_FILE_ACTION_DETACH
Constant indicating that spooled files are detached from the job when the job completes its activity. |
static 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 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 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 String |
STATUS_MESSAGE_HANDLING_NONE
Constant indicating that this job does not display status messages. |
static String |
STATUS_MESSAGE_HANDLING_NORMAL
Constant indicating that this job displays status messages. |
static 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 String |
TIME_SEPARATOR_BLANK
Constant indicating a blank is used for the time separator. |
static String |
TIME_SEPARATOR_COLON
Constant indicating a colon (:) is used for the time separator. |
static String |
TIME_SEPARATOR_COMMA
Constant indicating a comma (,) is used for the time separator. |
static String |
TIME_SEPARATOR_PERIOD
Constant indicating a period (.) is used for the time separator. |
static 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 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 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 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 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 Summary | |
---|---|
Job()
Constructs a Job object. |
|
Job(AS400 system)
Constructs a Job object. |
|
Job(AS400 system,
byte[] internalJobID)
Constructs a Job object. |
|
Job(AS400 system,
String internalJobID)
Deprecated. The internal job ID should be treated as a byte array of 16 bytes. |
|
Job(AS400 system,
String jobName,
String userName,
String jobNumber)
Constructs a Job object. |
Method Summary | |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a PropertyChangeListener. |
void |
addVetoableChangeListener(VetoableChangeListener listener)
Adds a VetoableChangeListener. |
void |
commitChanges()
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. |
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. |
String |
getCompletionStatus()
Returns the completion status of the job. |
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. |
String |
getCurrentLibrary()
Returns the name of the current library for the initial thread of the job. |
boolean |
getCurrentLibraryExistence()
Indicates if a current library exists. |
Date |
getDate()
Returns the date and time when the job was placed on the system. |
String |
getDateFormat()
Returns the format in which dates are presented. |
String |
getDateSeparator()
Returns the value used to separate days, months, and years when presenting a date. |
String |
getDDMConversationHandling()
Returns whether connections using distributed data management (DDM) protocols remain active when they are not being used. |
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. |
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. |
String |
getFunctionName()
Returns additional information (as described by the FUNCTION_TYPE attribute) about the last high-level function initiated by the initial thread. |
String |
getFunctionType()
Returns the last high-level function initiated by the initial thread. |
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. |
String |
getInternalJobID()
Deprecated. The internal job identifier should be treated as a byte array of 16 bytes. |
byte[] |
getInternalJobIdentifier()
Returns the internal job identifier. |
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. |
Date |
getJobActiveDate()
Returns the date and time when the job began to run on the system. |
Date |
getJobDate()
Returns the date to be used for the job. |
String |
getJobDescription()
Returns the fully qualified integrated file system path name for the job description. |
Date |
getJobEndedDate()
Returns the date and time when the job completed running on the system. |
Date |
getJobEnterSystemDate()
Returns the date and time when the job was placed on the system. |
JobLog |
getJobLog()
Returns the job log. |
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. |
Date |
getJobPutOnJobQueueDate()
Returns the date and time this job was put on this job queue. |
String |
getJobStatusInJobQueue()
Returns the status of this job on the job queue. |
String |
getJobSwitches()
Returns the current setting of the job switches used by this job. |
String |
getLanguageID()
Returns the language identifier associated with this job. |
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. |
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. |
String |
getModeName()
Returns the mode name of the advanced program-to-program communications (APPC) device that started the job. |
String |
getName()
Returns the job name. |
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. |
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. |
String |
getPrinterDeviceName()
Returns the printer device used for printing output from this job. |
String |
getPrintKeyFormat()
Returns a value indicating whether border and header information is provided when the Print key is pressed. |
String |
getPrintText()
Returns the line of text (if any) that is printed at the bottom of each page of printed output for the job. |
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). |
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. |
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. |
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. |
String |
getSortSequenceTable()
Returns the name of the sort sequence table associated with this job. |
String |
getStatus()
Returns the status of this job. |
String |
getStatusMessageHandling()
Returns whether status messages are displayed for this job. |
String |
getSubsystem()
Returns the fully qualified integrated file system path name of the subsystem description for the subsystem in which the job is running. |
String |
getSubtype()
Returns additional information about the job type (if any exists). |
AS400 |
getSystem()
Returns the system. |
String[] |
getSystemLibraryList()
Returns the system portion of the library list of the initial thread of the job. |
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. |
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. |
String |
getType()
Returns the type of job. |
String |
getUser()
Returns the user name. |
String[] |
getUserLibraryList()
Returns the user portion of the library list for the initial thread of the job. |
Object |
getValue(int attribute)
Returns the value for the specified job attribute. |
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(PropertyChangeListener listener)
Removes a PropertyChangeListener. |
void |
removeVetoableChangeListener(VetoableChangeListener listener)
Removes a VetoableChangeListener. |
void |
resetStatistics()
Resets the measurement start time used for computing elapsed statistics. |
void |
setBreakMessageHandling(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(String countryID)
Sets the country or region identifier associated with this job. |
void |
setDateFormat(String dateFormat)
Sets the format in which dates are presented. |
void |
setDateSeparator(String dateSeparator)
Sets the value used to separate days, months, and years when presenting a date. |
void |
setDDMConversationHandling(String ddmConversationHandling)
Sets whether connections using distributed data management (DDM) protocols remain active when they are not being used. |
void |
setDecimalFormat(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(String deviceRecoveryAction)
Sets the action taken for interactive jobs when an I/O error occurs for the job's requesting program device. |
void |
setInquiryMessageReply(String inquiryMessageReply)
Sets how the job answers inquiry messages. |
void |
setInternalJobID(String internalJobID)
Deprecated. 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(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(Date jobDate)
Sets the date that is assigned to the job. |
void |
setJobMessageQueueFullAction(String jobMessageQueueFullAction)
Sets the action to take when the message queue is full. |
void |
setJobSwitches(String jobSwitches)
Sets the current setting of the job switches that are used by this job. |
void |
setLanguageID(String languageID)
Sets the language identifier associated with this job. |
void |
setLoggingCLPrograms(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(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(String name)
Sets the job name. |
void |
setNumber(String number)
Sets the job number. |
void |
setOutputQueue(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(String printerDeviceName)
Sets the printer device used for printing output from this job. |
void |
setPrintKeyFormat(String printKeyFormat)
Sets whether border and header information is provided when the Print key is pressed. |
void |
setPrintText(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(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(Date scheduleDate)
Sets the date and time the job is scheduled to become active. |
void |
setScheduleDate(String scheduleDate)
Sets the date the job is scheduled to become active. |
void |
setScheduleTime(Date scheduleTime)
Sets the date and time the job is scheduled to become active. |
void |
setScheduleTime(String scheduleTime)
Sets the time the job is scheduled to become active. |
void |
setSortSequenceTable(String sortSequenceTable)
Sets the name of the sort sequence table associated with this job.. |
void |
setStatusMessageHandling(String statusMessageHandling)
Sets the value which indicates whether status messages are displayed for this job. |
void |
setSystem(AS400 system)
Sets the system. |
void |
setTimeSeparator(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(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(String user)
Sets the user name. |
void |
setValue(int attribute,
Object value)
Sets a value for a job attribute. |
String |
toString()
Returns the string representation of this Job in the format "number/user/name", or "" if any of these attributes is null. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int ACCOUNTING_CODE
ACCOUNTING_CODE_BLANK
Type: String
getJobAccountingCode()
,
setJobAccountingCode(java.lang.String)
,
Constant Field Valuespublic static final 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 String ACTIVE_JOB_STATUS_NONE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_BIN_SYNCH_DEVICE_AND_ACTIVE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_BIN_SYNCH_DEVICE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_COMM_DEVICE_AND_ACTIVE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_COMM_DEVICE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_CHECKPOINT
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_CONDITION
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_CPI_COMM
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_DEQUEUE_AND_ACTIVE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_DEQUEUE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_DISKETTE_AND_ACTIVE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_DISKETTE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_DELAYED
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_DELAY
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_DISCONNECTED
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_DISPLAY_AND_ACTIVE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_DISPLAY
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_ENDED
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_DATABASE_EOF_AND_ACTIVE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_DATABASE_EOF
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_ENDING
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_EVENT
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_SUSPENDED
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_HELD
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_HELD_THREAD
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_ICF_FILE_AND_ACTIVE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_ICF_FILE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_INELIGIBLE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_JAVA_AND_ACTIVE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_JAVA
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_LOCK
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_LOCK_SPACE_AND_ACTIVE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_LOCK_SPACE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_MULTIPLE_FILES_AND_ACTIVE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_MULTIPLE_FILES
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_MESSAGE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_MUTEX
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_MIXED_DEVICE_FILE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_OPTICAL_DEVICE_AND_ACTIVE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_OPTICAL_DEVICE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_OSI
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_PRINT_AND_ACTIVE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_PRINT
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_PRESTART
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_RUNNING
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_SELECTION
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_SEMAPHORE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_STOPPED
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_SIGNAL
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_SUSPENDED_SYSTEM_REQUEST
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_SAVE_FILE_AND_ACTIVE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_SAVE_FILE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_TAPE_DEVICE_AND_ACTIVE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_TAPE_DEVICE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_THREAD
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ACTIVE_JOB_STATUS_WAIT_TIME_INTERVAL_AND_ACTIVE
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final 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 ALLOW_MULTIPLE_THREADS
Read-only: true
Type: String
Only valid on V5R1 systems and higher.
public static final String ALLOW_MULTIPLE_THREADS_NO
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final String ALLOW_MULTIPLE_THREADS_YES
ACTIVE_JOB_STATUS
,
Constant Field Valuespublic static final int AUXILIARY_IO_REQUESTS
Read-only: true
Type: Integer
getAuxiliaryIORequests()
,
Constant Field Valuespublic static final int AUXILIARY_IO_REQUESTS_LARGE
Read-only: true
Type: Long
Only valid on V5R1 systems and higher.
getAuxiliaryIORequests()
,
Constant Field Valuespublic static final int BREAK_MESSAGE_HANDLING
Type: String
getBreakMessageHandling()
,
setBreakMessageHandling(java.lang.String)
,
Constant Field Valuespublic static final String BREAK_MESSAGE_HANDLING_NORMAL
BREAK_MESSAGE_HANDLING
,
Constant Field Valuespublic static final String BREAK_MESSAGE_HANDLING_HOLD
BREAK_MESSAGE_HANDLING
,
Constant Field Valuespublic static final String BREAK_MESSAGE_HANDLING_NOTIFY
BREAK_MESSAGE_HANDLING
,
Constant Field Valuespublic static final int CCSID
CCSID_SYSTEM_VALUE
CCSID_INITIAL_USER
Type: Integer
getCodedCharacterSetID()
,
setCodedCharacterSetID(int)
,
Constant Field Valuespublic 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 String CHARACTER_ID_CONTROL_DEVICE
CHARACTER_ID_CONTROL
,
Constant Field Valuespublic static final String CHARACTER_ID_CONTROL_JOB
CHARACTER_ID_CONTROL
,
Constant Field Valuespublic static final String CHARACTER_ID_CONTROL_SYSTEM_VALUE
CHARACTER_ID_CONTROL
,
Constant Field Valuespublic static final 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 String COMPLETION_STATUS_NOT_COMPLETED
COMPLETION_STATUS
,
Constant Field Valuespublic static final String COMPLETION_STATUS_COMPLETED_NORMALLY
COMPLETION_STATUS
,
Constant Field Valuespublic static final String COMPLETION_STATUS_COMPLETED_ABNORMALLY
COMPLETION_STATUS
,
Constant Field Valuespublic static final int CONTROLLED_END_REQUESTED
Read-only: true
Type: String
public static final String END_STATUS_CANCELLED
CONTROLLED_END_REQUESTED
,
Constant Field Valuespublic static final String END_STATUS_NOT_CANCELLED
CONTROLLED_END_REQUESTED
,
Constant Field Valuespublic static final String END_STATUS_JOB_NOT_RUNNING
CONTROLLED_END_REQUESTED
,
Constant Field Valuespublic 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
getCountryID()
,
setCountryID(java.lang.String)
,
Constant Field Valuespublic static final String COUNTRY_ID_SYSTEM_VALUE
COUNTRY_ID
,
Constant Field Valuespublic static final 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
getCurrentLibraryExistence()
,
Constant Field Valuespublic 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
getDate()
,
getJobEnterSystemDate()
,
Constant Field Valuespublic static final int DATE_FORMAT
Type: String
getDateFormat()
,
setDateFormat(java.lang.String)
,
Constant Field Valuespublic static final String DATE_FORMAT_SYSTEM_VALUE
DATE_FORMAT
,
Constant Field Valuespublic static final String DATE_FORMAT_YMD
DATE_FORMAT
,
Constant Field Valuespublic static final String DATE_FORMAT_MDY
DATE_FORMAT
,
Constant Field Valuespublic static final String DATE_FORMAT_DMY
DATE_FORMAT
,
Constant Field Valuespublic static final 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
getDateSeparator()
,
setDateSeparator(java.lang.String)
,
Constant Field Valuespublic static final String DATE_SEPARATOR_SYSTEM_VALUE
DATE_SEPARATOR
,
Constant Field Valuespublic static final String DATE_SEPARATOR_SLASH
DATE_SEPARATOR
,
Constant Field Valuespublic static final String DATE_SEPARATOR_DASH
DATE_SEPARATOR
,
Constant Field Valuespublic static final String DATE_SEPARATOR_PERIOD
DATE_SEPARATOR
,
Constant Field Valuespublic static final String DATE_SEPARATOR_BLANK
DATE_SEPARATOR
,
Constant Field Valuespublic static final 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 String DBCS_CAPABLE_NO
DBCS_CAPABLE
,
Constant Field Valuespublic static final String DBCS_CAPABLE_YES
DBCS_CAPABLE
,
Constant Field Valuespublic static final int DECIMAL_FORMAT
Type: String
getDecimalFormat()
,
setDecimalFormat(java.lang.String)
,
Constant Field Valuespublic static final String DECIMAL_FORMAT_SYSTEM_VALUE
DECIMAL_FORMAT
,
Constant Field Valuespublic static final String DECIMAL_FORMAT_PERIOD
DECIMAL_FORMAT
,
Constant Field Valuespublic static final String DECIMAL_FORMAT_COMMA_J
DECIMAL_FORMAT
,
Constant Field Valuespublic static final String DECIMAL_FORMAT_COMMA_I
DECIMAL_FORMAT
,
Constant Field Valuespublic static final int DEFAULT_CCSID
Read-only: true
Type: Integer
getDefaultCodedCharacterSetIdentifier()
,
Constant Field Valuespublic static final int DEFAULT_WAIT_TIME
Type: Integer
getDefaultWait()
,
setDefaultWait(int)
,
Constant Field Valuespublic 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
getDeviceRecoveryAction()
,
setDeviceRecoveryAction(java.lang.String)
,
Constant Field Valuespublic static final String DEVICE_RECOVERY_ACTION_SYSTEM_VALUE
DEVICE_RECOVERY_ACTION
,
Constant Field Valuespublic static final String DEVICE_RECOVERY_ACTION_MESSAGE
DEVICE_RECOVERY_ACTION
,
Constant Field Valuespublic static final String DEVICE_RECOVERY_ACTION_DISCONNECT_MESSAGE
DEVICE_RECOVERY_ACTION
,
Constant Field Valuespublic static final String DEVICE_RECOVERY_ACTION_DISCONNECT_END_REQUEST
DEVICE_RECOVERY_ACTION
,
Constant Field Valuespublic static final String DEVICE_RECOVERY_ACTION_END_JOB
DEVICE_RECOVERY_ACTION
,
Constant Field Valuespublic static final 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 String ELIGIBLE_FOR_PURGE_YES
ELIGIBLE_FOR_PURGE
,
Constant Field Valuespublic static final String ELIGIBLE_FOR_PURGE_NO
ELIGIBLE_FOR_PURGE
,
Constant Field Valuespublic static final 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 String FUNCTION_TYPE_BLANK
FUNCTION_TYPE
,
Constant Field Valuespublic static final String FUNCTION_TYPE_COMMAND
FUNCTION_TYPE
,
Constant Field Valuespublic static final String FUNCTION_TYPE_DELAY
FUNCTION_TYPE
,
Constant Field Valuespublic static final String FUNCTION_TYPE_GROUP
FUNCTION_TYPE
,
Constant Field Valuespublic static final String FUNCTION_TYPE_INDEX
FUNCTION_TYPE
,
Constant Field Valuespublic static final String FUNCTION_TYPE_JAVA
FUNCTION_TYPE
,
Constant Field Valuespublic static final String FUNCTION_TYPE_LOG
FUNCTION_TYPE
,
Constant Field Valuespublic static final 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 String FUNCTION_TYPE_MENU
FUNCTION_TYPE
,
Constant Field Valuespublic static final String FUNCTION_TYPE_IO
FUNCTION_TYPE
,
Constant Field Valuespublic static final String FUNCTION_TYPE_PROCEDURE
FUNCTION_TYPE
,
Constant Field Valuespublic static final String FUNCTION_TYPE_PROGRAM
FUNCTION_TYPE
,
Constant Field Valuespublic static final 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
getInquiryMessageReply()
,
setInquiryMessageReply(java.lang.String)
,
Constant Field Valuespublic static final String INQUIRY_MESSAGE_REPLY_REQUIRED
INQUIRY_MESSAGE_REPLY
,
Constant Field Valuespublic static final String INQUIRY_MESSAGE_REPLY_DEFAULT
INQUIRY_MESSAGE_REPLY
,
Constant Field Valuespublic static final String INQUIRY_MESSAGE_REPLY_SYSTEM_REPLY_LIST
INQUIRY_MESSAGE_REPLY
,
Constant Field Valuespublic static final int INTERACTIVE_TRANSACTIONS
Read-only: true
Type: Integer
getInteractiveTransactions()
,
Constant Field Valuespublic static final int INTERNAL_JOB_ID
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
getInternalJobIdentifier()
,
Constant Field Valuespublic static final int JOB_DATE
Type: String in the format CYYMMDD
getJobDate()
,
setJobDate(java.util.Date)
,
Constant Field Valuespublic 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 String JOB_LOG_OUTPUT_SYSTEM_VALUE
JOB_LOG_OUTPUT
,
Constant Field Valuespublic static final String JOB_LOG_OUTPUT_JOB_LOG_SERVER
JOB_LOG_OUTPUT
,
Constant Field Valuespublic static final String JOB_LOG_OUTPUT_JOB_END
JOB_LOG_OUTPUT
,
Constant Field Valuespublic static final 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 String JOB_LOG_PENDING_NO
JOB_LOG_PENDING
,
Constant Field Valuespublic static final String JOB_LOG_PENDING_YES
JOB_LOG_PENDING
,
Constant Field Valuespublic static final int JOB_NAME
JOB_NAME_INTERNAL
JOB_NAME_CURRENT
Type: String
getName()
,
setName(java.lang.String)
,
Constant Field Valuespublic static final String JOB_NAME_INTERNAL
JOB_NAME
,
Constant Field Valuespublic static final String JOB_NAME_CURRENT
JOB_NAME
,
Constant Field Valuespublic static final int JOB_NUMBER
JOB_NUMBER_BLANK
Type: String
getNumber()
,
setNumber(java.lang.String)
,
Constant Field Valuespublic static final String JOB_NUMBER_BLANK
JOB_NUMBER
,
Constant Field Valuespublic static final int JOB_QUEUE
Type: String
getQueue()
,
setQueue(java.lang.String)
,
Constant Field Valuespublic static final int JOB_QUEUE_DATE
Read-only: true
Type: String in the system timestamp format
getJobPutOnJobQueueDate()
,
Constant Field Valuespublic static final int JOB_QUEUE_PRIORITY
Type: String
getQueuePriority()
,
setQueuePriority(int)
,
Constant Field Valuespublic static final int JOB_QUEUE_STATUS
Read-only: true
Type: String
getJobStatusInJobQueue()
,
Constant Field Valuespublic static final String JOB_QUEUE_STATUS_BLANK
JOB_QUEUE_STATUS
,
Constant Field Valuespublic static final String JOB_QUEUE_STATUS_SCHEDULED
JOB_QUEUE_STATUS
,
Constant Field Valuespublic static final String JOB_QUEUE_STATUS_HELD
JOB_QUEUE_STATUS
,
Constant Field Valuespublic static final 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 String JOB_STATUS_ACTIVE
JOB_STATUS
,
Constant Field Valuespublic static final String JOB_STATUS_JOBQ
JOB_STATUS
,
Constant Field Valuespublic static final 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 String JOB_SUBTYPE_BLANK
JOB_SUBTYPE
,
Constant Field Valuespublic static final String JOB_SUBTYPE_IMMEDIATE
JOB_SUBTYPE
,
Constant Field Valuespublic static final String JOB_SUBTYPE_PROCEDURE_START_REQUEST
JOB_SUBTYPE
,
Constant Field Valuespublic static final String JOB_SUBTYPE_MACHINE_SERVER_JOB
JOB_SUBTYPE
,
Constant Field Valuespublic static final String JOB_SUBTYPE_PRESTART
JOB_SUBTYPE
,
Constant Field Valuespublic static final String JOB_SUBTYPE_PRINT_DRIVER
JOB_SUBTYPE
,
Constant Field Valuespublic static final String JOB_SUBTYPE_MRT
JOB_SUBTYPE
,
Constant Field Valuespublic static final String JOB_SUBTYPE_ALTERNATE_SPOOL_USER
JOB_SUBTYPE
,
Constant Field Valuespublic static final int JOB_SWITCHES
Type: String
getJobSwitches()
,
setJobSwitches(java.lang.String)
,
Constant Field Valuespublic 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 String JOB_TYPE_NOT_VALID
JOB_TYPE
,
Constant Field Valuespublic static final String JOB_TYPE_AUTOSTART
JOB_TYPE
,
Constant Field Valuespublic static final String JOB_TYPE_BATCH
JOB_TYPE
,
Constant Field Valuespublic static final String JOB_TYPE_INTERACTIVE
JOB_TYPE
,
Constant Field Valuespublic static final String JOB_TYPE_SUBSYSTEM_MONITOR
JOB_TYPE
,
Constant Field Valuespublic static final String JOB_TYPE_SPOOLED_READER
JOB_TYPE
,
Constant Field Valuespublic static final String JOB_TYPE_SYSTEM
JOB_TYPE
,
Constant Field Valuespublic static final String JOB_TYPE_SPOOLED_WRITER
JOB_TYPE
,
Constant Field Valuespublic static final 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 Integer JOB_TYPE_ENHANCED_AUTOSTART
JOB_TYPE_ENHANCED
public static final Integer JOB_TYPE_ENHANCED_BATCH
JOB_TYPE_ENHANCED
public static final Integer JOB_TYPE_ENHANCED_BATCH_IMMEDIATE
JOB_TYPE_ENHANCED
public static final Integer JOB_TYPE_ENHANCED_BATCH_MRT
JOB_TYPE_ENHANCED
public static final Integer JOB_TYPE_ENHANCED_BATCH_ALTERNATE_SPOOL_USER
JOB_TYPE_ENHANCED
public static final Integer JOB_TYPE_ENHANCED_COMM_PROCEDURE_START_REQUEST
JOB_TYPE_ENHANCED
public static final Integer JOB_TYPE_ENHANCED_INTERACTIVE
JOB_TYPE_ENHANCED
public static final Integer JOB_TYPE_ENHANCED_INTERACTIVE_GROUP
JOB_TYPE_ENHANCED
public static final Integer JOB_TYPE_ENHANCED_INTERACTIVE_SYSREQ
JOB_TYPE_ENHANCED
public static final Integer JOB_TYPE_ENHANCED_INTERACTIVE_SYSREQ_AND_GROUP
JOB_TYPE_ENHANCED
public static final Integer JOB_TYPE_ENHANCED_PRESTART
JOB_TYPE_ENHANCED
public static final Integer JOB_TYPE_ENHANCED_PRESTART_BATCH
JOB_TYPE_ENHANCED
public static final Integer JOB_TYPE_ENHANCED_PRESTART_COMM
JOB_TYPE_ENHANCED
public static final Integer JOB_TYPE_ENHANCED_READER
JOB_TYPE_ENHANCED
public static final Integer JOB_TYPE_ENHANCED_SUBSYSTEM
JOB_TYPE_ENHANCED
public static final Integer JOB_TYPE_ENHANCED_SYSTEM
JOB_TYPE_ENHANCED
public static final 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 String JOB_USER_IDENTITY_SETTING_DEFAULT
JOB_USER_IDENTITY_SETTING
,
Constant Field Valuespublic static final String JOB_USER_IDENTITY_SETTING_APPLICATION
JOB_USER_IDENTITY_SETTING
,
Constant Field Valuespublic static final String JOB_USER_IDENTITY_SETTING_SYSTEM
JOB_USER_IDENTITY_SETTING
,
Constant Field Valuespublic static final int KEEP_DDM_CONNECTIONS_ACTIVE
Type: String
getDDMConversationHandling()
,
setDDMConversationHandling(java.lang.String)
,
Constant Field Valuespublic static final String KEEP_DDM_CONNECTIONS_ACTIVE_KEEP
KEEP_DDM_CONNECTIONS_ACTIVE
,
Constant Field Valuespublic static final String KEEP_DDM_CONNECTIONS_ACTIVE_DROP
KEEP_DDM_CONNECTIONS_ACTIVE
,
Constant Field Valuespublic static final int LANGUAGE_ID
LANGUAGE_ID_SYSTEM_VALUE
LANGUAGE_ID_INITIAL_USER
Type: String
getLanguageID()
,
setLanguageID(java.lang.String)
,
Constant Field Valuespublic static final String LANGUAGE_ID_SYSTEM_VALUE
LANGUAGE_ID
,
Constant Field Valuespublic static final String LANGUAGE_ID_INITIAL_USER
LANGUAGE_ID
,
Constant Field Valuespublic static final int LOG_CL_PROGRAMS
Type: String
getLoggingCLPrograms()
,
setLoggingCLPrograms(java.lang.String)
,
Constant Field Valuespublic static final String LOG_CL_PROGRAMS_YES
LOG_CL_PROGRAMS
,
Constant Field Valuespublic static final 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
getLoggingLevel()
,
setLoggingLevel(int)
,
Constant Field Valuespublic static final String LOGGING_LEVEL_NONE
LOGGING_LEVEL
,
Constant Field Valuespublic static final String LOGGING_LEVEL_MESSAGES_BY_SEVERITY
LOGGING_LEVEL
,
Constant Field Valuespublic static final String LOGGING_LEVEL_REQUESTS_BY_SEVERITY_AND_ASSOCIATED_MESSAGES
LOGGING_LEVEL
,
Constant Field Valuespublic static final String LOGGING_LEVEL_ALL_REQUESTS_AND_ASSOCIATED_MESSAGES
LOGGING_LEVEL
,
Constant Field Valuespublic static final String LOGGING_LEVEL_ALL_REQUESTS_AND_MESSAGES
LOGGING_LEVEL
,
Constant Field Valuespublic static final int LOGGING_SEVERITY
Type: Integer
getLoggingSeverity()
,
setLoggingSeverity(int)
,
Constant Field Valuespublic static final int LOGGING_TEXT
Type: String
getLoggingText()
,
setLoggingText(java.lang.String)
,
Constant Field Valuespublic static final String LOGGING_TEXT_MESSAGE
LOGGING_TEXT
,
Constant Field Valuespublic static final String LOGGING_TEXT_SECLVL
LOGGING_TEXT
,
Constant Field Valuespublic static final 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 String MEMORY_POOL_MACHINE
MEMORY_POOL
,
Constant Field Valuespublic static final String MEMORY_POOL_BASE
MEMORY_POOL
,
Constant Field Valuespublic static final String MEMORY_POOL_INTERACTIVE
MEMORY_POOL
,
Constant Field Valuespublic static final 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 String MESSAGE_REPLY_NOT_IN_MESSAGE_WAIT
MESSAGE_REPLY
,
Constant Field Valuespublic static final String MESSAGE_REPLY_WAITING
MESSAGE_REPLY
,
Constant Field Valuespublic static final 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
getJobMessageQueueFullAction()
,
setJobMessageQueueFullAction(java.lang.String)
,
Constant Field Valuespublic static final String MESSAGE_QUEUE_ACTION_SYSTEM_VALUE
MESSAGE_QUEUE_ACTION
,
Constant Field Valuespublic static final String MESSAGE_QUEUE_ACTION_NO_WRAP
MESSAGE_QUEUE_ACTION
,
Constant Field Valuespublic static final String MESSAGE_QUEUE_ACTION_WRAP
MESSAGE_QUEUE_ACTION
,
Constant Field Valuespublic static final String MESSAGE_QUEUE_ACTION_PRINT_WRAP
MESSAGE_QUEUE_ACTION
,
Constant Field Valuespublic static final int MESSAGE_QUEUE_MAX_SIZE
Read-only: true
Type: Integer
getJobMessageQueueMaximumSize()
,
Constant Field Valuespublic 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
getOutputQueue()
,
setOutputQueue(java.lang.String)
,
Constant Field Valuespublic static final String OUTPUT_QUEUE_DEVICE
OUTPUT_QUEUE
,
Constant Field Valuespublic static final String OUTPUT_QUEUE_WORK_STATION
OUTPUT_QUEUE
,
Constant Field Valuespublic static final String OUTPUT_QUEUE_INITIAL_USER
OUTPUT_QUEUE
,
Constant Field Valuespublic static final int OUTPUT_QUEUE_PRIORITY
Type: String
getOutputQueuePriority()
,
setOutputQueuePriority(int)
,
Constant Field Valuespublic 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
getPrintKeyFormat()
,
setPrintKeyFormat(java.lang.String)
,
Constant Field Valuespublic static final String PRINT_KEY_FORMAT_SYSTEM_VALUE
PRINT_KEY_FORMAT
,
Constant Field Valuespublic static final String PRINT_KEY_FORMAT_NONE
PRINT_KEY_FORMAT
,
Constant Field Valuespublic static final String PRINT_KEY_FORMAT_BORDER
PRINT_KEY_FORMAT
,
Constant Field Valuespublic static final String PRINT_KEY_FORMAT_HEADER
PRINT_KEY_FORMAT
,
Constant Field Valuespublic static final 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
getPrintText()
,
setPrintText(java.lang.String)
,
Constant Field Valuespublic static final String PRINT_TEXT_SYSTEM_VALUE
PRINT_TEXT
,
Constant Field Valuespublic static final 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
getPrinterDeviceName()
,
setPrinterDeviceName(java.lang.String)
,
Constant Field Valuespublic static final String PRINTER_DEVICE_NAME_SYSTEM_VALUE
PRINTER_DEVICE_NAME
,
Constant Field Valuespublic static final String PRINTER_DEVICE_NAME_WORK_STATION
PRINTER_DEVICE_NAME
,
Constant Field Valuespublic static final 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
getNumberOfProductLibraries()
,
getProductLibraries()
,
Constant Field Valuespublic 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
getRunPriority()
,
setRunPriority(int)
,
Constant Field Valuespublic 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().
getScheduleDate()
,
setScheduleDate(java.util.Date)
,
Constant Field Valuespublic static final String SCHEDULE_DATE_CURRENT
SCHEDULE_DATE
,
Constant Field Valuespublic static final String SCHEDULE_DATE_MONTH_START
SCHEDULE_DATE
,
Constant Field Valuespublic static final String SCHEDULE_DATE_MONTH_END
SCHEDULE_DATE
,
Constant Field Valuespublic static final String SCHEDULE_DATE_MONDAY
SCHEDULE_DATE
,
Constant Field Valuespublic static final String SCHEDULE_DATE_TUESDAY
SCHEDULE_DATE
,
Constant Field Valuespublic static final String SCHEDULE_DATE_WEDNESDAY
SCHEDULE_DATE
,
Constant Field Valuespublic static final String SCHEDULE_DATE_THURSDAY
SCHEDULE_DATE
,
Constant Field Valuespublic static final String SCHEDULE_DATE_FRIDAY
SCHEDULE_DATE
,
Constant Field Valuespublic static final String SCHEDULE_DATE_SATURDAY
SCHEDULE_DATE
,
Constant Field Valuespublic static final 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().
getScheduleDate()
,
setScheduleTime(java.util.Date)
,
Constant Field Valuespublic static final 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 String SIGNED_ON_JOB_TRUE
SIGNED_ON_JOB
,
Constant Field Valuespublic static final 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
getSortSequenceTable()
,
setSortSequenceTable(java.lang.String)
,
Constant Field Valuespublic static final String SORT_SEQUENCE_TABLE_SYSTEM_VALUE
SORT_SEQUENCE_TABLE
,
Constant Field Valuespublic static final String SORT_SEQUENCE_TABLE_INITIAL_USER
SORT_SEQUENCE_TABLE
,
Constant Field Valuespublic static final String SORT_SEQUENCE_TABLE_NONE
SORT_SEQUENCE_TABLE
,
Constant Field Valuespublic static final String SORT_SEQUENCE_TABLE_LANGUAGE_SHARED_WEIGHT
SORT_SEQUENCE_TABLE
,
Constant Field Valuespublic static final 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 String SPECIAL_ENVIRONMENT_NONE
SPECIAL_ENVIRONMENT
,
Constant Field Valuespublic static final String SPECIAL_ENVIRONMENT_SYSTEM_36
SPECIAL_ENVIRONMENT
,
Constant Field Valuespublic static final String SPECIAL_ENVIRONMENT_NOT_ACTIVE
SPECIAL_ENVIRONMENT
,
Constant Field Valuespublic static final int SPOOLED_FILE_ACTION
Type: String
public static final String SPOOLED_FILE_ACTION_KEEP
SPOOLED_FILE_ACTION
,
Constant Field Valuespublic static final String SPOOLED_FILE_ACTION_DETACH
SPOOLED_FILE_ACTION
,
Constant Field Valuespublic static final 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
getStatusMessageHandling()
,
setStatusMessageHandling(java.lang.String)
,
Constant Field Valuespublic static final String STATUS_MESSAGE_HANDLING_SYSTEM_VALUE
STATUS_MESSAGE_HANDLING
,
Constant Field Valuespublic static final String STATUS_MESSAGE_HANDLING_INITIAL_USER
STATUS_MESSAGE_HANDLING
,
Constant Field Valuespublic static final String STATUS_MESSAGE_HANDLING_NONE
STATUS_MESSAGE_HANDLING
,
Constant Field Valuespublic static final 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
CURRENT_SYSTEM_POOL_ID
,
getPoolIdentifier()
,
Constant Field Valuespublic static final int SYSTEM_LIBRARY_LIST
Read-only: true
Type: String
Can be loaded by JobList: false
getNumberOfLibrariesInSYSLIBL()
,
getSystemLibraryList()
,
Constant Field Valuespublic 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
getTimeSeparator()
,
setTimeSeparator(java.lang.String)
,
Constant Field Valuespublic static final String TIME_SEPARATOR_SYSTEM_VALUE
TIME_SEPARATOR
,
Constant Field Valuespublic static final String TIME_SEPARATOR_COLON
TIME_SEPARATOR
,
Constant Field Valuespublic static final String TIME_SEPARATOR_PERIOD
TIME_SEPARATOR
,
Constant Field Valuespublic static final String TIME_SEPARATOR_BLANK
TIME_SEPARATOR
,
Constant Field Valuespublic static final 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
getTimeSliceEndPool()
,
setTimeSliceEndPool(java.lang.String)
,
Constant Field Valuespublic static final String TIME_SLICE_END_POOL_SYSTEM_VALUE
TIME_SLICE_END_POOL
,
Constant Field Valuespublic static final String TIME_SLICE_END_POOL_NONE
TIME_SLICE_END_POOL
,
Constant Field Valuespublic static final 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
getNumberOfLibrariesInUSRLIBL()
,
getUserLibraryList()
,
Constant Field Valuespublic static final int USER_NAME
USER_NAME_BLANK
Type: String
CURRENT_USER
,
getUser()
,
setUser(java.lang.String)
,
Constant Field Valuespublic static final String USER_NAME_BLANK
USER_NAME
,
Constant Field Valuespublic static final int USER_RETURN_CODE
Read-only: true
Type: Integer
Constructor Detail |
public Job()
setName(java.lang.String)
,
setNumber(java.lang.String)
,
setSystem(com.ibm.as400.access.AS400)
,
setUser(java.lang.String)
public Job(AS400 system)
system
- The system object representing the server on which the job exists.setName(java.lang.String)
,
setNumber(java.lang.String)
,
setUser(java.lang.String)
public Job(AS400 system, String jobName, String userName, String jobNumber)
system
- The system object representing the server 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, String internalJobID)
system
- The system object representing the server 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.Method Detail |
public void addPropertyChangeListener(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(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, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.public void end(int delay) throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.hold(boolean)
,
release()
public int getAuxiliaryIORequests() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.AUXILIARY_IO_REQUESTS
public String getBreakMessageHandling() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.BREAK_MESSAGE_HANDLING
public boolean getCacheChanges()
commitChanges()
,
getValue(int)
,
setCacheChanges(boolean)
,
setValue(int, java.lang.Object)
public CallStackEntry[] getCallStack(long threadID) throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.public int getCodedCharacterSetID() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.CCSID
public String getCompletionStatus() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.COMPLETION_STATUS
public String getCountryID() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.COUNTRY_ID
public int getCPUUsed() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.CPU_TIME_USED
public String getCurrentLibrary() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.CURRENT_LIBRARY
public boolean getCurrentLibraryExistence() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.CURRENT_LIBRARY_EXISTENCE
public Date getDate() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.DATE_ENTERED_SYSTEM
public String getDateFormat() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.DATE_FORMAT
public String getDateSeparator() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.DATE_SEPARATOR
public String getDDMConversationHandling() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.KEEP_DDM_CONNECTIONS_ACTIVE
public String getDecimalFormat() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.DECIMAL_FORMAT
public int getDefaultCodedCharacterSetIdentifier() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.DEFAULT_CCSID
public int getDefaultWait() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.DEFAULT_WAIT_TIME
public String getDeviceRecoveryAction() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.DEVICE_RECOVERY_ACTION
public int getEndSeverity() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.END_SEVERITY
public String getFunctionName() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.FUNCTION_NAME
public String getFunctionType() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.FUNCTION_TYPE
public String getInquiryMessageReply() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.INQUIRY_MESSAGE_REPLY
public int getInteractiveTransactions() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.INTERACTIVE_TRANSACTIONS
public String getInternalJobID()
public byte[] getInternalJobIdentifier()
setInternalJobIdentifier(byte[])
public String getJobAccountingCode() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.ACCOUNTING_CODE
public Date getJobActiveDate() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.DATE_STARTED
public Date getJobDate() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.JOB_DATE
public String getJobDescription() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.JOB_DESCRIPTION
,
QSYSObjectPathName
public Date getJobEndedDate() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.DATE_ENDED
public Date getJobEnterSystemDate() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.DATE_ENTERED_SYSTEM
public JobLog getJobLog()
public String getJobMessageQueueFullAction() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.MESSAGE_QUEUE_ACTION
public int getJobMessageQueueMaximumSize() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.MESSAGE_QUEUE_MAX_SIZE
public Date getJobPutOnJobQueueDate() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.JOB_QUEUE_DATE
public Date getScheduleDate() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.SCHEDULE_DATE
public String getJobStatusInJobQueue() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.JOB_QUEUE_STATUS
public String getJobSwitches() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.JOB_SWITCHES
public String getLanguageID() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.LANGUAGE_ID
public String getLoggingCLPrograms() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.LOG_CL_PROGRAMS
public int getLoggingLevel() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.LOGGING_LEVEL
public int getLoggingSeverity() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.LOGGING_SEVERITY
public String getLoggingText() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.LOGGING_TEXT
public String getModeName() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.MODE
public String getName()
public String getNumber()
public int getNumberOfLibrariesInSYSLIBL() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.SYSTEM_LIBRARY_LIST
public int getNumberOfLibrariesInUSRLIBL() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.USER_LIBRARY_LIST
public int getNumberOfProductLibraries() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.PRODUCT_LIBRARIES
public String getOutputQueue() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.OUTPUT_QUEUE
,
QSYSObjectPathName
public int getOutputQueuePriority() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.OUTPUT_QUEUE_PRIORITY
public int getPoolIdentifier() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.SYSTEM_POOL_ID
public String getPrinterDeviceName() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.PRINTER_DEVICE_NAME
public String getPrintKeyFormat() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.PRINT_KEY_FORMAT
public String getPrintText() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.PRINT_TEXT
public String[] getProductLibraries() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.PRODUCT_LIBRARIES
public boolean getPurge() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.ELIGIBLE_FOR_PURGE
public String getQueue() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.JOB_QUEUE
,
QSYSObjectPathName
public int getQueuePriority() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.JOB_QUEUE_PRIORITY
public String getRoutingData() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.ROUTING_DATA
public int getRunPriority() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.RUN_PRIORITY
public boolean getSignedOnJob() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.SIGNED_ON_JOB
public String getSortSequenceTable() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.SORT_SEQUENCE_TABLE
,
QSYSObjectPathName
public String getStatus() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.JOB_STATUS
public String getStatusMessageHandling() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.STATUS_MESSAGE_HANDLING
public String getSubsystem() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.SUBSYSTEM
,
QSYSObjectPathName
public String getSubtype() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.JOB_SUBTYPE
public AS400 getSystem()
public String[] getSystemLibraryList() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.SYSTEM_LIBRARY_LIST
public String getTimeSeparator() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.TIME_SEPARATOR
public int getTimeSlice() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.TIME_SLICE
public String getTimeSliceEndPool() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.TIME_SLICE_END_POOL
public int getTotalResponseTime() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.TOTAL_RESPONSE_TIME
public String getType() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.JOB_TYPE
public String getUser()
public String[] getUserLibraryList() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.USER_LIBRARY_LIST
public Object getValue(int attribute) throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.loadInformation()
,
setValue(int, java.lang.Object)
public String getWorkIDUnit() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.LOCATION_NAME
,
NETWORK_ID
,
INSTANCE
,
SEQUENCE_NUMBER
public void hold(boolean holdSpooledFiles) throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.end(int)
,
release()
public void loadInformation()
loadStatistics()
.
loadInformation(int[])
,
commitChanges()
,
loadStatistics()
public void loadInformation(int[] attributes)
attributes
- The attributes to refresh.loadInformation()
,
commitChanges()
,
loadStatistics()
public void loadStatistics() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.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, InterruptedException, IOException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
AS400Exception
end(int)
,
hold(boolean)
public void removePropertyChangeListener(PropertyChangeListener listener)
listener
- The listener.addPropertyChangeListener(java.beans.PropertyChangeListener)
public void removeVetoableChangeListener(VetoableChangeListener listener)
listener
- The listener.addVetoableChangeListener(java.beans.VetoableChangeListener)
public void resetStatistics() throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException
AS400SecurityException
- If a security or authority error occurs.
ErrorCompletingRequestException
- If an error occurs before the request is completed.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.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(String breakMessageHandling) throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.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, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.CCSID
public void setCountryID(String countryID) throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.COUNTRY_ID
public void setDateFormat(String dateFormat) throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.DATE_FORMAT
public void setDateSeparator(String dateSeparator) throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.DATE_SEPARATOR
public void setDDMConversationHandling(String ddmConversationHandling) throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.KEEP_DDM_CONNECTIONS_ACTIVE
public void setDecimalFormat(String decimalFormat) throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.DECIMAL_FORMAT
public void setDefaultWait(int defaultWait) throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.DEFAULT_WAIT_TIME
public void setDeviceRecoveryAction(String deviceRecoveryAction) throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.DEVICE_RECOVERY_ACTION
public void setInquiryMessageReply(String inquiryMessageReply) throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.INQUIRY_MESSAGE_REPLY
public void setInternalJobID(String internalJobID) throws PropertyVetoException
internalJobID
- The internal job identifier.
PropertyVetoException
- If the property change is vetoed.public void setInternalJobIdentifier(byte[] internalJobID)
internalJobID
- The 16-byte internal job identifier.public void setJobAccountingCode(String jobAccountingCode) throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.ACCOUNTING_CODE
public void setJobDate(Date jobDate) throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.JOB_DATE
public void setJobMessageQueueFullAction(String jobMessageQueueFullAction) throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.MESSAGE_QUEUE_ACTION
public void setJobSwitches(String jobSwitches) throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.JOB_SWITCHES
public void setLanguageID(String languageID) throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.LANGUAGE_ID
public void setLoggingCLPrograms(String loggingCLPrograms) throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.LOG_CL_PROGRAMS
public void setLoggingLevel(int loggingLevel) throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.LOGGING_LEVEL
public void setLoggingSeverity(int loggingSeverity) throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.LOGGING_SEVERITY
public void setLoggingText(String loggingText) throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.LOGGING_TEXT
public void setName(String name) throws 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.
PropertyVetoException
- If the property change is vetoed.public void setNumber(String number) throws PropertyVetoException
number
- The job number. This must be JOB_NUMBER_BLANK if the job name is JOB_NAME_CURRENT.
PropertyVetoException
- If the property change is vetoed.public void setOutputQueue(String outputQueue) throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.OUTPUT_QUEUE
,
QSYSObjectPathName
public void setOutputQueuePriority(int outputQueuePriority) throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.OUTPUT_QUEUE_PRIORITY
public void setPrinterDeviceName(String printerDeviceName) throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.PRINTER_DEVICE_NAME
public void setPrintKeyFormat(String printKeyFormat) throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.PRINT_KEY_FORMAT
public void setPrintText(String printText) throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.PRINT_TEXT
public void setPurge(boolean purge) throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.ELIGIBLE_FOR_PURGE
public void setQueue(String jobQueue) throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.JOB_QUEUE
,
QSYSObjectPathName
public void setQueuePriority(int queuePriority) throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.JOB_QUEUE_PRIORITY
public void setRunPriority(int runPriority) throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.RUN_PRIORITY
public void setScheduleDate(Date scheduleDate) throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.SCHEDULE_DATE
public void setScheduleDate(String scheduleDate) throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.SCHEDULE_DATE
public void setScheduleTime(Date scheduleTime) throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.SCHEDULE_DATE
public void setScheduleTime(String scheduleTime) throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.SCHEDULE_DATE
public void setSortSequenceTable(String sortSequenceTable) throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.SORT_SEQUENCE_TABLE
,
QSYSObjectPathName
public void setStatusMessageHandling(String statusMessageHandling) throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.STATUS_MESSAGE_HANDLING
public void setSystem(AS400 system) throws PropertyVetoException
system
- The system.
PropertyVetoException
- If the property change is vetoed.public void setTimeSeparator(String timeSeparator) throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.TIME_SEPARATOR
public void setTimeSlice(int timeSlice) throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.TIME_SLICE
public void setTimeSliceEndPool(String timeSliceEndPool) throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.TIME_SLICE_END_POOL
public void setUser(String user) throws PropertyVetoException
user
- The user name. This must be USER_NAME_BLANK if the job name is JOB_NAME_CURRENT.
PropertyVetoException
- If the property change is vetoed.public void setValue(int attribute, Object value) throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
IOException
- If an error occurs while communicating with the server.
ObjectDoesNotExistException
- If the object does not exist on the server.commitChanges()
,
getValue(int)
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |