|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.as400.access.Job
The Job class represents an OS/400 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 by 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: To obtain information about the job in which an OS/400 program or command runs, do something like the following:
AS400 sys = new AS400(); ProgramCall pgm = new ProgramCall(sys); 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 the identifier assigned to a job by the system to collect resource use information for the job when job accounting is active. |
static java.lang.String |
ACCOUNTING_CODE_BLANK
Constant indicating the accounting code is changed to all blanks. |
static int |
ACTIVE_JOB_STATUS
Job attribute representing the active status of the initial thread of a job. |
static java.lang.String |
ACTIVE_JOB_STATUS_DISCONNECTED
Constant indicating that a job was disconnected form a work station display. |
static java.lang.String |
ACTIVE_JOB_STATUS_ENDED
Constant indicating that a job has been ended with the *IMMED option, or its delay time has ended with the *CNTRLD option. |
static java.lang.String |
ACTIVE_JOB_STATUS_ENDING
Constant indicating that a job is ending for a reason other than running the End Job (ENDJOB) or End Subsystem (ENDSBS) commands, such as a SIGNOFF command, End Group Job (ENDGRPJOB) command, or an exception that is not handled. |
static int |
ACTIVE_JOB_STATUS_FOR_JOBS_ENDING
Job attribute representing the status of what the initial thread of a job is currently doing, when the active job status is ACTIVE_JOB_STATUS_ENDED or ACTIVE_JOB_STATUS_ENDING. |
static java.lang.String |
ACTIVE_JOB_STATUS_HELD
Constant indicating that a job is held. |
static java.lang.String |
ACTIVE_JOB_STATUS_HELD_THREAD
Constant indicating that a job is held due to a suspended thread. |
static java.lang.String |
ACTIVE_JOB_STATUS_INELIGIBLE
Constant indicating that a job is ineligible and not currently in a pool activity level. |
static java.lang.String |
ACTIVE_JOB_STATUS_NONE
Constant indicating that a job is either in transition or not active. |
static java.lang.String |
ACTIVE_JOB_STATUS_RUNNING
Constant indicating that a job is currently running in a pool activity level. |
static java.lang.String |
ACTIVE_JOB_STATUS_STOPPED
Constant indicating that a job has stopped as the result of a signal. |
static java.lang.String |
ACTIVE_JOB_STATUS_SUSPENDED
Constant indicating that a job is suspended by a Transfer Group Job (TFRGRPJOB) command. |
static java.lang.String |
ACTIVE_JOB_STATUS_SUSPENDED_SYSTEM_REQUEST
Constant indicating that a job is the suspended half of a system request job pair. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_BIN_SYNCH_DEVICE
Constant indicating that a job is waiting for the completion of an I/O operation to a binary synchronous device. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_BIN_SYNCH_DEVICE_AND_ACTIVE
Constant indicating that a job is waiting in a pool activity level for the completion of an I/O operation to a binary synchronous device. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_CHECKPOINT
Constant indicating that a job is waiting for the completion of save-while-active checkpoint processing in another job. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_COMM_DEVICE
Constant indicating that a job is waiting for the completion of an I/O operation to a communications device. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_COMM_DEVICE_AND_ACTIVE
Constant indicating that a job is waiting in a pool activity level for the completion of an I/O operation to a communications device. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_CONDITION
Constant indicating that a job is waiting on a handle-based condition. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_CPI_COMM
Constant indicating that a job is waiting for the completion of a CPI communications call. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_DATABASE_EOF
Constant indicating that a job is waiting to try a read operation again on a database file after the end-of-file (EOF) has been reached. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_DATABASE_EOF_AND_ACTIVE
Constant indicating that a job is waiting in a pool activity level to try a read operation again on a database file after the end-of-file (EOF) has been reached. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_DELAY
Constant indicating that a job is delayed for a time interval to end, or for a specific delay end time, by the Delay Job (DLYJOB) command. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_DELAYED
Constant indicating that a job is waiting for a specified time interval to end, or for a specific delay end time, as specified on the Delay Job (DLYJOB) command. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_DEQUEUE
Constant indicating that a job is waiting for the completion of a dequeue operation. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_DEQUEUE_AND_ACTIVE
Constant indicating that a job is waiting in a pool activity level for the completion of a dequeue operation. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_DISKETTE
Constant indicating that a job is waiting for the completion of an I/O operation to a diskette unit. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_DISKETTE_AND_ACTIVE
Constant indicating that a job is waiting in a pool activity level for the completion of an I/O operation to a diskette unit. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_DISPLAY
Constant indicating that a job is waiting for input from a work station display. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_DISPLAY_AND_ACTIVE
Constant indicating that a job is waiting in a pool activity level for input from a work station display. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_EVENT
Constant indicating that a job is waiting for an event. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_ICF_FILE
Constant indicating that a job is waiting for the completion of an I/O operation to an intersystem communications function (ICF) file. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_ICF_FILE_AND_ACTIVE
Constant indicating that a job is waiting in a pool activity level for the completion of an I/O operation to an intersystem communications function (ICF) file. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_JAVA
Constant indicating that a job is waiting for the completion of a Java program. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_JAVA_AND_ACTIVE
Constant indicating that a job is waiting in a pool activity level for the completion of a Java program. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_LOCK
Constant indicating that a job is waiting for a lock. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_MESSAGE
Constant indicating that a job is waiting for a message from a message queue. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_MIXED_DEVICE_FILE
Constant indicating that a job is waiting for the completion of an I/O operation to a mixed device file. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_MULTIPLE_FILES
Constant indicating that a job is waiting for the completion of an I/O operation to multiple files. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_MULTIPLE_FILES_AND_ACTIVE
Constant indicating that a job is waiting in a pool activity level for the completion of an I/O operation to multiple files. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_MUTEX
Constant indicating that a job is waiting for a mutex. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_OPTICAL_DEVICE
Constant indicating that a job is waiting for the completion of an I/O operation to an optical device. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_OPTICAL_DEVICE_AND_ACTIVE
Constant indicating that a job is waiting in a pool activity level for the completion of an I/O operation to an optical device. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_OSI
Constant indicating that a job is waiting for the completion of an OSI Communications Subsystem for OS/400 operation. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_PRESTART
Constant indicating that a prestart job is waiting for a program start request. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_PRINT
Constant indicating that a job is waiting for the completion of printer output. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_PRINT_AND_ACTIVE
Constant indicating that a job is waiting in a pool activity level for the completion of printer output. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_SAVE_FILE
Constant indicating that a job is waiting for the completion of a save file operation. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_SAVE_FILE_AND_ACTIVE
Constant indicating that a job is waiting in a pool activity level for the completion of a save file operation. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_SELECTION
Constant indicating that a job is waiting for the completion of a selection. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_SEMAPHORE
Constant indicating that a job is waiting for a semaphore. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_SIGNAL
Constant indicating that a job is waiting for a signal. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_TAPE_DEVICE
Constant indicating that a job is waiting for the completion of an I/O operation to a tape device. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_TAPE_DEVICE_AND_ACTIVE
Constant indicating that a job is waiting in a pool activity level for the completion of an I/O operation to a tape device. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_THREAD
Constant indicating that a job is waiting for another thread to complete an operation. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_TIME_INTERVAL
Constant indicating that a job is waiting for a time interval to end. |
static java.lang.String |
ACTIVE_JOB_STATUS_WAIT_TIME_INTERVAL_AND_ACTIVE
Constant indicating that a job is waiting in a pool activity level for a time interval to end. |
static int |
ALLOW_MULTIPLE_THREADS
Job attribute representing whether a job allows multiple threads. |
static int |
AUXILIARY_IO_REQUESTS
Job attribute representing the number of auxiliary I/O requests performed by a job across all routing steps. |
static int |
AUXILIARY_IO_REQUESTS_LARGE
Job attribute representing the number of auxiliary I/O requests performed by a job across all routing steps. |
static int |
BREAK_MESSAGE_HANDLING
Job attribute representing how a job handles break messages. |
static java.lang.String |
BREAK_MESSAGE_HANDLING_HOLD
Constant indicating that the message queue holds break messages until a user or program requests them. |
static java.lang.String |
BREAK_MESSAGE_HANDLING_NORMAL
Constant indicating that the message queue status determines break message handling. |
static java.lang.String |
BREAK_MESSAGE_HANDLING_NOTIFY
Constant indicating that the system notifies the job's message queue when a message arrives. |
static int |
CCSID
Job attribute representing the coded character set identifier used for a job. |
static int |
CCSID_INITIAL_USER
Constant indicating that the CCSID specified in the user profile under which the initial thread of the job is running is used. |
static int |
CCSID_SYSTEM_VALUE
Constant indicating that the CCSID specified in the system value QCCSID is used. |
static int |
CHARACTER_ID_CONTROL
Job attribute representing the character identifier control for a job. |
static java.lang.String |
CHARACTER_ID_CONTROL_DEVICE
Constant indicating to perform the same function for *DEVD as on the CHRID command parameter for display files, printer files, and panel groups. |
static java.lang.String |
CHARACTER_ID_CONTROL_INITIAL_USER
Constant indicating the CHRIDCTL specified in the user profile under which this thread was initially running will be used. |
static java.lang.String |
CHARACTER_ID_CONTROL_JOB
Constant indicating to perform the same function for *JOBCCSID as on the CHRID command parameter for display files, printer files, and panel groups. |
static java.lang.String |
CHARACTER_ID_CONTROL_SYSTEM_VALUE
Constant indicating the value in the QCHRIDCTL system value will be used. |
static int |
CLIENT_IP_ADDRESS
Job attribute representing the IP 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 java.lang.String |
COMPLETION_STATUS_COMPLETED_ABNORMALLY
Constant indicating that the job completed abnormally. |
static java.lang.String |
COMPLETION_STATUS_COMPLETED_NORMALLY
Constant indicating that the job completed normally. |
static java.lang.String |
COMPLETION_STATUS_NOT_COMPLETED
Constant indicating that the job has not completed. |
static int |
CONTROLLED_END_REQUESTED
Job attribute representing whether or not the system issued a controlled cancellation. |
static int |
COUNTRY_ID
Job attribute representing the country identifier associated with a job. |
static java.lang.String |
COUNTRY_ID_INITIAL_USER
Constant indicating the country ID specified in the user profile under which this thread was initially running is used. |
static java.lang.String |
COUNTRY_ID_SYSTEM_VALUE
Constant indicating the system value QCNTRYID is used. |
static int |
CPU_TIME_USED
Job attribute representing the amount of processing unit time (in milliseconds) that the job used. |
static int |
CPU_TIME_USED_FOR_DATABASE
Job attribute representing the amount of processing unit time (in milliseconds) that the job used for processing data base requests across all routing steps. |
static int |
CPU_TIME_USED_LARGE
Job attribute representing the amount of processing unit time (in milliseconds) that the job used across all routing steps. |
static int |
CURRENT_LIBRARY
Job attribute representing the name of the current library for the initial thread of the job. |
static int |
CURRENT_LIBRARY_EXISTENCE
Job attribute representing whether or not a current library exists for the job. |
static int |
CURRENT_SYSTEM_POOL_ID
Job attribute representing the identifier of the system-related pool from which main storage is currently being allocated for the job's initial thread. |
static int |
CURRENT_USER
Job attribute representing the user profile that the initial thread of the job for which information is being retrieved is currently running under. |
static int |
DATE_ENDED
Job attribute representing the date and time when the job completed running on the system. |
static int |
DATE_ENTERED_SYSTEM
Job attribute representing the data and time when the job was placed on the system. |
static int |
DATE_FORMAT
Job attribute representing the format the date is presented in for a particular job. |
static java.lang.String |
DATE_FORMAT_DMY
Constant indicating a date format of day, month, and year. |
static java.lang.String |
DATE_FORMAT_JULIAN
Constant indicating a Julian date format (year and day). |
static java.lang.String |
DATE_FORMAT_MDY
Constant indicating a date format of month, day, and year. |
static java.lang.String |
DATE_FORMAT_SYSTEM_VALUE
Constant indicating the system value QDATFMT is used. |
static java.lang.String |
DATE_FORMAT_YMD
Constant indicating a date format of year, month, and day. |
static int |
DATE_SEPARATOR
Job attribute representing the value used to separate days, months, and years when presenting a date for a particular job. |
static java.lang.String |
DATE_SEPARATOR_BLANK
Constant indicating a blank is used for the date separator. |
static java.lang.String |
DATE_SEPARATOR_COMMA
Constant indicating a comma is used for the date separator. |
static java.lang.String |
DATE_SEPARATOR_DASH
Constant indicating a dash (-) is used for the date separator. |
static java.lang.String |
DATE_SEPARATOR_PERIOD
Constant indicating a period (.) is used for the date separator. |
static java.lang.String |
DATE_SEPARATOR_SLASH
Constant indicating a slash (/) is used for the date separator. |
static java.lang.String |
DATE_SEPARATOR_SYSTEM_VALUE
Constant indicating the system value QDATSEP is used for the date separator. |
static int |
DATE_STARTED
Job attribute representing the date and time when a job began to run on the system. |
static int |
DBCS_CAPABLE
Job attribute representing whether the job is DBCS-capable or not. |
static int |
DECIMAL_FORMAT
Job attribute representing the decimal format used for a job. |
static java.lang.String |
DECIMAL_FORMAT_COMMA_I
Constant indicating a decimal format that uses a comma for a decimal point, a period for a 3-digit grouping character, and zero-suppresses to the left of the decimal point. |
static java.lang.String |
DECIMAL_FORMAT_COMMA_J
Constant indicating a decimal format that uses a comma for a decimal point and a period for a 3-digit grouping character. |
static java.lang.String |
DECIMAL_FORMAT_PERIOD
Constant indicating a decimal format that uses a period for a decimal point,a comma for a 3-digit grouping character, and zero-suppress to the left of the decimal point. |
static java.lang.String |
DECIMAL_FORMAT_SYSTEM_VALUE
Constant indicating the value in the system value QDECFMT is used as the decimal format for this job. |
static int |
DEFAULT_CCSID
Job attribute representing the default coded character set identifier used for a job. |
static int |
DEFAULT_WAIT_TIME
Job attribute representing the default maximum time (in seconds) that a thread in the job waits for a system instruction, such as a LOCK machine interface (MI) instruction, to acquire a resource. |
static int |
DEVICE_RECOVERY_ACTION
Job attribute representing the action taken for interactive jobs when an I/O error occurs for the job's requesting program device. |
static java.lang.String |
DEVICE_RECOVERY_ACTION_DISCONNECT_END_REQUEST
Constant indicating a device recovery action that disconnects the job when an I/O error occurs. |
static java.lang.String |
DEVICE_RECOVERY_ACTION_DISCONNECT_MESSAGE
Constant indicating a device recovery action that disconnects the job when an I/O error occurs. |
static java.lang.String |
DEVICE_RECOVERY_ACTION_END_JOB
Constant indicating a device recovery action that ends the job when an I/O error occurs. |
static java.lang.String |
DEVICE_RECOVERY_ACTION_END_JOB_NO_LIST
Constant indicating a device recovery action that ends the job when an I/O error occurs. |
static java.lang.String |
DEVICE_RECOVERY_ACTION_MESSAGE
Constant indicating a device recovery action that signals the I/O error message to the application and lets the application program perform error recovery. |
static java.lang.String |
DEVICE_RECOVERY_ACTION_SYSTEM_VALUE
Constant indicating the value in the system value QDEVRCYACN is used as the device recovery action for this job. |
static int |
ELIGIBLE_FOR_PURGE
Job attribute representing whether or not a job is eligible to be moved out of main storage and put into auxiliary storage at the end of a time slice or when it is beginning a long wait (such as waiting for a work station user's response). |
static java.lang.String |
ELIGIBLE_FOR_PURGE_IGNORED
Constant indicating that whether a job is eligible for purge or not is ignored because the job type is either *JOBQ or *OUTQ, or the job is not valid. |
static java.lang.String |
ELIGIBLE_FOR_PURGE_NO
Constant indicating that a job is not eligible to be moved out of main storage and put into auxiliary storage. |
static java.lang.String |
ELIGIBLE_FOR_PURGE_YES
Constant indicating that a job is eligible to be moved out of main storage and put into auxiliary storage. |
static int |
END_SEVERITY
Job attribute representing the message severity level of escape messages that can cause a batch job to end. |
static java.lang.String |
END_STATUS_CANCELLED
Constant indicating that the system, the subsystem in which a job is running, or the job itself is cancelled. |
static java.lang.String |
END_STATUS_JOB_NOT_RUNNING
Constant indicating that the job is not running. |
static java.lang.String |
END_STATUS_NOT_CANCELLED
Constant indicating that the system, the subsystem in which a job is running, or the job itself is not cancelled. |
static int |
FUNCTION_NAME
Job attribute representing additional information (as described by the FUNCTION_TYPE attribute) about the function the initial thread is currently performing. |
static int |
FUNCTION_TYPE
Job attribute representing whether the initial thread is performing a high-level function and what the function type is. |
static java.lang.String |
FUNCTION_TYPE_BLANK
Constant indicating that the system is not doing a logged function. |
static java.lang.String |
FUNCTION_TYPE_COMMAND
Constant indicating that a command is running interactively, or it is in a batch input stream, or it was requested from a system menu. |
static java.lang.String |
FUNCTION_TYPE_DELAY
Constant indicating that the initial thread of the job is processing a Delay Job (DLYJOB) command. |
static java.lang.String |
FUNCTION_TYPE_GROUP
Constant indicating that the Transfer Group Job (TFRGRPJOB) command suspended the job. |
static java.lang.String |
FUNCTION_TYPE_INDEX
Constant indicating that the initial thread of the job is rebuilding an index (access path). |
static java.lang.String |
FUNCTION_TYPE_IO
Constant indicating that the job is a subsystem monitor that is performing input/output (I/O) operations to a work station. |
static java.lang.String |
FUNCTION_TYPE_LOG
Constant indicating that the system logs history information in a database file. |
static java.lang.String |
FUNCTION_TYPE_MENU
Constant indicating that the initial thread of the job is currently at a system menu. |
static java.lang.String |
FUNCTION_TYPE_MRT
Constant indicating that the job is a multiple requester terminal (MRT) job if the job type is BATCH and the subtype is MRT, or it is an interactive job attached to an MRT job if the job type is interactive. |
static java.lang.String |
FUNCTION_TYPE_PROCEDURE
Constant indicating that the initial thread of the job is running a procedure. |
static java.lang.String |
FUNCTION_TYPE_PROGRAM
Constant indicating that the initial thread of the job is running a program. |
static java.lang.String |
FUNCTION_TYPE_SPECIAL
Constant indicating that the function type is a special function. |
static int |
INQUIRY_MESSAGE_REPLY
Job attribute representing how a job answers inquiry messages. |
static java.lang.String |
INQUIRY_MESSAGE_REPLY_DEFAULT
Constant indicating that the system uses the default message reply to answer any inquiry messages issued while this job is running. |
static java.lang.String |
INQUIRY_MESSAGE_REPLY_REQUIRED
Constant indicating that the job requires an answer for any inquiry messages that occur while the job is running. |
static java.lang.String |
INQUIRY_MESSAGE_REPLY_SYSTEM_REPLY_LIST
Constant indicating that the system reply list is checked to see if there is an entry for an inquiry message issued while the 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
Job attribute representing the value input to other APIs to decrease the time it takes to locate 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_PENDING
Job attribute representing whether a job's log has been written or not. |
static int |
JOB_NAME
Job attribute representing the name of the job as identified to the system. |
static java.lang.String |
JOB_NAME_CURRENT
Constant indicating the job that this program is running in. |
static java.lang.String |
JOB_NAME_INTERNAL
Constant indicating that the INTERNAL_JOB_ID locates the job. |
static int |
JOB_NUMBER
Job attribute representing the system-generated job number. |
static java.lang.String |
JOB_NUMBER_BLANK
Constant indicating a blank job number. |
static int |
JOB_QUEUE
Job attribute representing the name of the job queue that the job is currently on, or that the job was on if it is currently active. |
static int |
JOB_QUEUE_DATE
Job attribute representing the date and time when a job was put on a 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 a job on a job queue. |
static java.lang.String |
JOB_QUEUE_STATUS_BLANK
Constant indicating that the job was not on a job queue. |
static java.lang.String |
JOB_QUEUE_STATUS_HELD
Constant indicating that the job is being held on the job queue. |
static java.lang.String |
JOB_QUEUE_STATUS_READY
Constant indicating that the job is ready to be selected. |
static java.lang.String |
JOB_QUEUE_STATUS_SCHEDULED
Constant indicating that the job will run as scheduled. |
static int |
JOB_STATUS
Job attribute representing the status of a job. |
static java.lang.String |
JOB_STATUS_ACTIVE
Constant indicating a job status of *ACTIVE. |
static java.lang.String |
JOB_STATUS_JOBQ
Constant indicating a job status of *JOBQ. |
static java.lang.String |
JOB_STATUS_OUTQ
Constant indicating a job status of *OUTQ. |
static int |
JOB_SUBTYPE
Job attribute representing additional information about the job type (if any exists). |
static java.lang.String |
JOB_SUBTYPE_ALTERNATE_SPOOL_USER
Constant indicating that a job is an alternate spool user job. |
static java.lang.String |
JOB_SUBTYPE_BLANK
Constant indicating that a job has no special subtype or the job is not a valid job. |
static java.lang.String |
JOB_SUBTYPE_IMMEDIATE
Constant indicating that a job is an immediate job. |
static java.lang.String |
JOB_SUBTYPE_MACHINE_SERVER_JOB
Constant indicating that a job is an AS/400 Advanced 36 machine server job. |
static java.lang.String |
JOB_SUBTYPE_MRT
Constant indicating that a job is a System/36 multiple requester temrinal (MRT) job. |
static java.lang.String |
JOB_SUBTYPE_PRESTART
Constant indicating that a job is a prestart job. |
static java.lang.String |
JOB_SUBTYPE_PRINT_DRIVER
Constant indicating that a job is a print driver job. |
static java.lang.String |
JOB_SUBTYPE_PROCEDURE_START_REQUEST
Constant indicating that a job started with a procedure start request. |
static int |
JOB_SWITCHES
Job attribute representing the current setting of the job switches used by a job. |
static int |
JOB_TYPE
Job attribute representing the type of job. |
static java.lang.String |
JOB_TYPE_AUTOSTART
Constant indicating that a job is an autostart job. |
static java.lang.String |
JOB_TYPE_BATCH
Constant indicating that a job is a batch job. |
static int |
JOB_TYPE_ENHANCED
Job attribute representing the type of job. |
static java.lang.Integer |
JOB_TYPE_ENHANCED_AUTOSTART
Constant indicating that the job is an autostart job. |
static java.lang.Integer |
JOB_TYPE_ENHANCED_BATCH
Constant indicating that the job is a batch job. |
static java.lang.Integer |
JOB_TYPE_ENHANCED_BATCH_ALTERNATE_SPOOL_USER
Constant indicating that the job is a batch alternate spool user job. |
static java.lang.Integer |
JOB_TYPE_ENHANCED_BATCH_IMMEDIATE
Constant indicating that the job is a batch immediate job. |
static java.lang.Integer |
JOB_TYPE_ENHANCED_BATCH_MRT
Constant indicating that the job is a batch System/36 multiple requester terminal (MRT) job. |
static java.lang.Integer |
JOB_TYPE_ENHANCED_COMM_PROCEDURE_START_REQUEST
Constant indicating that the job is a communications procedure start request job. |
static java.lang.Integer |
JOB_TYPE_ENHANCED_INTERACTIVE
Constant indicating that the job is an interactive job. |
static java.lang.Integer |
JOB_TYPE_ENHANCED_INTERACTIVE_GROUP
Constant indicating that the job is an interactive job that is part of a group. |
static java.lang.Integer |
JOB_TYPE_ENHANCED_INTERACTIVE_SYSREQ
Constant indicating that the job is an interactive job that is part of a system request pair. |
static java.lang.Integer |
JOB_TYPE_ENHANCED_INTERACTIVE_SYSREQ_AND_GROUP
Constant indicating that the job is an interactive job that is part of a system request pair and part of a group. |
static java.lang.Integer |
JOB_TYPE_ENHANCED_PRESTART
Constant indicating that the job is a prestart job. |
static java.lang.Integer |
JOB_TYPE_ENHANCED_PRESTART_BATCH
Constant indicating that the job is a prestart batch job. |
static java.lang.Integer |
JOB_TYPE_ENHANCED_PRESTART_COMM
Constant indicating that the job is a prestart communications job. |
static java.lang.Integer |
JOB_TYPE_ENHANCED_READER
Constant indicating that the job is a reader job. |
static java.lang.Integer |
JOB_TYPE_ENHANCED_SUBSYSTEM
Constant indicating that the job is a subsystem job. |
static java.lang.Integer |
JOB_TYPE_ENHANCED_SYSTEM
Constant indicating that the job is a system job (all system jobs including SCPF). |
static java.lang.Integer |
JOB_TYPE_ENHANCED_WRITER
Constant indicating that the job is a writer job (including both spool writers and print drivers). |
static java.lang.String |
JOB_TYPE_INTERACTIVE
Constant indicating that a job is an interactive job. |
static java.lang.String |
JOB_TYPE_NOT_VALID
Constant indicating that a job is not a valid job. |
static java.lang.String |
JOB_TYPE_SCPF_SYSTEM
Constant indicating that a job is the SCPF system job. |
static java.lang.String |
JOB_TYPE_SPOOLED_READER
Constant indicating that a job is a spooled reader job. |
static java.lang.String |
JOB_TYPE_SPOOLED_WRITER
Constant indicating that a job is a spooled writer job. |
static java.lang.String |
JOB_TYPE_SUBSYSTEM_MONITOR
Constant indicating that a job is a subsystem monitor job. |
static java.lang.String |
JOB_TYPE_SYSTEM
Constant indicating that a job is a system job. |
static int |
JOB_USER_IDENTITY
Job attribute representing the user profile name by which a job is known to other jobs on the system. |
static int |
JOB_USER_IDENTITY_SETTING
Job attribute representing the method by which the job user identity was set. |
static java.lang.String |
JOB_USER_IDENTITY_SETTING_APPLICATION
Constant indicating that a job user identity was explicitly set by an application using one of the Set Job User Identity APIs, QWTSJUID or QstSetJuid(). |
static java.lang.String |
JOB_USER_IDENTITY_SETTING_DEFAULT
Constant indicating that a job is currently running single threaded and the job user identity is the name of the user profile under which the job is currently running. |
static java.lang.String |
JOB_USER_IDENTITY_SETTING_SYSTEM
Constant indicating that a job is currently running multithreaded and the job user identity was implicitly set by the system when the job became multithreaded. |
static int |
KEEP_DDM_CONNECTIONS_ACTIVE
Job attribute representing whether connections using distributed data management (DDM) protocols remain active when they are not being used. |
static java.lang.String |
KEEP_DDM_CONNECTIONS_ACTIVE_DROP
Constant indicating that the system ends a DDM connection when there are no users. |
static java.lang.String |
KEEP_DDM_CONNECTIONS_ACTIVE_KEEP
Constant indicating that the system keeps DDM connections active when there are no users, except for the following: The routing step ends on the source system. |
static int |
LANGUAGE_ID
Job attribute representing the language identifier associated with a job. |
static java.lang.String |
LANGUAGE_ID_INITIAL_USER
Constant indicating the language ID specified in the user profile under which this thread was initially running is used. |
static java.lang.String |
LANGUAGE_ID_SYSTEM_VALUE
Constant indicating the system value QLANGID is used. |
static int |
LOCATION_NAME
Job attribute representing the location name portion of the unit of work ID. |
static int |
LOG_CL_PROGRAMS
Job attribute representing whether or not commands are logged for CL programs that are run. |
static java.lang.String |
LOG_CL_PROGRAMS_NO
Constant indicating that commands are not logged for CL programs that are run. |
static java.lang.String |
LOG_CL_PROGRAMS_YES
Constant indicating that commands are logged for CL programs that are run. |
static int |
LOGGING_LEVEL
Job attribute representing what type of information is logged for a job. |
static java.lang.String |
LOGGING_LEVEL_ALL_REQUESTS_AND_ASSOCIATED_MESSAGES
Constant indicating that the following information is logged: Level 1 and 2 information is logged. |
static java.lang.String |
LOGGING_LEVEL_ALL_REQUESTS_AND_MESSAGES
Constant indicating that the following information is logged: All request messages and all messages with a severity greater than or equal to the message logging severity, including trace messages, are logged. |
static java.lang.String |
LOGGING_LEVEL_MESSAGES_BY_SEVERITY
Constant indicating that all messages sent to the job's external message queue with a severity greater than or equal to the message logging severity are logged. |
static java.lang.String |
LOGGING_LEVEL_NONE
Constant indicating that no messages are logged. |
static java.lang.String |
LOGGING_LEVEL_REQUESTS_BY_SEVERITY_AND_ASSOCIATED_MESSAGES
Constant indicating that the following information is logged: Level 1 information is logged. |
static int |
LOGGING_SEVERITY
Job attribute representing the severity level that is used in conjunction with the logging level to determine which error messages are logged in the job log. |
static int |
LOGGING_TEXT
Job attribute representing the level of message text that is written in the job log when a message is logged according to the LOGGING_LEVEL and LOGGING_SEVERITY. |
static java.lang.String |
LOGGING_TEXT_MESSAGE
Constant indicating that only the message text is written to the job log. |
static java.lang.String |
LOGGING_TEXT_NO_LIST
Constant indicating that if the jobs ends normally, no job log is produces. |
static java.lang.String |
LOGGING_TEXT_SECLVL
Constant indicating that both the message text and the message help (cause and recovery) of the error message are written to the job log. |
static int |
MAX_CPU_TIME
Job attribute representing the maximum processing unit time (in milliseconds) that the job can use. |
static int |
MAX_TEMP_STORAGE
Job attribute representing the maximum amount of auxiliary storage (in kilobytes) that the job can use. |
static int |
MAX_TEMP_STORAGE_LARGE
Job attribute representing the maximum amount of auxiliary storage (in megabytes) that the job can use. |
static int |
MAX_THREADS
Job attribute representing the maximum number of threads that a job can run with at any time. |
static int |
MEMORY_POOL
Job attribute representing the name of the memory pool in which the job started running. |
static java.lang.String |
MEMORY_POOL_BASE
Constant indicating that a job is running in the base system pool, which can be shared with other subsystems. |
static java.lang.String |
MEMORY_POOL_INTERACTIVE
Constant indicating that a job is running in the shared pool used for interactive work. |
static java.lang.String |
MEMORY_POOL_MACHINE
Constant indicating that a job is running in the machine pool. |
static java.lang.String |
MEMORY_POOL_SPOOL
Constant indicating that a job is running in the shared pool for spooled writers. |
static int |
MESSAGE_QUEUE_ACTION
Job attribute representing the action to take when the message queue is full. |
static java.lang.String |
MESSAGE_QUEUE_ACTION_NO_WRAP
Constant indicating that when the job message queue is full, do not wrap. |
static java.lang.String |
MESSAGE_QUEUE_ACTION_PRINT_WRAP
Constant indicating that when the job message queue is full, wrap the message queue and print the messages that are being overlaid because of the wrapping. |
static java.lang.String |
MESSAGE_QUEUE_ACTION_SYSTEM_VALUE
Constant indicating the value specified for the QJOBMSGQFL system value is used. |
static java.lang.String |
MESSAGE_QUEUE_ACTION_WRAP
Constant indicating that when the job message queue is full, wrap to the beginning and start filling again. |
static int |
MESSAGE_QUEUE_MAX_SIZE
Job attribute representing the maximum size (in megabytes) that the job message queue can become. |
static int |
MESSAGE_REPLY
Job attribute representing whether a job is waiting for a reply to a specific message. |
static java.lang.String |
MESSAGE_REPLY_NOT_IN_MESSAGE_WAIT
Constant indicating that a job currently is not in message wait status. |
static java.lang.String |
MESSAGE_REPLY_NOT_WAITING
Constant indicating that a job is not waiting for a reply to a message. |
static java.lang.String |
MESSAGE_REPLY_WAITING
Constant indicating that a 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 device that started the job. |
static int |
NETWORK_ID
Job attribute representing the network ID portion of the unit of work ID. |
static int |
OUTPUT_QUEUE
Job attribute representing the name of the default output queue that is used for spooled output produced by this job. |
static java.lang.String |
OUTPUT_QUEUE_DEVICE
Constant indicating the device specified on the Create Printer File (CRTPRTF), Change Printer File (CHGPRTF), or Override with Printer File (OVRPRTF) commands is used. |
static java.lang.String |
OUTPUT_QUEUE_INITIAL_USER
Constant indicating the output queue name specified in the user profile under which this thread was initially running is used. |
static int |
OUTPUT_QUEUE_PRIORITY
Job attribute representing the output priority for spooled output files that this job produces. |
static java.lang.String |
OUTPUT_QUEUE_WORK_STATION
Constant indicating the default output queue that is used with this job is the output queue that is assigned to the work staiton associated with the job at the time the job is started. |
static int |
PRINT_KEY_FORMAT
Job attribute representing whether border and header information is provided when the Print key is pressed. |
static java.lang.String |
PRINT_KEY_FORMAT_ALL
Constant indicating that the border and header information is included with output from the Print key for this job. |
static java.lang.String |
PRINT_KEY_FORMAT_BORDER
Constant indicating that the border information is included with output from the Print key for this job. |
static java.lang.String |
PRINT_KEY_FORMAT_HEADER
Constant indicating that the header information is included with output from the Print key for this job. |
static java.lang.String |
PRINT_KEY_FORMAT_NONE
Constant indicating that the border and header information is not included with output from the Print key for this job. |
static java.lang.String |
PRINT_KEY_FORMAT_SYSTEM_VALUE
Constant indicating that the value specified on the system value QPRTKEYFMT determines whether header or border information is printed. |
static int |
PRINT_TEXT
Job attribute representing the line of text (if any) that is printed at the bottom of each page of printed output for the job. |
static java.lang.String |
PRINT_TEXT_BLANK
Constant indicating that no text is printed on printed output. |
static java.lang.String |
PRINT_TEXT_SYSTEM_VALUE
Constant indicating the system value QPRTTXT is used. |
static int |
PRINTER_DEVICE_NAME
Job attribute representing the printer device used for printing output from this job. |
static java.lang.String |
PRINTER_DEVICE_NAME_INITIAL_USER
Constant indicating that the printer device name specified in the user profile under which this thread was initially running is used. |
static java.lang.String |
PRINTER_DEVICE_NAME_SYSTEM_VALUE
Constant indicating the value in the system value QPRTDEV is used as the printer device. |
static java.lang.String |
PRINTER_DEVICE_NAME_WORK_STATION
Constant indicating that the default printer device used with this job is the printer device assigned to the work station that is associated with the job. |
static int |
PRODUCT_LIBRARIES
Job attribute representing the libraries that contain product information for the initial thread of the job, if they exist. |
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 utilitiy programs. |
static int |
ROUTING_DATA
Job attribute representing the routing data that is used to determine the routing entry that identifies the program to start for the routing step. |
static int |
RUN_PRIORITY
Job attribute representing the priority at which the job is currently running, relative to other jobs on the system. |
static int |
SCHEDULE_DATE
Job attribute representing the date on which the submitted job becomes eligible to run. |
static java.lang.String |
SCHEDULE_DATE_CURRENT
Constant indicating the submitted job becomes eligible to run on the current date. |
static java.lang.String |
SCHEDULE_DATE_FRIDAY
Constant indicating the job becomes eligible to run on Friday. |
static java.lang.String |
SCHEDULE_DATE_MONDAY
Constant indicating the job becomes eligible to run on Monday. |
static java.lang.String |
SCHEDULE_DATE_MONTH_END
Constant indicating the submitted job becomes eligible to run on the last day of the month. |
static java.lang.String |
SCHEDULE_DATE_MONTH_START
Constant indicating the submitted job becomes eligible to run on the first day of the month. |
static java.lang.String |
SCHEDULE_DATE_SATURDAY
Constant indicating the job becomes eligible to run on Saturday. |
static java.lang.String |
SCHEDULE_DATE_SUNDAY
Constant indicating the job becomes eligible to run on Sunday. |
static java.lang.String |
SCHEDULE_DATE_THURSDAY
Constant indicating the job becomes eligible to run on Thursday. |
static java.lang.String |
SCHEDULE_DATE_TUESDAY
Constant indicating the job becomes eligible to run on Tuesday. |
static java.lang.String |
SCHEDULE_DATE_WEDNESDAY
Constant indicating the job becomes eligible to run on Wednesday. |
static int |
SCHEDULE_TIME
Job attribute representing the time on the scheduled date at which the job becomes eligible to run. |
static java.lang.String |
SCHEDULE_TIME_CURRENT
Constant indicating the job is submitted on the current time. |
static int |
SEQUENCE_NUMBER
Job attribute representing the sequence number portion of the unit of work ID. |
static int |
SERVER_TYPE
Job attribute representing the type of server represented by the job. |
static int |
SIGNED_ON_JOB
Job attribute representing whether the job is to be treated like a signed-on user on the system. |
static java.lang.String |
SIGNED_ON_JOB_FALSE
Constant indicating that the job should not be treated like a signed-on user. |
static java.lang.String |
SIGNED_ON_JOB_TRUE
Constant indicating that the job should be treated like a signed-on user. |
static int |
SORT_SEQUENCE_TABLE
Job attribute representing the sort sequence table associated with this job. |
static java.lang.String |
SORT_SEQUENCE_TABLE_INITIAL_USER
Constant indicating the sort sequence table specified in the user profile under which tihs thread was initially running is used. |
static java.lang.String |
SORT_SEQUENCE_TABLE_LANGUAGE_SHARED_WEIGHT
Constant indicating that the sort sequence table used can contain the same weight for multiple characters, and it is the shared weight sort table associated with the language specified in the LANGUAGE_ID attribute. |
static java.lang.String |
SORT_SEQUENCE_TABLE_LANGUAGE_UNIQUE_WEIGHT
Constant indicating that the sort sequence table used must contain a unique weight for each character in the code page, and it is the unique weight sort table associated with the language specified in the LANGUAGE_ID parameter. |
static java.lang.String |
SORT_SEQUENCE_TABLE_NONE
Constant indicating that no sort sequence table is used. |
static java.lang.String |
SORT_SEQUENCE_TABLE_SYSTEM_VALUE
Constant indicating the system value QSRTSEQ is used. |
static int |
SPECIAL_ENVIRONMENT
Job attribute representing whether a job is running in a particular environment. |
static java.lang.String |
SPECIAL_ENVIRONMENT_NONE
Constant indicating that the job is not running in any special environment. |
static java.lang.String |
SPECIAL_ENVIRONMENT_NOT_ACTIVE
Constant indicating that the special environment is ignored because the job is not currently active. |
static java.lang.String |
SPECIAL_ENVIRONMENT_SYSTEM_36
Constant indicating that the job is running in the System/36 environment. |
static int |
STATUS_MESSAGE_HANDLING
Job attribute representing whether you want status messages displayed for this job. |
static java.lang.String |
STATUS_MESSAGE_HANDLING_INITIAL_USER
Constant indicating the status message handling that is specified in the user profile under which this thread was initially running is used. |
static java.lang.String |
STATUS_MESSAGE_HANDLING_NONE
Constant indicating that the job does not display status messages. |
static java.lang.String |
STATUS_MESSAGE_HANDLING_NORMAL
Constant indicating that the job displays status messages. |
static java.lang.String |
STATUS_MESSAGE_HANDLING_SYSTEM_VALUE
Constant indicating the system value QSTSMSG is used. |
static int |
SUBMITTED_BY_JOB_NAME
Job attribute representing the job name of the submitter's job. |
static int |
SUBMITTED_BY_JOB_NUMBER
Job attribute representing the job number of the submitter's job. |
static int |
SUBMITTED_BY_USER
Job attribute representing the user name of the submitter. |
static int |
SUBSYSTEM
Job attribute representing the subsystem description in which an active job is running. |
static int |
SYSTEM_LIBRARY_LIST
Job attribute representing the system portion of the library list of the initial thread of the job. |
static int |
SYSTEM_POOL_ID
Job attribute representing the identifier of the system-related pool from which the job's main storage is allocated. |
static int |
TEMP_STORAGE_USED
Job attribute representing the amount of auxiliary storage (in kilobytes) that is currently allocated to this job. |
static int |
TEMP_STORAGE_USED_LARGE
Job attribute representing the amount of auxiliary storage (in megabytes) that is currently allocated to this job. |
static int |
THREAD_COUNT
Job attribute representing the count of the current number of active threads in the process at the time of the materialization. |
static int |
TIME_SEPARATOR
Job attribute representing the value used to separate hours, minutes, and seconds when presenting a time for this job. |
static java.lang.String |
TIME_SEPARATOR_BLANK
Constant indicating a blank is used for the time separator. |
static java.lang.String |
TIME_SEPARATOR_COLON
Constant indicating a colon (:) is used for the time separator. |
static java.lang.String |
TIME_SEPARATOR_COMMA
Constant indicating a comma (,) is used for the time separator. |
static java.lang.String |
TIME_SEPARATOR_PERIOD
Constant indicating a period (.) is used for the time separator. |
static java.lang.String |
TIME_SEPARATOR_SYSTEM_VALUE
Constant indicating the time separator specified in the system value QTIMSEP is used. |
static int |
TIME_SLICE
Job attribute representing the maximum amount of processor time (in milliseconds) given to each thread in this job before other threads in this job and in other jobs are given the opportunity to run. |
static int |
TIME_SLICE_END_POOL
Job attribute representing whether you want a thread in an interactive job moved to another main storage pool at the end of its time slice. |
static java.lang.String |
TIME_SLICE_END_POOL_BASE
Constant indicating that a thread in the job moves to the base pool when it reaches the end of its time slice. |
static java.lang.String |
TIME_SLICE_END_POOL_NONE
Constant indicating that a thread in the job does not move to another main storage pool when it reaches the end of its time slice. |
static java.lang.String |
TIME_SLICE_END_POOL_SYSTEM_VALUE
Constant indicating the value in the system value QTSEPPOOL is used. |
static int |
TOTAL_RESPONSE_TIME
Job attribute representing the total amount of response time for the initial thread, in milliseconds. |
static int |
UNIT_OF_WORK_ID
Job attribute representing the unit of work ID used to track jobs across multiple systems. |
static int |
USER_LIBRARY_LIST
Job attribute representing the user portion of the library list for the initial thread of a 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 uner which the job was started. |
static java.lang.String |
USER_NAME_BLANK
Constant indicating a blank user name. |
static int |
USER_RETURN_CODE
Job attribute representing the user-defined return code set by ILE high-level language constructs. |
Constructor Summary | |
Job()
Constructs a Job object. |
|
Job(AS400 system)
Constructs a Job object. |
|
Job(AS400 system,
java.lang.String internalJobID)
Constructs a Job object. |
|
Job(AS400 system,
java.lang.String jobName,
java.lang.String userName,
java.lang.String jobNumber)
Constructs a Job object. |
Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds a PropertyChangeListener. |
void |
addVetoableChangeListener(java.beans.VetoableChangeListener listener)
Adds a VetoableChangeListener. |
void |
commitChanges()
Commits all uncommitted attribute changes. |
void |
end(int delay)
Ends this job. |
int |
getAuxiliaryIORequests()
Returns the number of auxiliary I/O requests for the initial thread of this job. |
java.lang.String |
getBreakMessageHandling()
Returns a value which represents how this job handles break messages. |
boolean |
getCacheChanges()
Indicates if the attribute value changes are cached. |
int |
getCodedCharacterSetID()
Returns the coded character set identifier (CCSID). |
java.lang.String |
getCompletionStatus()
Returns the completion status of the job. |
java.lang.String |
getCountryID()
Returns the country ID. |
int |
getCPUUsed()
Returns the amount of processing time used (in milliseconds) that the job used. |
java.lang.String |
getCurrentLibrary()
Returns the name of the current library for the initial thread of the job. |
boolean |
getCurrentLibraryExistence()
Indicates if a current library exists. |
java.util.Date |
getDate()
Returns the date and time when the job was placed on the system. |
java.lang.String |
getDateFormat()
Returns the format in which dates are presented. |
java.lang.String |
getDateSeparator()
Returns the date separator. |
java.lang.String |
getDDMConversationHandling()
Returns whether connections using distributed data management (DDM) protocols remain active when they are not being used. |
java.lang.String |
getDecimalFormat()
Returns the decimal format used for this job. |
int |
getDefaultCodedCharacterSetIdentifier()
Returns the default coded character set identifier (CCSID) for this job. |
int |
getDefaultWait()
Returns the default maximum time (in seconds) that a thread in the job waits for a system instruction. |
java.lang.String |
getDeviceRecoveryAction()
Returns the action taken for interactive jobs when an I/O error occurs for the job's requesting program device. |
int |
getEndSeverity()
Returns the message severity level of escape messages that can cause a batch job to end. |
java.lang.String |
getFunctionName()
Returns additional information about the function the initial thread is currently performing. |
java.lang.String |
getFunctionType()
Returns the high-level function type the initial thread is performing, if any. |
java.lang.String |
getInquiryMessageReply()
Returns how the job answers inquiry messages. |
int |
getInteractiveTransactions()
Returns the number of interactive transactions. |
java.lang.String |
getInternalJobID()
Returns the internal job identifier. |
java.lang.String |
getJobAccountingCode()
Returns the identifier assigned to the job by the system to collect resource use information for the job when job accounting is active. |
java.util.Date |
getJobActiveDate()
Returns the date and time when the job began to run on the system. |
java.util.Date |
getJobDate()
Returns the date to be used for the job. |
java.lang.String |
getJobDescription()
Returns the fully qualified integrated path name for the job description. |
java.util.Date |
getJobEndedDate()
Returns the date and time when the job ended. |
java.util.Date |
getJobEnterSystemDate()
Returns the date and time when the job was placed on the system. |
JobLog |
getJobLog()
Returns the job log. |
java.lang.String |
getJobMessageQueueFullAction()
Returns the action to take when the message queue is full. |
int |
getJobMessageQueueMaximumSize()
Returns the maximum size (in megabytes) that the job message queue can become. |
java.util.Date |
getJobPutOnJobQueueDate()
Returns the date and time the job was put on the job queue. |
java.lang.String |
getJobStatusInJobQueue()
Returns the status of the job on the job queue. |
java.lang.String |
getJobSwitches()
Returns the current setting of the job switches used by this job. |
java.lang.String |
getLanguageID()
Returns the language identifier associated with this job. |
java.lang.String |
getLoggingCLPrograms()
Returns a value indicating whether or not messages are logged for CL programs. |
int |
getLoggingLevel()
Returns the type of information logged. |
int |
getLoggingSeverity()
Returns the minimum severity level that causes error messages to be logged in the job log. |
java.lang.String |
getLoggingText()
Returns the level of message text that is written in the job log or displayed to the user. |
java.lang.String |
getModeName()
Returns the mode name of the advanced program-to-program communications (APPC) device that started the job. |
java.lang.String |
getName()
Returns the job name. |
java.lang.String |
getNumber()
Returns the job number. |
int |
getNumberOfLibrariesInSYSLIBL()
Returns the number of libraries in the system portion of the library list of the initial thread. |
int |
getNumberOfLibrariesInUSRLIBL()
Returns the number of libraries in the user portion of the library list of the initial thread. |
int |
getNumberOfProductLibraries()
Returns the number of libraries that contain product information for the initial thread. |
java.lang.String |
getOutputQueue()
Returns the fully qualified integrated file system path name of the default output queue that is used for spooled output produced by this job. |
int |
getOutputQueuePriority()
Returns the output priority for spooled files that this job produces. |
int |
getPoolIdentifier()
Returns the identifier of the system-related pool from which the job's main storage is allocated. |
java.lang.String |
getPrinterDeviceName()
Returns the printer device used for printing output from this job. |
java.lang.String |
getPrintKeyFormat()
Returns a value indicating whether border and header information is provided when the Print key is pressed. |
java.lang.String |
getPrintText()
Returns the line of text, if any, that is printed at the bottom of each page of printed output for the job. |
java.lang.String[] |
getProductLibraries()
Returns the libraries that contain product information for the initial thread. |
boolean |
getPurge()
Indicates whether 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 it is beginning a long wait. |
java.lang.String |
getQueue()
Returns the fully qualified integrated file system path name of the job queue that the job is on, or that the job was on if it is active. |
int |
getQueuePriority()
Returns the scheduling priority of the job compared to other jobs on the same job queue. |
java.lang.String |
getRoutingData()
Returns the routing data that is used to determine the routing entry that identifies the program to start for the routing step. |
int |
getRunPriority()
Returns the priority at which the job is currently running, relative to other jobs on the system. |
java.util.Date |
getScheduleDate()
Returns the date and time the job is scheduled to become active. |
boolean |
getSignedOnJob()
Indicates whether the job is to be treated like a signed-on user on the system. |
java.lang.String |
getSortSequenceTable()
Returns the fully qualified integrated file system path name of the sort sequence table. |
java.lang.String |
getStatus()
Returns the job status. |
java.lang.String |
getStatusMessageHandling()
Returns a value indicating status messages are displayed for this job. |
java.lang.String |
getSubsystem()
Returns the fully qualified integrated file system path name of the subsystem description for the subsystem in which the job is running. |
java.lang.String |
getSubtype()
Returns additional information about the job type. |
AS400 |
getSystem()
Returns the system. |
java.lang.String[] |
getSystemLibraryList()
Returns the system portion of the library list of the initial thread. |
java.lang.String |
getTimeSeparator()
Returns the value used to separate hours, minutes, and seconds when presenting a time. |
int |
getTimeSlice()
Returns the maximum amount of processor time (in milliseconds) given to each thread in this job before other threads in this job and in other jobs are given the opportunity to run. |
java.lang.String |
getTimeSliceEndPool()
Returns a value indicating whether a thread in an interactive job moves to another main storage pool at the end of its time slice. |
int |
getTotalResponseTime()
Returns the total amount of response time (in milliseconds) for the initial thread. |
java.lang.String |
getType()
Returns the job type. |
java.lang.String |
getUser()
Returns the user name. |
java.lang.String[] |
getUserLibraryList()
Returns the user portion of the library list of the initial thread. |
java.lang.Object |
getValue(int attribute)
Returns the value for the specified job attribute. |
java.lang.String |
getWorkIDUnit()
Returns the unit of work identifier. |
void |
hold(boolean holdSpooledFiles)
Holds this job. |
void |
loadInformation()
Refreshes the values for all attributes. |
void |
release()
Releases this job. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Removes a PropertyChangeListener. |
void |
removeVetoableChangeListener(java.beans.VetoableChangeListener listener)
Removes a VetoableChangeListener. |
void |
setBreakMessageHandling(java.lang.String breakMessageHandling)
Sets how this job handles break messages. |
void |
setCacheChanges(boolean cacheChanges)
Sets the value indicating whether attribute value changes are committed immediately. |
void |
setCodedCharacterSetID(int codedCharacterSetID)
Sets the coded character set identifier (CCSID). |
void |
setCountryID(java.lang.String countryID)
Sets the country ID. |
void |
setDateFormat(java.lang.String dateFormat)
Sets the format in which dates are presented. |
void |
setDateSeparator(java.lang.String dateSeparator)
Sets the value used to separate days, months, and years when presenting a date. |
void |
setDDMConversationHandling(java.lang.String ddmConversationHandling)
Sets whether connections using distributed data management (DDM) protocols remain active when they are not being used. |
void |
setDecimalFormat(java.lang.String decimalFormat)
Sets the decimal format used for this job. |
void |
setDefaultWait(int defaultWait)
Sets the default maximum time (in seconds) that a thread in the job waits for a system instruction. |
void |
setDeviceRecoveryAction(java.lang.String deviceRecoveryAction)
Sets the action taken for interactive jobs when an I/O error occurs for the job's requesting program device. |
void |
setInquiryMessageReply(java.lang.String inquiryMessageReply)
Sets how the job answers inquiry messages. |
void |
setInternalJobID(java.lang.String internalJobID)
Sets the internal job identifier. |
void |
setJobAccountingCode(java.lang.String jobAccountingCode)
Sets the identifier assigned to the job by the system to collect resource use information for the job when job accounting is active. |
void |
setJobDate(java.util.Date jobDate)
Sets the date to be used for the job. |
void |
setJobMessageQueueFullAction(java.lang.String jobMessageQueueFullAction)
Sets the action to take when the message queue is full. |
void |
setJobSwitches(java.lang.String jobSwitches)
Sets the current setting of the job switches used by this job. |
void |
setLanguageID(java.lang.String languageID)
Sets the language identifier associated with this job. |
void |
setLoggingCLPrograms(java.lang.String loggingCLPrograms)
Sets whether messages are logged for CL programs. |
void |
setLoggingLevel(int loggingLevel)
Sets the type of information that is logged. |
void |
setLoggingSeverity(int loggingSeverity)
Sets the minimum severity level that causes error messages to be logged in the job log. |
void |
setLoggingText(java.lang.String loggingText)
Sets the level of message text that is written in the job log or displayed to the user. |
void |
setName(java.lang.String name)
Sets the job name. |
void |
setNumber(java.lang.String number)
Sets the job number. |
void |
setOutputQueue(java.lang.String outputQueue)
Sets the name of the default output queue that is used for spooled output produced by this job. |
void |
setOutputQueuePriority(int outputQueuePriority)
Sets the output priority for spooled output files that this job produces. |
void |
setPrinterDeviceName(java.lang.String printerDeviceName)
Sets the printer device name used for printing output from this job. |
void |
setPrintKeyFormat(java.lang.String printKeyFormat)
Sets whether border and header information is provided when the Print key is pressed. |
void |
setPrintText(java.lang.String printText)
Sets the line of text, if any, that is printed at the bottom of each page of printed output for the job. |
void |
setPurge(boolean purge)
Sets the value indicating whether 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 it is beginning a long wait. |
void |
setQueue(java.lang.String jobQueue)
Sets the job queue that the job is currently 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 is currently running, relative to other jobs on the system. |
void |
setScheduleDate(java.util.Date scheduleDate)
Sets the date and time the job is scheduled to become active. |
void |
setScheduleDate(java.lang.String scheduleDate)
Sets the date the job is scheduled to become active. |
void |
setScheduleTime(java.util.Date scheduleTime)
Sets the date and time the job is scheduled to become active. |
void |
setScheduleTime(java.lang.String scheduleTime)
Sets the time the job is scheduled to become active. |
void |
setSortSequenceTable(java.lang.String sortSequenceTable)
Sets the sort sequence table. |
void |
setStatusMessageHandling(java.lang.String statusMessageHandling)
Sets the value which indicates whether status messages are displayed for this job. |
void |
setSystem(AS400 system)
Sets the system. |
void |
setTimeSeparator(java.lang.String timeSeparator)
Sets the value used to separate hours, minutes, and seconds when presenting a time. |
void |
setTimeSlice(int timeSlice)
Sets the maximum amount of processor time (in milliseconds) given to each thread in this job before other threads in this job and in other jobs are given the opportunity to run. |
void |
setTimeSliceEndPool(java.lang.String timeSliceEndPool)
Sets the value which indicates whether a thread in an interactive job moves to another main storage pool at the end of its time slice. |
void |
setUser(java.lang.String user)
Sets the user name. |
void |
setValue(int attribute,
java.lang.Object value)
Sets a value for a job attribute. |
java.lang.String |
toString()
Returns the string representation of this Job in the format "number/user/name", or "" if any of these attributes is null. |
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
Type: String
getJobAccountingCode()
,
setJobAccountingCode(java.lang.String)
public static final java.lang.String ACCOUNTING_CODE_BLANK
ACCOUNTING_CODE
public 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_WAIT_HELD
ACTIVE_JOB_STATUS_HELD_THREAD
ACTIVE_JOB_STATUS_WAIT_ICF_FILE_AND_ACTIVE
ACTIVE_JOB_STATUS_WAIT_ICF_FILE
ACTIVE_JOB_STATUS_WAIT_INELIGIBLE
ACTIVE_JOB_STATUS_WAIT_JAVA_AND_ACTIVE
ACTIVE_JOB_STATUS_WAIT_JAVA
ACTIVE_JOB_STATUS_WAIT_LOCK
ACTIVE_JOB_STATUS_WAIT_MULTIPLE_FILES_AND_ACTIVE
ACTIVE_JOB_STATUS_WAIT_MULTIPLE_FILES
ACTIVE_JOB_STATUS_WAIT_MESSAGE
ACTIVE_JOB_STATUS_WAIT_MUTEX
ACTIVE_JOB_STATUS_WAIT_MIXED_DEVICE_FILE
ACTIVE_JOB_STATUS_WAIT_OPTICAL_DEVICE_AND_ACTIVE
ACTIVE_JOB_STATUS_WAIT_OPTICAL_DEVICE
ACTIVE_JOB_STATUS_WAIT_OSI
ACTIVE_JOB_STATUS_WAIT_PRINT_AND_ACTIVE
ACTIVE_JOB_STATUS_WAIT_PRINT
ACTIVE_JOB_STATUS_WAIT_PRESTART
ACTIVE_JOB_STATUS_RUNNING
ACTIVE_JOB_STATUS_WAIT_SELECTION
ACTIVE_JOB_STATUS_WAIT_SEMAPHORE
ACTIVE_JOB_STATUS_STOPPED
ACTIVE_JOB_STATUS_WAIT_SIGNAL
ACTIVE_JOB_STATUS_SUSPENDED_SYSTEM_REQUEST
ACTIVE_JOB_STATUS_WAIT_SAVE_FILE_AND_ACTIVE
ACTIVE_JOB_STATUS_WAIT_SAVE_FILE
ACTIVE_JOB_STATUS_WAIT_TAPE_DEVICE_AND_ACTIVE
ACTIVE_JOB_STATUS_WAIT_TAPE_DEVICE
ACTIVE_JOB_STATUS_WAIT_THREAD
ACTIVE_JOB_STATUS_WAIT_TIME_INTERVAL_AND_ACTIVE
ACTIVE_JOB_STATUS_WAIT_TIME_INTERVAL
Read-only: true
Type: String
public static final java.lang.String ACTIVE_JOB_STATUS_NONE
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_BIN_SYNCH_DEVICE_AND_ACTIVE
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_BIN_SYNCH_DEVICE
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_COMM_DEVICE_AND_ACTIVE
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_COMM_DEVICE
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_CHECKPOINT
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_CONDITION
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_CPI_COMM
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_DELAYED
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_DEQUEUE_AND_ACTIVE
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_DEQUEUE
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_DISKETTE_AND_ACTIVE
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_DISKETTE
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_DELAY
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_DISCONNECTED
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_DISPLAY_AND_ACTIVE
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_DISPLAY
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_ENDED
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_DATABASE_EOF_AND_ACTIVE
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_DATABASE_EOF
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_ENDING
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_EVENT
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_SUSPENDED
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_HELD
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_HELD_THREAD
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_ICF_FILE_AND_ACTIVE
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_ICF_FILE
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_INELIGIBLE
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_JAVA_AND_ACTIVE
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_JAVA
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_LOCK
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_MULTIPLE_FILES_AND_ACTIVE
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_MULTIPLE_FILES
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_MESSAGE
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_MUTEX
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_MIXED_DEVICE_FILE
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_OPTICAL_DEVICE_AND_ACTIVE
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_OPTICAL_DEVICE
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_OSI
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_PRINT_AND_ACTIVE
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_PRINT
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_PRESTART
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_RUNNING
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_SELECTION
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_SEMAPHORE
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_STOPPED
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_SIGNAL
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_SUSPENDED_SYSTEM_REQUEST
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_SAVE_FILE_AND_ACTIVE
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_SAVE_FILE
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_TAPE_DEVICE_AND_ACTIVE
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_TAPE_DEVICE
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_THREAD
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_TIME_INTERVAL_AND_ACTIVE
ACTIVE_JOB_STATUS
public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_TIME_INTERVAL
ACTIVE_JOB_STATUS
public static final int ACTIVE_JOB_STATUS_FOR_JOBS_ENDING
ACTIVE_JOB_STATUS
for a list of the possible values.
Read-only: true
Type: String
Only valid on V5R1 systems and higher.
ACTIVE_JOB_STATUS
public static final int ALLOW_MULTIPLE_THREADS
Read-only: true
Type: Boolean
Only valid on V5R1 systems and higher.
public static final int AUXILIARY_IO_REQUESTS
Read-only: true
Type: Integer
getAuxiliaryIORequests()
public static final int AUXILIARY_IO_REQUESTS_LARGE
Read-only: true
Type: Long
Only valid on V5R1 systems and higher.
getAuxiliaryIORequests()
public static final int BREAK_MESSAGE_HANDLING
Type: String
getBreakMessageHandling()
,
setBreakMessageHandling(java.lang.String)
public static final java.lang.String BREAK_MESSAGE_HANDLING_NORMAL
BREAK_MESSAGE_HANDLING
public static final java.lang.String BREAK_MESSAGE_HANDLING_HOLD
BREAK_MESSAGE_HANDLING
public static final java.lang.String BREAK_MESSAGE_HANDLING_NOTIFY
BREAK_MESSAGE_HANDLING
public static final int CCSID
Type: Integer
getCodedCharacterSetID()
,
setCodedCharacterSetID(int)
public static final int CCSID_SYSTEM_VALUE
CCSID
public static final int CCSID_INITIAL_USER
CCSID
public static final int CHARACTER_ID_CONTROL
CHARACTER_ID_CONTROL_DEVICE
CHARACTER_ID_CONTROL_JOB
CHARACTER_ID_CONTROL_SYSTEM_VALUE
CHARACTER_ID_CONTROL_INITIAL_USER
Type: String
public static final java.lang.String CHARACTER_ID_CONTROL_DEVICE
CHARACTER_ID_CONTROL
public static final java.lang.String CHARACTER_ID_CONTROL_JOB
CHARACTER_ID_CONTROL
public static final java.lang.String CHARACTER_ID_CONTROL_SYSTEM_VALUE
CHARACTER_ID_CONTROL
public static final java.lang.String CHARACTER_ID_CONTROL_INITIAL_USER
CHARACTER_ID_CONTROL
public static final int CLIENT_IP_ADDRESS
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()
public static final java.lang.String COMPLETION_STATUS_NOT_COMPLETED
COMPLETION_STATUS
public static final java.lang.String COMPLETION_STATUS_COMPLETED_NORMALLY
COMPLETION_STATUS
public static final java.lang.String COMPLETION_STATUS_COMPLETED_ABNORMALLY
COMPLETION_STATUS
public static final int CONTROLLED_END_REQUESTED
Read-only: true
Type: String
public static final java.lang.String END_STATUS_CANCELLED
CONTROLLED_END_REQUESTED
public static final java.lang.String END_STATUS_NOT_CANCELLED
CONTROLLED_END_REQUESTED
public static final java.lang.String END_STATUS_JOB_NOT_RUNNING
CONTROLLED_END_REQUESTED
public static final int COUNTRY_ID
Type: String
getCountryID()
,
setCountryID(java.lang.String)
public static final java.lang.String COUNTRY_ID_SYSTEM_VALUE
COUNTRY_ID
public static final java.lang.String COUNTRY_ID_INITIAL_USER
COUNTRY_ID
public static final int CPU_TIME_USED
Read-only: true
Type: Integer
getCPUUsed()
public static final int CPU_TIME_USED_LARGE
Read-only: true
Type: Long
getCPUUsed()
public 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()
public static final int CURRENT_LIBRARY_EXISTENCE
Read-only: true
Type: Integer
Can be loaded by JobList: false
getCurrentLibraryExistence()
public static final int CURRENT_SYSTEM_POOL_ID
Read-only: true
Type: Integer
public static final int CURRENT_USER
Read-only: true
Type: String
public static final int DATE_ENDED
Read-only: true
Type: String in the format CYYMMDDHHMMSS
public static final int DATE_ENTERED_SYSTEM
Read-only: true
Type: String in the format CYYMMDDHHMMSS
getDate()
,
getJobEnterSystemDate()
public static final int DATE_FORMAT
Type: String
getDateFormat()
,
setDateFormat(java.lang.String)
public static final java.lang.String DATE_FORMAT_YMD
DATE_FORMAT
public static final java.lang.String DATE_FORMAT_MDY
DATE_FORMAT
public static final java.lang.String DATE_FORMAT_DMY
DATE_FORMAT
public static final java.lang.String DATE_FORMAT_JULIAN
DATE_FORMAT
public static final java.lang.String DATE_FORMAT_SYSTEM_VALUE
DATE_FORMAT
public 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)
public static final java.lang.String DATE_SEPARATOR_SYSTEM_VALUE
DATE_SEPARATOR
public static final java.lang.String DATE_SEPARATOR_SLASH
DATE_SEPARATOR
public static final java.lang.String DATE_SEPARATOR_DASH
DATE_SEPARATOR
public static final java.lang.String DATE_SEPARATOR_PERIOD
DATE_SEPARATOR
public static final java.lang.String DATE_SEPARATOR_BLANK
DATE_SEPARATOR
public static final java.lang.String DATE_SEPARATOR_COMMA
DATE_SEPARATOR
public static final int DATE_STARTED
Read-only: true
Type: String in the format CYYMMDDHHMMSS
getJobActiveDate()
public static final int DBCS_CAPABLE
Read-only: true
Type: String
public static final int DECIMAL_FORMAT
Type: String
getDecimalFormat()
,
setDecimalFormat(java.lang.String)
public static final java.lang.String DECIMAL_FORMAT_PERIOD
DECIMAL_FORMAT
public static final java.lang.String DECIMAL_FORMAT_COMMA_I
DECIMAL_FORMAT
public static final java.lang.String DECIMAL_FORMAT_COMMA_J
DECIMAL_FORMAT
public static final java.lang.String DECIMAL_FORMAT_SYSTEM_VALUE
DECIMAL_FORMAT
public static final int DEFAULT_CCSID
Read-only: true
Type: Integer
getDefaultCodedCharacterSetIdentifier()
public static final int DEFAULT_WAIT_TIME
Type: Integer
getDefaultWait()
,
setDefaultWait(int)
public static final int DEVICE_RECOVERY_ACTION
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
DEVICE_RECOVERY_ACTION_SYSTEM_VALUE
Type: String
getDeviceRecoveryAction()
,
setDeviceRecoveryAction(java.lang.String)
public static final java.lang.String DEVICE_RECOVERY_ACTION_MESSAGE
DEVICE_RECOVERY_ACTION
public static final java.lang.String DEVICE_RECOVERY_ACTION_DISCONNECT_MESSAGE
DEVICE_RECOVERY_ACTION
public static final java.lang.String DEVICE_RECOVERY_ACTION_DISCONNECT_END_REQUEST
DEVICE_RECOVERY_ACTION
public static final java.lang.String DEVICE_RECOVERY_ACTION_END_JOB
DEVICE_RECOVERY_ACTION
public static final java.lang.String DEVICE_RECOVERY_ACTION_END_JOB_NO_LIST
DEVICE_RECOVERY_ACTION
public static final java.lang.String DEVICE_RECOVERY_ACTION_SYSTEM_VALUE
DEVICE_RECOVERY_ACTION
public static final int ELIGIBLE_FOR_PURGE
Type: String
getPurge()
,
setPurge(boolean)
public static final java.lang.String ELIGIBLE_FOR_PURGE_YES
ELIGIBLE_FOR_PURGE
public static final java.lang.String ELIGIBLE_FOR_PURGE_NO
ELIGIBLE_FOR_PURGE
public static final java.lang.String ELIGIBLE_FOR_PURGE_IGNORED
ELIGIBLE_FOR_PURGE
public static final int END_SEVERITY
Read-only: true
Type: Integer
getEndSeverity()
public static final int FUNCTION_NAME
Read-only: true
Type: String
getFunctionName()
public static final int FUNCTION_TYPE
FUNCTION_TYPE_BLANK
FUNCTION_TYPE_COMMAND
FUNCTION_TYPE_DELAY
FUNCTION_TYPE_GROUP
FUNCTION_TYPE_INDEX
FUNCTION_TYPE_IO
FUNCTION_TYPE_LOG
FUNCTION_TYPE_MENU
FUNCTION_TYPE_MRT
FUNCTION_TYPE_PROCEDURE
FUNCTION_TYPE_PROGRAM
FUNCTION_TYPE_SPECIAL
Read-only: true
Type: String
getFunctionType()
public static final java.lang.String FUNCTION_TYPE_BLANK
FUNCTION_TYPE
public static final java.lang.String FUNCTION_TYPE_COMMAND
FUNCTION_TYPE
public static final java.lang.String FUNCTION_TYPE_DELAY
FUNCTION_TYPE
public static final java.lang.String FUNCTION_TYPE_GROUP
FUNCTION_TYPE
public static final java.lang.String FUNCTION_TYPE_INDEX
FUNCTION_TYPE
public static final java.lang.String FUNCTION_TYPE_IO
FUNCTION_TYPE
public static final java.lang.String FUNCTION_TYPE_LOG
FUNCTION_TYPE
public static final java.lang.String FUNCTION_TYPE_MENU
FUNCTION_TYPE
public static final java.lang.String FUNCTION_TYPE_MRT
JOB_TYPE
and
JOB_SUBTYPE
attributes for how to determine what type of job this is.
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
public static final java.lang.String FUNCTION_TYPE_PROCEDURE
FUNCTION_TYPE
public static final java.lang.String FUNCTION_TYPE_PROGRAM
FUNCTION_TYPE
public static final java.lang.String FUNCTION_TYPE_SPECIAL
FUNCTION_TYPE
public 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)
public static final java.lang.String INQUIRY_MESSAGE_REPLY_REQUIRED
INQUIRY_MESSAGE_REPLY
public static final java.lang.String INQUIRY_MESSAGE_REPLY_DEFAULT
INQUIRY_MESSAGE_REPLY
public static final java.lang.String INQUIRY_MESSAGE_REPLY_SYSTEM_REPLY_LIST
INQUIRY_MESSAGE_REPLY
public static final int INSTANCE
Read-only: true
Type: String
UNIT_OF_WORK_ID
,
getWorkIDUnit()
public static final int INTERACTIVE_TRANSACTIONS
Read-only: true
Type: Integer
getInteractiveTransactions()
public static final int INTERNAL_JOB_ID
Read-only: true
Type: String
Can be loaded by JobList: false
getInternalJobID()
public static final int JOB_DATE
Type: String in the format CYYMMDD
getJobDate()
,
setJobDate(java.util.Date)
public static final int JOB_DESCRIPTION
Read-only: true
Type: String
getJobDescription()
public static final int JOB_END_REASON
Read-only: true
Type: Integer
Only valid on V5R1 systems and higher.
public static final int JOB_LOG_PENDING
Read-only: true
Type: String
Only valid on V5R1 systems and higher.
public static final int JOB_NAME
JOB_NAME_INTERNAL
JOB_NAME_CURRENT
Type: String
getName()
,
setName(java.lang.String)
public static final java.lang.String JOB_NAME_INTERNAL
JOB_NAME
public static final java.lang.String JOB_NAME_CURRENT
JOB_NAME
public static final int JOB_NUMBER
JOB_NUMBER_BLANK
Type: String
getNumber()
,
setNumber(java.lang.String)
public static final java.lang.String JOB_NUMBER_BLANK
JOB_NUMBER
public static final int JOB_QUEUE
Type: String
getQueue()
,
setQueue(java.lang.String)
public static final int JOB_QUEUE_DATE
Read-only: true
Type: String in the system timestamp format
getJobPutOnJobQueueDate()
public static final int JOB_QUEUE_PRIORITY
Type: String
getQueuePriority()
,
setQueuePriority(int)
public static final int JOB_QUEUE_STATUS
Read-only: true
Type: String
getJobStatusInJobQueue()
public static final java.lang.String JOB_QUEUE_STATUS_BLANK
JOB_QUEUE_STATUS
public static final java.lang.String JOB_QUEUE_STATUS_SCHEDULED
JOB_QUEUE_STATUS
public static final java.lang.String JOB_QUEUE_STATUS_HELD
JOB_QUEUE_STATUS
public static final java.lang.String JOB_QUEUE_STATUS_READY
JOB_QUEUE_STATUS
public static final int JOB_STATUS
Read-only: true
Type: String
getStatus()
public static final java.lang.String JOB_STATUS_ACTIVE
JOB_STATUS
public static final java.lang.String JOB_STATUS_JOBQ
JOB_STATUS
public static final java.lang.String JOB_STATUS_OUTQ
JOB_STATUS
public 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()
public static final java.lang.String JOB_SUBTYPE_BLANK
JOB_SUBTYPE
public static final java.lang.String JOB_SUBTYPE_IMMEDIATE
JOB_SUBTYPE
public static final java.lang.String JOB_SUBTYPE_PROCEDURE_START_REQUEST
JOB_SUBTYPE
public static final java.lang.String JOB_SUBTYPE_MACHINE_SERVER_JOB
JOB_SUBTYPE
public static final java.lang.String JOB_SUBTYPE_PRESTART
JOB_SUBTYPE
public static final java.lang.String JOB_SUBTYPE_PRINT_DRIVER
JOB_SUBTYPE
public static final java.lang.String JOB_SUBTYPE_MRT
JOB_SUBTYPE
public static final java.lang.String JOB_SUBTYPE_ALTERNATE_SPOOL_USER
JOB_SUBTYPE
public static final int JOB_SWITCHES
Type: String
getJobSwitches()
,
setJobSwitches(java.lang.String)
public static final int JOB_TYPE
JOB_TYPE_NOT_VALID
JOB_TYPE_AUTOSTART
JOB_TYPE_BATCH
JOB_TYPE_INTERACTIVE
JOB_TYPE_SUBSYSTEM_MONITOR
JOB_TYPE_SPOOLED_READER
JOB_TYPE_SYSTEM
JOB_TYPE_SPOOLED_WRITER
JOB_TYPE_SCPF_SYSTEM
Read-only: true
Type: String
getType()
public static final java.lang.String JOB_TYPE_NOT_VALID
JOB_TYPE
public static final java.lang.String JOB_TYPE_AUTOSTART
JOB_TYPE
public static final java.lang.String JOB_TYPE_BATCH
JOB_TYPE
public static final java.lang.String JOB_TYPE_INTERACTIVE
JOB_TYPE
public static final java.lang.String JOB_TYPE_SUBSYSTEM_MONITOR
JOB_TYPE
public static final java.lang.String JOB_TYPE_SPOOLED_READER
JOB_TYPE
public static final java.lang.String JOB_TYPE_SYSTEM
JOB_TYPE
public static final java.lang.String JOB_TYPE_SPOOLED_WRITER
JOB_TYPE
public static final java.lang.String JOB_TYPE_SCPF_SYSTEM
JOB_TYPE
public static final int JOB_TYPE_ENHANCED
JOB_TYPE_ENHANCED_AUTOSTART
JOB_TYPE_ENHANCED_BATCH
JOB_TYPE_ENHANCED_BATCH_IMMEDIATE
JOB_TYPE_ENHANCED_BATCH_MRT
JOB_TYPE_ENHANCED_BATCH_ALTERNATE_SPOOL_USER
JOB_TYPE_ENHANCED_COMM_PROCEDURE_START_REQUEST
JOB_TYPE_ENHANCED_INTERACTIVE
JOB_TYPE_ENHANCED_INTERACTIVE_GROUP
JOB_TYPE_ENHANCED_SYSREQ
JOB_TYPE_ENHANCED_INTERACTIVE_SYSREQ_AND_GROUP
JOB_TYPE_ENHANCED_PRESTART
JOB_TYPE_ENHANCED_PRESTART_BATCH
JOB_TYPE_ENHANCED_PRESTART_COMM
JOB_TYPE_ENHANCED_READER
JOB_TYPE_ENHANCED_SUBSYSTEM
JOB_TYPE_ENHANCED_SYSTEM
JOB_TYPE_ENHANCED_WRITER
Read-only: true
Type: Integer
Only valid on V5R1 systems and higher.
public static final java.lang.Integer JOB_TYPE_ENHANCED_AUTOSTART
JOB_TYPE_ENHANCED
public static final java.lang.Integer JOB_TYPE_ENHANCED_BATCH
JOB_TYPE_ENHANCED
public static final java.lang.Integer JOB_TYPE_ENHANCED_BATCH_IMMEDIATE
JOB_TYPE_ENHANCED
public static final java.lang.Integer JOB_TYPE_ENHANCED_BATCH_MRT
JOB_TYPE_ENHANCED
public static final java.lang.Integer JOB_TYPE_ENHANCED_BATCH_ALTERNATE_SPOOL_USER
JOB_TYPE_ENHANCED
public static final java.lang.Integer JOB_TYPE_ENHANCED_COMM_PROCEDURE_START_REQUEST
JOB_TYPE_ENHANCED
public static final java.lang.Integer JOB_TYPE_ENHANCED_INTERACTIVE
JOB_TYPE_ENHANCED
public static final java.lang.Integer JOB_TYPE_ENHANCED_INTERACTIVE_GROUP
JOB_TYPE_ENHANCED
public static final java.lang.Integer JOB_TYPE_ENHANCED_INTERACTIVE_SYSREQ
JOB_TYPE_ENHANCED
public static final java.lang.Integer JOB_TYPE_ENHANCED_INTERACTIVE_SYSREQ_AND_GROUP
JOB_TYPE_ENHANCED
public static final java.lang.Integer JOB_TYPE_ENHANCED_PRESTART
JOB_TYPE_ENHANCED
public static final java.lang.Integer JOB_TYPE_ENHANCED_PRESTART_BATCH
JOB_TYPE_ENHANCED
public static final java.lang.Integer JOB_TYPE_ENHANCED_PRESTART_COMM
JOB_TYPE_ENHANCED
public static final java.lang.Integer JOB_TYPE_ENHANCED_READER
JOB_TYPE_ENHANCED
public static final java.lang.Integer JOB_TYPE_ENHANCED_SUBSYSTEM
JOB_TYPE_ENHANCED
public static final java.lang.Integer JOB_TYPE_ENHANCED_SYSTEM
JOB_TYPE_ENHANCED
public static final java.lang.Integer JOB_TYPE_ENHANCED_WRITER
JOB_TYPE_ENHANCED
public static final int JOB_USER_IDENTITY
Read-only: true
Type: String
public static final int JOB_USER_IDENTITY_SETTING
JOB_USER_IDENTITY_SETTING_DEFAULT
JOB_USER_IDENTITY_SETTING_APPLICATION
JOB_USER_IDENTITY_SETTING_SYSTEM
Read-only: true
Type: String
public static final java.lang.String JOB_USER_IDENTITY_SETTING_DEFAULT
JOB_USER_IDENTITY_SETTING
public static final java.lang.String JOB_USER_IDENTITY_SETTING_APPLICATION
JOB_USER_IDENTITY_SETTING
public static final java.lang.String JOB_USER_IDENTITY_SETTING_SYSTEM
JOB_USER_IDENTITY_SETTING
public static final int KEEP_DDM_CONNECTIONS_ACTIVE
Type: String
getDDMConversationHandling()
,
setDDMConversationHandling(java.lang.String)
public static final java.lang.String KEEP_DDM_CONNECTIONS_ACTIVE_KEEP
KEEP_DDM_CONNECTIONS_ACTIVE
public static final java.lang.String KEEP_DDM_CONNECTIONS_ACTIVE_DROP
KEEP_DDM_CONNECTIONS_ACTIVE
public static final int LANGUAGE_ID
Type: String
getLanguageID()
,
setLanguageID(java.lang.String)
public static final java.lang.String LANGUAGE_ID_SYSTEM_VALUE
LANGUAGE_ID
public static final java.lang.String LANGUAGE_ID_INITIAL_USER
LANGUAGE_ID
public static final int LOCATION_NAME
Read-only: true
Type: String
UNIT_OF_WORK_ID
,
getWorkIDUnit()
public static final int LOG_CL_PROGRAMS
Type: String
getLoggingCLPrograms()
,
setLoggingCLPrograms(java.lang.String)
public static final java.lang.String LOG_CL_PROGRAMS_YES
LOG_CL_PROGRAMS
public static final java.lang.String LOG_CL_PROGRAMS_NO
LOG_CL_PROGRAMS
public 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)
public static final java.lang.String LOGGING_LEVEL_NONE
LOGGING_LEVEL
public static final java.lang.String LOGGING_LEVEL_MESSAGES_BY_SEVERITY
LOGGING_LEVEL
public static final java.lang.String LOGGING_LEVEL_REQUESTS_BY_SEVERITY_AND_ASSOCIATED_MESSAGES
LOGGING_LEVEL
public static final java.lang.String LOGGING_LEVEL_ALL_REQUESTS_AND_ASSOCIATED_MESSAGES
LOGGING_LEVEL
public static final java.lang.String LOGGING_LEVEL_ALL_REQUESTS_AND_MESSAGES
LOGGING_LEVEL
public static final int LOGGING_SEVERITY
Type: Integer
getLoggingSeverity()
,
setLoggingSeverity(int)
public static final int LOGGING_TEXT
Type: String
getLoggingText()
,
setLoggingText(java.lang.String)
public static final java.lang.String LOGGING_TEXT_MESSAGE
LOGGING_TEXT
public static final java.lang.String LOGGING_TEXT_SECLVL
LOGGING_TEXT
public static final java.lang.String LOGGING_TEXT_NO_LIST
LOGGING_TEXT
public static final int MAX_CPU_TIME
Read-only: true
Type: Integer
public static final int MAX_TEMP_STORAGE
Read-only: true
Type: Integer
public static final int MAX_TEMP_STORAGE_LARGE
Read-only: true
Type: Long
public static final int MAX_THREADS
Read-only: true
Type: Integer
public static final int MEMORY_POOL
MEMORY_POOL_MACHINE
MEMORY_POOL_BASE
MEMORY_POOL_INTERACTIVE
MEMORY_POOL_SPOOL
Read-only: true
Type: String
Only valid on V5R1 systems and higher.
public static final java.lang.String MEMORY_POOL_MACHINE
MEMORY_POOL
public static final java.lang.String MEMORY_POOL_BASE
MEMORY_POOL
public static final java.lang.String MEMORY_POOL_INTERACTIVE
MEMORY_POOL
public static final java.lang.String MEMORY_POOL_SPOOL
MEMORY_POOL
public static final int MESSAGE_REPLY
Read-only: true
Type: String
Only valid on V5R1 systems and higher.
public static final java.lang.String MESSAGE_REPLY_NOT_IN_MESSAGE_WAIT
MESSAGE_REPLY
public static final java.lang.String MESSAGE_REPLY_WAITING
MESSAGE_REPLY
public static final java.lang.String MESSAGE_REPLY_NOT_WAITING
MESSAGE_REPLY
public static final int MESSAGE_QUEUE_ACTION
MESSAGE_QUEUE_ACTION_NO_WRAP
MESSAGE_QUEUE_ACTION_WRAP
MESSAGE_QUEUE_ACTION_PRINT_WRAP
MESSAGE_QUEUE_ACTION_SYSTEM_VALUE
Type: String
getJobMessageQueueFullAction()
,
setJobMessageQueueFullAction(java.lang.String)
public static final java.lang.String MESSAGE_QUEUE_ACTION_NO_WRAP
MESSAGE_QUEUE_ACTION
public static final java.lang.String MESSAGE_QUEUE_ACTION_WRAP
MESSAGE_QUEUE_ACTION
public static final java.lang.String MESSAGE_QUEUE_ACTION_PRINT_WRAP
MESSAGE_QUEUE_ACTION
public static final java.lang.String MESSAGE_QUEUE_ACTION_SYSTEM_VALUE
MESSAGE_QUEUE_ACTION
public static final int MESSAGE_QUEUE_MAX_SIZE
Read-only: true
Type: Integer
getJobMessageQueueMaximumSize()
public static final int MODE
Read-only: true
Type: String
public static final int NETWORK_ID
Read-only: true
Type: String
UNIT_OF_WORK_ID
,
getWorkIDUnit()
public static final int OUTPUT_QUEUE
Type: String
getOutputQueue()
,
setOutputQueue(java.lang.String)
public static final java.lang.String OUTPUT_QUEUE_DEVICE
OUTPUT_QUEUE
public static final java.lang.String OUTPUT_QUEUE_WORK_STATION
OUTPUT_QUEUE
public static final java.lang.String OUTPUT_QUEUE_INITIAL_USER
OUTPUT_QUEUE
public static final int OUTPUT_QUEUE_PRIORITY
Type: String
getOutputQueuePriority()
,
setOutputQueuePriority(int)
public static final int PRINT_KEY_FORMAT
PRINT_KEY_FORMAT_NONE
PRINT_KEY_FORMAT_BORDER
PRINT_KEY_FORMAT_HEADER
PRINT_KEY_FORMAT_ALL
PRINT_KEY_FORMAT_SYSTEM_VALUE
Type: String
getPrintKeyFormat()
,
setPrintKeyFormat(java.lang.String)
public static final java.lang.String PRINT_KEY_FORMAT_NONE
PRINT_KEY_FORMAT
public static final java.lang.String PRINT_KEY_FORMAT_BORDER
PRINT_KEY_FORMAT
public static final java.lang.String PRINT_KEY_FORMAT_HEADER
PRINT_KEY_FORMAT
public static final java.lang.String PRINT_KEY_FORMAT_ALL
PRINT_KEY_FORMAT
public static final java.lang.String PRINT_KEY_FORMAT_SYSTEM_VALUE
PRINT_KEY_FORMAT
public static final int PRINT_TEXT
Type: String
getPrintText()
,
setPrintText(java.lang.String)
public static final java.lang.String PRINT_TEXT_SYSTEM_VALUE
PRINT_TEXT
public static final java.lang.String PRINT_TEXT_BLANK
PRINT_TEXT
public static final int PRINTER_DEVICE_NAME
Type: String
getPrinterDeviceName()
,
setPrinterDeviceName(java.lang.String)
public static final java.lang.String PRINTER_DEVICE_NAME_SYSTEM_VALUE
PRINTER_DEVICE_NAME
public static final java.lang.String PRINTER_DEVICE_NAME_WORK_STATION
PRINTER_DEVICE_NAME
public static final java.lang.String PRINTER_DEVICE_NAME_INITIAL_USER
PRINTER_DEVICE_NAME
public static final int PRODUCT_LIBRARIES
Read-only: true
Type: String
Can be loaded by JobList: false
getNumberOfProductLibraries()
,
getProductLibraries()
public static final int PRODUCT_RETURN_CODE
Read-only: true
Type: Integer
public static final int PROGRAM_RETURN_CODE
Read-only: true
Type: Integer
public static final int ROUTING_DATA
Read-only: true
Type: String
getRoutingData()
public static final int RUN_PRIORITY
Type: Integer
getRunPriority()
,
setRunPriority(int)
public static final int SCHEDULE_DATE
setValue()
are:
SCHEDULE_DATE_CURRENT
SCHEDULE_DATE_MONTH_START
SCHEDULE_DATE_MONTH_END
SCHEDULE_DATE_MONDAY
SCHEDULE_DATE_TUESDAY
SCHEDULE_DATE_WEDNESDAY
SCHEDULE_DATE_THURSDAY
SCHEDULE_DATE_FRIDAY
SCHEDULE_DATE_SATURDAY
SCHEDULE_DATE_SUNDAY
Type: String on setValue(); java.util.Date on getValue().
getScheduleDate()
,
setScheduleDate(java.util.Date)
public static final java.lang.String SCHEDULE_DATE_CURRENT
SCHEDULE_DATE
public static final java.lang.String SCHEDULE_DATE_MONTH_START
SCHEDULE_DATE
public static final java.lang.String SCHEDULE_DATE_MONTH_END
SCHEDULE_DATE
public static final java.lang.String SCHEDULE_DATE_MONDAY
SCHEDULE_DATE
public static final java.lang.String SCHEDULE_DATE_TUESDAY
SCHEDULE_DATE
public static final java.lang.String SCHEDULE_DATE_WEDNESDAY
SCHEDULE_DATE
public static final java.lang.String SCHEDULE_DATE_THURSDAY
SCHEDULE_DATE
public static final java.lang.String SCHEDULE_DATE_FRIDAY
SCHEDULE_DATE
public static final java.lang.String SCHEDULE_DATE_SATURDAY
SCHEDULE_DATE
public static final java.lang.String SCHEDULE_DATE_SUNDAY
SCHEDULE_DATE
public static final int SCHEDULE_TIME
setValue()
are:
SCHEDULE_TIME_CURRENT
Type: String on setValue(); java.util.Date on getValue().
getScheduleDate()
,
setScheduleTime(java.util.Date)
public static final java.lang.String SCHEDULE_TIME_CURRENT
SCHEDULE_TIME
public static final int SEQUENCE_NUMBER
Read-only: true
Type: String
UNIT_OF_WORK_ID
,
getWorkIDUnit()
public static final int SERVER_TYPE
Type: String
public static final int SIGNED_ON_JOB
Read-only: true
Type: String
getSignedOnJob()
public static final java.lang.String SIGNED_ON_JOB_TRUE
SIGNED_ON_JOB
public static final java.lang.String SIGNED_ON_JOB_FALSE
SIGNED_ON_JOB
public static final int SORT_SEQUENCE_TABLE
SORT_SEQUENCE_TABLE_NONE
SORT_SEQUENCE_TABLE_LANGUAGE_SHARED_WEIGHT
SORT_SEQUENCE_TABLE_LANGUAGE_UNIQUE_WEIGHT
SORT_SEQUENCE_TABLE_SYSTEM_VALUE
SORT_SEQUENCE_TABLE_INITIAL_USER
Type: String
getSortSequenceTable()
,
setSortSequenceTable(java.lang.String)
public static final java.lang.String SORT_SEQUENCE_TABLE_NONE
SORT_SEQUENCE_TABLE
public static final java.lang.String SORT_SEQUENCE_TABLE_LANGUAGE_SHARED_WEIGHT
SORT_SEQUENCE_TABLE
public static final java.lang.String SORT_SEQUENCE_TABLE_LANGUAGE_UNIQUE_WEIGHT
SORT_SEQUENCE_TABLE
public static final java.lang.String SORT_SEQUENCE_TABLE_SYSTEM_VALUE
SORT_SEQUENCE_TABLE
public static final java.lang.String SORT_SEQUENCE_TABLE_INITIAL_USER
SORT_SEQUENCE_TABLE
public static final int SPECIAL_ENVIRONMENT
Read-only: true
Type: String
public static final java.lang.String SPECIAL_ENVIRONMENT_NONE
SPECIAL_ENVIRONMENT
public static final java.lang.String SPECIAL_ENVIRONMENT_SYSTEM_36
SPECIAL_ENVIRONMENT
public static final java.lang.String SPECIAL_ENVIRONMENT_NOT_ACTIVE
SPECIAL_ENVIRONMENT
public static final int STATUS_MESSAGE_HANDLING
STATUS_MESSAGE_HANDLING_NONE
STATUS_MESSAGE_HANDLING_NORMAL
STATUS_MESSAGE_HANDLING_SYSTEM_VALUE
STATUS_MESSAGE_HANDLING_INITIAL_USER
Type: String
getStatusMessageHandling()
,
setStatusMessageHandling(java.lang.String)
public static final java.lang.String STATUS_MESSAGE_HANDLING_NONE
STATUS_MESSAGE_HANDLING
public static final java.lang.String STATUS_MESSAGE_HANDLING_NORMAL
STATUS_MESSAGE_HANDLING
public static final java.lang.String STATUS_MESSAGE_HANDLING_SYSTEM_VALUE
STATUS_MESSAGE_HANDLING
public static final java.lang.String STATUS_MESSAGE_HANDLING_INITIAL_USER
STATUS_MESSAGE_HANDLING
public static final int SUBMITTED_BY_JOB_NAME
Read-only: true
Type: String
public static final int SUBMITTED_BY_JOB_NUMBER
Read-only: true
Type: String
Can be loaded by JobList: false
public static final int SUBMITTED_BY_USER
Read-only: true
Type: String
Can be loaded by JobList: false
public static final int SUBSYSTEM
Read-only: true
Type: String
getSubsystem()
public static final int SYSTEM_POOL_ID
Read-only: true
Type: Integer
CURRENT_SYSTEM_POOL_ID
,
getPoolIdentifier()
public static final int SYSTEM_LIBRARY_LIST
Read-only: true
Type: String
Can be loaded by JobList: false
getNumberOfLibrariesInSYSLIBL()
,
getSystemLibraryList()
public static final int TEMP_STORAGE_USED
Read-only: true
Type: Integer
public static final int TEMP_STORAGE_USED_LARGE
Read-only: true
Type: Long
public static final int THREAD_COUNT
Read-only: true
Type: Integer
public static final int TIME_SEPARATOR
TIME_SEPARATOR_SYSTEM_VALUE
TIME_SEPARATOR_COLON
TIME_SEPARATOR_PERIOD
TIME_SEPARATOR_BLANK
TIME_SEPARATOR_COMMA
Type: String
getTimeSeparator()
,
setTimeSeparator(java.lang.String)
public static final java.lang.String TIME_SEPARATOR_SYSTEM_VALUE
TIME_SEPARATOR
public static final java.lang.String TIME_SEPARATOR_COLON
TIME_SEPARATOR
public static final java.lang.String TIME_SEPARATOR_PERIOD
TIME_SEPARATOR
public static final java.lang.String TIME_SEPARATOR_BLANK
TIME_SEPARATOR
public static final java.lang.String TIME_SEPARATOR_COMMA
TIME_SEPARATOR
public static final int TIME_SLICE
Type: Integer
getTimeSlice()
,
setTimeSlice(int)
public static final int TIME_SLICE_END_POOL
Type: String
getTimeSliceEndPool()
,
setTimeSliceEndPool(java.lang.String)
public static final java.lang.String TIME_SLICE_END_POOL_NONE
TIME_SLICE_END_POOL
public static final java.lang.String TIME_SLICE_END_POOL_BASE
TIME_SLICE_END_POOL
public static final java.lang.String TIME_SLICE_END_POOL_SYSTEM_VALUE
TIME_SLICE_END_POOL
public static final int TOTAL_RESPONSE_TIME
Read-only: true
Type: Integer
getTotalResponseTime()
public static final int UNIT_OF_WORK_ID
Read-only: true
Type: String
getWorkIDUnit()
public static final int USER_LIBRARY_LIST
Read-only: true
Type: String
Can be loaded by JobList: false
getNumberOfLibrariesInUSRLIBL()
,
getUserLibraryList()
public static final int USER_NAME
USER_NAME_BLANK
Type: String
CURRENT_USER
,
getUser()
,
setUser(java.lang.String)
public static final java.lang.String USER_NAME_BLANK
USER_NAME
public 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.setName(java.lang.String)
,
setNumber(java.lang.String)
,
setUser(java.lang.String)
public Job(AS400 system, java.lang.String jobName, java.lang.String userName, java.lang.String jobNumber)
system
- The system.name
- The job name. Specify JOB_NAME_CURRENT to indicate the job that this
program is running in.user
- The user name. This must be USER_NAME_BLANK if the job name is JOB_NAME_CURRENT.number
- The job number. This must be JOB_NUMBER_BLANK if job name is JOB_NAME_CURRENT.public Job(AS400 system, java.lang.String internalJobID)
system
- The system.internalJobID
- The internal job identifier.Method Detail |
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- The listener.public void addVetoableChangeListener(java.beans.VetoableChangeListener listener)
listener
- The listener.public void commitChanges() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.java.io.UnsupportedEncodingException
- If the character encoding is not supported.public void end(int delay) throws AS400Exception, AS400SecurityException, ErrorCompletingRequestException, java.io.IOException, java.lang.InterruptedException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
delay
- The delay time in seconds.AS400Exception
- If the system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.java.io.UnsupportedEncodingException
- If the character encoding is not supported.hold(boolean)
,
release()
public int getAuxiliaryIORequests() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.AUXILIARY_IO_REQUESTS
public java.lang.String getBreakMessageHandling() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
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.
BREAK_MESSAGE_HANDLING_NOTIFY
- The system notifies the job's message queue when a message
arrives.
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.BREAK_MESSAGE_HANDLING
public boolean getCacheChanges()
commitChanges()
,
getValue(int)
,
setCacheChanges(boolean)
,
setValue(int, java.lang.Object)
public int getCodedCharacterSetID() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.CCSID
public java.lang.String getCompletionStatus() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
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.
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.COMPLETION_STATUS
public java.lang.String getCountryID() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.COUNTRY_ID
public int getCPUUsed() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.CPU_TIME_USED
public java.lang.String getCurrentLibrary() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.CURRENT_LIBRARY
public boolean getCurrentLibraryExistence() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.CURRENT_LIBRARY_EXISTENCE
public java.util.Date getDate() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.DATE_ENTERED_SYSTEM
public java.lang.String getDateFormat() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
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).
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.DATE_FORMAT
public java.lang.String getDateSeparator() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.DATE_SEPARATOR
public java.lang.String getDDMConversationHandling() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
KEEP_DDM_CONNECTIONS_ACTIVE_KEEP
- The system keeps DDM connections active when there
are no users.
KEEP_DDM_CONNECTIONS_ACTIVE_DROP
- The system ends a DDM connection when there are no
users.
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.KEEP_DDM_CONNECTIONS_ACTIVE
public java.lang.String getDecimalFormat() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
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_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 character (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.
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.
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.DECIMAL_FORMAT
public int getDefaultCodedCharacterSetIdentifier() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.DEFAULT_CCSID
public int getDefaultWait() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.DEFAULT_WAIT_TIME
public java.lang.String getDeviceRecoveryAction() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
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
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 workstation 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.
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.DEVICE_RECOVERY_ACTION
public int getEndSeverity() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.END_SEVERITY
public java.lang.String getFunctionName() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.FUNCTION_NAME
public java.lang.String getFunctionType() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
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.
FUNCTION_TYPE_DELAY
- The initial thread of the job is processing
a Delay Job (DLYJOB) command.
FUNCTION_TYPE_GROUP
- The Transfer Group Job (TFRGRPJOB) command
suspended the job.
FUNCTION_TYPE_INDEX
- The initial thread of the job is rebuilding
an index (access path).
FUNCTION_TYPE_IO
- The job is a subsystem monitor that is performing
input/output (I/O) operations to a work station.
FUNCTION_TYPE_LOG
- The system logs history information in a database
file.
FUNCTION_TYPE_MENU
- The initial thread of the job is currently
at a system menu.
FUNCTION_TYPE_MRT
- The job is a multiple requester terminal (MRT)
job is 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
.
FUNCTION_TYPE_PROCEDURE
- The initial thread of the job is running
a procedure.
FUNCTION_TYPE_PROGRAM
- The initial thread of the job is running
a program.
FUNCTION_TYPE_SPECIAL
- The function type is special.
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.FUNCTION_TYPE
public java.lang.String getInquiryMessageReply() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
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.
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.INQUIRY_MESSAGE_REPLY
public int getInteractiveTransactions() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.INTERACTIVE_TRANSACTIONS
public java.lang.String getInternalJobID()
public java.lang.String getJobAccountingCode() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.ACCOUNTING_CODE
public java.util.Date getJobActiveDate() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.DATE_STARTED
public java.util.Date getJobDate() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.JOB_DATE
public java.lang.String getJobDescription() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.JOB_DESCRIPTION
,
QSYSObjectPathName
public java.util.Date getJobEndedDate() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.DATE_ENDED
public java.util.Date getJobEnterSystemDate() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.DATE_ENTERED_SYSTEM
public JobLog getJobLog()
public java.lang.String getJobMessageQueueFullAction() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
MESSAGE_QUEUE_ACTION_NO_WRAP
- Do not wrap. This action causes the job to end.
MESSAGE_QUEUE_ACTION_WRAP
- Wrap to the beginning and start filling again.
MESSAGE_QUEUE_ACTION_PRINT_WRAP
- Wrap the message queue and print the
messages that are being overlaid because of the wrapping.
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.MESSAGE_QUEUE_ACTION
public int getJobMessageQueueMaximumSize() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.MESSAGE_QUEUE_MAX_SIZE
public java.util.Date getJobPutOnJobQueueDate() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.JOB_QUEUE_DATE
public java.util.Date getScheduleDate() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.SCHEDULE_DATE
public java.lang.String getJobStatusInJobQueue() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
JOB_QUEUE_STATUS_BLANK
- The job is not on a job queue.
JOB_QUEUE_STATUS_SCHEDULED
- The job will run as scheduled.
JOB_QUEUE_STATUS_HELD
- The job is being held on the job queue.
JOB_QUEUE_STATUS_READY
- The job is ready to be selected.
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.JOB_QUEUE_STATUS
public java.lang.String getJobSwitches() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.JOB_SWITCHES
public java.lang.String getLanguageID() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.LANGUAGE_ID
public java.lang.String getLoggingCLPrograms() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
LOG_CL_PROGRAMS_YES
and
LOG_CL_PROGRAMS_NO
.AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.LOG_CL_PROGRAMS
public int getLoggingLevel() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.LOGGING_LEVEL
public int getLoggingSeverity() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.LOGGING_SEVERITY
public java.lang.String getLoggingText() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
LOGGING_TEXT_MESSAGE
- Only the message is written to the job log.
LOGGING_TEXT_SECLVL
- Both the message and the message help for the
error message are written to the job log.
LOGGING_TEXT_NO_LIST
- If the job ends normally, there is no job log.
If the job ends abnormally, there is a job log. The messages appearing in the
job log contain both the message and the message help.
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.LOGGING_TEXT
public java.lang.String getModeName() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.MODE
public java.lang.String getName()
public java.lang.String getNumber()
public int getNumberOfLibrariesInSYSLIBL() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.SYSTEM_LIBRARY_LIST
public int getNumberOfLibrariesInUSRLIBL() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.USER_LIBRARY_LIST
public int getNumberOfProductLibraries() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.PRODUCT_LIBRARIES
public java.lang.String getOutputQueue() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.OUTPUT_QUEUE
,
QSYSObjectPathName
public int getOutputQueuePriority() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.OUTPUT_QUEUE_PRIORITY
public int getPoolIdentifier() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.SYSTEM_POOL_ID
public java.lang.String getPrinterDeviceName() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.PRINTER_DEVICE_NAME
public java.lang.String getPrintKeyFormat() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
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.
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.PRINT_KEY_FORMAT
public java.lang.String getPrintText() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.PRINT_TEXT
public java.lang.String[] getProductLibraries() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.PRODUCT_LIBRARIES
public boolean getPurge() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.ELIGIBLE_FOR_PURGE
public java.lang.String getQueue() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.JOB_QUEUE
,
QSYSObjectPathName
public int getQueuePriority() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.JOB_QUEUE_PRIORITY
public java.lang.String getRoutingData() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.ROUTING_DATA
public int getRunPriority() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.RUN_PRIORITY
public boolean getSignedOnJob() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.SIGNED_ON_JOB
public java.lang.String getSortSequenceTable() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.SORT_SEQUENCE_TABLE
,
QSYSObjectPathName
public java.lang.String getStatus() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
JOB_STATUS_ACTIVE
- The job is active.
JOB_STATUS_JOBQ
- The job is currently on a job queue.
JOB_STATUS_OUTQ
- The job has completed running, but still has output
on an output queue.
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.JOB_STATUS
public java.lang.String getStatusMessageHandling() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
STATUS_MESSAGE_HANDLING_NONE
-
This job does not display status messages.
STATUS_MESSAGE_HANDLING_NORMAL
-
This job displays status messages.
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.STATUS_MESSAGE_HANDLING
public java.lang.String getSubsystem() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.SUBSYSTEM
,
QSYSObjectPathName
public java.lang.String getSubtype() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
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
- Alternate spool user.
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.JOB_SUBTYPE
public AS400 getSystem()
public java.lang.String[] getSystemLibraryList() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.SYSTEM_LIBRARY_LIST
public java.lang.String getTimeSeparator() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.TIME_SEPARATOR
public int getTimeSlice() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.TIME_SLICE
public java.lang.String getTimeSliceEndPool() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
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.
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.TIME_SLICE_END_POOL
public int getTotalResponseTime() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.TOTAL_RESPONSE_TIME
public java.lang.String getType() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
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.
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.JOB_TYPE
public java.lang.String getUser()
public java.lang.String[] getUserLibraryList() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.USER_LIBRARY_LIST
public java.lang.Object getValue(int attribute) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
loadInformation()
to refresh the attributes from the system.attribute
- The job attribute.loadInformation()
,
setValue(int, java.lang.Object)
public java.lang.String getWorkIDUnit() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.LOCATION_NAME
,
NETWORK_ID
,
INSTANCE
,
SEQUENCE_NUMBER
public void hold(boolean holdSpooledFiles) throws AS400Exception, AS400SecurityException, ErrorCompletingRequestException, java.io.IOException, java.lang.InterruptedException
holdSpooledFiles
- true to hold this job's spooled files; false otherwise.end(int)
,
release()
public void loadInformation()
commitChanges()
public void release() throws AS400Exception, AS400SecurityException, ErrorCompletingRequestException, java.io.IOException, java.lang.InterruptedException
end(int)
,
hold(boolean)
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- The listener.addPropertyChangeListener(java.beans.PropertyChangeListener)
public void removeVetoableChangeListener(java.beans.VetoableChangeListener listener)
listener
- The listener.addVetoableChangeListener(java.beans.VetoableChangeListener)
public void setBreakMessageHandling(java.lang.String breakMessageHandling) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
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.
BREAK_MESSAGE_HANDLING_NOTIFY
- The system notifies the job's message queue when a message
arrives.
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.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 AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
codedCharacterSetID
- The coded character set identifier (CCSID). The
following special values can be used:
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.
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.CCSID
public void setCountryID(java.lang.String countryID) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
countryID
- The country ID. The following special values can be used:
COUNTRY_ID_SYSTEM_VALUE
- The
system value QCNTRYID is used.
COUNTRY_ID_INITIAL_USER
- The
country ID specified in the user profile under which this thread
was initially running is used.
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.COUNTRY_ID
public void setDateFormat(java.lang.String dateFormat) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
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).
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.DATE_FORMAT
public void setDateSeparator(java.lang.String dateSeparator) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
dateSeparator
- The value used to separate days, months, and years
when presenting a date. The following special value
can be used:
DATE_SEPARATOR_SYSTEM_VALUE
- The
system value QDATSEP is used.
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.DATE_SEPARATOR
public void setDDMConversationHandling(java.lang.String ddmConversationHandling) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
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.
KEEP_DDM_CONNECTIONS_ACTIVE_DROP
- The system ends a DDM connection when there are no
users.
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.KEEP_DDM_CONNECTIONS_ACTIVE
public void setDecimalFormat(java.lang.String decimalFormat) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
decimalFormat
- The decimal format used for this job. Possible values are:
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_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 character (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.
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_SYSTEM_VALUE
- The
system value QDECFMT is used.
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.DECIMAL_FORMAT
public void setDefaultWait(int defaultWait) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
defaultWait
- The default maximum time (in seconds) that a thread in the job
waits for a system instruction. The value -1 means there is no maximum.
The value 0 is not valid.AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.DEFAULT_WAIT_TIME
public void setDeviceRecoveryAction(java.lang.String deviceRecoveryAction) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
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_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 workstation 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.
DEVICE_RECOVERY_ACTION_SYSTEM_VALUE
- The
system value QDEVRCYACN is used.
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.DEVICE_RECOVERY_ACTION
public void setInquiryMessageReply(java.lang.String inquiryMessageReply) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
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.
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.INQUIRY_MESSAGE_REPLY
public void setInternalJobID(java.lang.String internalJobID) throws java.beans.PropertyVetoException
internalJobID
- The internal job identifier.java.beans.PropertyVetoException
- If the property change is vetoed.public void setJobAccountingCode(java.lang.String jobAccountingCode) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
jobAccountingCode
- The identifier assigned to the job by the
system to collect resource use information
for the job when job accounting is active.AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.ACCOUNTING_CODE
public void setJobDate(java.util.Date jobDate) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
jobDate
- The date to be used for the job.AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.JOB_DATE
public void setJobMessageQueueFullAction(java.lang.String jobMessageQueueFullAction) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
jobMessageQueueFullAction
- The action to take when the message queue is full. Possible values are:
MESSAGE_QUEUE_ACTION_NO_WRAP
- Do not wrap. This action causes the job to end.
MESSAGE_QUEUE_ACTION_WRAP
- Wrap to the beginning and start filling again.
MESSAGE_QUEUE_ACTION_PRINT_WRAP
- Wrap the message queue and print the
messages that are being overlaid because of the wrapping.
MESSAGE_QUEUE_ACTION_SYSTEM_VALUE
- The QJOBMSGQFL system value is used.
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.MESSAGE_QUEUE_ACTION
public void setJobSwitches(java.lang.String jobSwitches) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
jobSwitches
- The current setting of the job switches used by this job.AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.JOB_SWITCHES
public void setLanguageID(java.lang.String languageID) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
languageID
- The language identifier associated with this job.
The following special values can be used:
LANGUAGE_ID_SYSTEM_VALUE
- The
system value QLANGID is used.
LANGUAGE_ID_INITIAL_USER
- The
language identifier specified in the user profile in which this thread
was initially running is used.
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.LANGUAGE_ID
public void setLoggingCLPrograms(java.lang.String loggingCLPrograms) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
loggingCLPrograms
- The value indicating whether or not messages are logged for
CL programs. Possible values are: LOG_CL_PROGRAMS_YES
and
LOG_CL_PROGRAMS_NO
.AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.LOG_CL_PROGRAMS
public void setLoggingLevel(int loggingLevel) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
loggingLevel
- The type of information that is logged. Possible values are:
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.LOGGING_LEVEL
public void setLoggingSeverity(int loggingSeverity) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
loggingSeverity
- The minimum severity level that causes error messages to be logged
in the job log.AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.LOGGING_SEVERITY
public void setLoggingText(java.lang.String loggingText) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
loggingText
- The level of message text that is written in the job log
or displayed to the user. Possible values are:
LOGGING_TEXT_MESSAGE
- Only the message is written to the job log.
LOGGING_TEXT_SECLVL
- Both the message and the message help for the
error message are written to the job log.
LOGGING_TEXT_NO_LIST
- If the job ends normally, there is no job log.
If the job ends abnormally, there is a job log. The messages appearing in the
job log contain both the message and the message help.
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.LOGGING_TEXT
public void setName(java.lang.String name) throws java.beans.PropertyVetoException
name
- The job name. Specify JOB_NAME_CURRENT to indicate the job this
program running in, or JOB_NAME_INTERNAL to indicate that the job
is specified using the internal job identifier.java.beans.PropertyVetoException
- If the property change is vetoed.public void setNumber(java.lang.String number) throws java.beans.PropertyVetoException
number
- The job number. This must be JOB_NUMBER_BLANK if the job name is JOB_NAME_CURRENT.java.beans.PropertyVetoException
- If the property change is vetoed.public void setOutputQueue(java.lang.String outputQueue) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
outputQueue
- The fully qualified integrated integrated file system path name of
the default output queue that is used for
spooled output produced by this job.AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.OUTPUT_QUEUE
,
QSYSObjectPathName
public void setOutputQueuePriority(int outputQueuePriority) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
outputQueuePriority
- The output priority for spooled output files that this job
produces. The highest priority is 0 and the lowest is 9.AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.OUTPUT_QUEUE_PRIORITY
public void setPrinterDeviceName(java.lang.String printerDeviceName) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
printerDeviceName
- The printer device name used for printing output
from this job. The following special values can be used:
PRINTER_DEVICE_NAME_SYSTEM_VALUE
- The
system value QPRTDEV is used.
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 in which this thread
was initially running is used.
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.PRINTER_DEVICE_NAME
public void setPrintKeyFormat(java.lang.String printKeyFormat) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
printKeyFormat
- Whether border and header information is provided when
the Print key is pressed. Possible values are:
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.
PRINT_KEY_FORMAT_SYSTEM_VALUE
- The
system value QPRTKEYFMT is used.
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.PRINT_KEY_FORMAT
public void setPrintText(java.lang.String printText) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
printText
- The line of text, if any, that is printed at the
bottom of each page of printed output for the job.
The following special value can be used:
PRINT_TEXT_SYSTEM_VALUE
- The
system value QPRTTXT is used.
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.PRINT_TEXT
public void setPurge(boolean purge) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
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 it is
beginning a long wait, false otherwise.AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.ELIGIBLE_FOR_PURGE
public void setQueue(java.lang.String jobQueue) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
jobQueue
- The fully qualified integrated file system path name
of the job queue.AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.JOB_QUEUE
,
QSYSObjectPathName
public void setQueuePriority(int queuePriority) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
queuePriority
- The scheduling priority of the job compared to other jobs
on the same job queue. The highest priority is 0 and the
lowest is 9.AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.JOB_QUEUE_PRIORITY
public void setRunPriority(int runPriority) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
runPriority
- The priority at which the job is currently running,
relative to other jobs on the system. The run priority
ranges from 1 (highest priority) to 99 (lowest priority).AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.RUN_PRIORITY
public void setScheduleDate(java.util.Date scheduleDate) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
scheduleDate
- The date and time the job is scheduled to become active.AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.SCHEDULE_DATE
public void setScheduleDate(java.lang.String scheduleDate) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
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.AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.SCHEDULE_DATE
public void setScheduleTime(java.util.Date scheduleTime) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
scheduleDate
- The date and time the job is scheduled to become active.AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.SCHEDULE_DATE
public void setScheduleTime(java.lang.String scheduleTime) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
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.AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.SCHEDULE_DATE
public void setSortSequenceTable(java.lang.String sortSequenceTable) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
sortSequenceTable
- The fully qualified integrated file system path name
of the sort sequence table.AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.SORT_SEQUENCE_TABLE
,
QSYSObjectPathName
public void setStatusMessageHandling(java.lang.String statusMessageHandling) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
statusMessageHandling
- The value which indicates whether status messages are displayed for
this job. Possible values are:
STATUS_MESSAGE_HANDLING_NONE
-
This job does not display status messages.
STATUS_MESSAGE_HANDLING_NORMAL
-
This job displays status messages.
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.
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.STATUS_MESSAGE_HANDLING
public void setSystem(AS400 system) throws java.beans.PropertyVetoException
system
- The system.java.beans.PropertyVetoException
- If the property change is vetoed.public void setTimeSeparator(java.lang.String timeSeparator) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
timeSeparator
- The value used to separate hours, minutes, and seconds
when presenting a time. The following special value
can be used:
TIME_SEPARATOR_SYSTEM_VALUE
- The
system value QTIMSEP is used.
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.TIME_SEPARATOR
public void setTimeSlice(int timeSlice) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
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.AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.TIME_SLICE
public void setTimeSliceEndPool(java.lang.String timeSliceEndPool) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
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_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.
AS400Exception
- If the AS/400 system returns an error message.AS400SecurityException
- If a security or authority error occurs.ConnectionDroppedException
- If the connection is dropped unexpectedly.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.java.io.UnsupportedEncodingException
- If the character encoding is not supported.TIME_SLICE_END_POOL
public void setUser(java.lang.String user) throws java.beans.PropertyVetoException
user
- The user name. This must be USER_NAME_BLANK if the job name is JOB_NAME_CURRENT.java.beans.PropertyVetoException
- If the property change is vetoed.public void setValue(int attribute, java.lang.Object value) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
commitChanges()
to send the uncommitted values to the system.attribute
- The job attribute to change.value
- The new value of the attribute.commitChanges()
,
getValue(int)
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |