com.ibm.as400.access
Class Job

java.lang.Object
  |
  +--com.ibm.as400.access.Job
All Implemented Interfaces:
java.io.Serializable

public class Job
extends java.lang.Object
implements java.io.Serializable

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();

See Also:
JobList, CommandCall.getServerJob(), ProgramCall.getServerJob(), Serialized Form

Field 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

ACCOUNTING_CODE

public static final 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. Special values include:

Type: String

See Also:
getJobAccountingCode(), setJobAccountingCode(java.lang.String)

ACCOUNTING_CODE_BLANK

public static final java.lang.String ACCOUNTING_CODE_BLANK
Constant indicating the accounting code is changed to all blanks.
See Also:
ACCOUNTING_CODE

ACTIVE_JOB_STATUS

public static final int ACTIVE_JOB_STATUS
Job attribute representing the active status of the initial thread of a job. Possible values are:

Read-only: true

Type: String


ACTIVE_JOB_STATUS_NONE

public static final java.lang.String ACTIVE_JOB_STATUS_NONE
Constant indicating that a job is either in transition or not active.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_BIN_SYNCH_DEVICE_AND_ACTIVE

public static final 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.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_BIN_SYNCH_DEVICE

public static final 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.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_COMM_DEVICE_AND_ACTIVE

public static final 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.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_COMM_DEVICE

public static final 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.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_CHECKPOINT

public static final 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.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_CONDITION

public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_CONDITION
Constant indicating that a job is waiting on a handle-based condition.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_CPI_COMM

public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_CPI_COMM
Constant indicating that a job is waiting for the completion of a CPI communications call.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_DELAYED

public static final 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. The FUNCTION_NAME attribute shows either the number of seconds the job is to delay (999999), or the specific time when the job is to resume running.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_DEQUEUE_AND_ACTIVE

public static final 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.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_DEQUEUE

public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_DEQUEUE
Constant indicating that a job is waiting for the completion of a dequeue operation.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_DISKETTE_AND_ACTIVE

public static final 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.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_DISKETTE

public static final 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.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_DELAY

public static final 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. The FUNCTION_NAME attribute shows either the number of seconds the job is to delay, or the specific time when the job is to resume running.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_DISCONNECTED

public static final java.lang.String ACTIVE_JOB_STATUS_DISCONNECTED
Constant indicating that a job was disconnected form a work station display.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_DISPLAY_AND_ACTIVE

public static final 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.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_DISPLAY

public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_DISPLAY
Constant indicating that a job is waiting for input from a work station display.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_ENDED

public static final 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.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_DATABASE_EOF_AND_ACTIVE

public static final 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.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_DATABASE_EOF

public static final 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.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_ENDING

public static final 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.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_EVENT

public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_EVENT
Constant indicating that a job is waiting for an event. For example, QLUS and SCPF generally wait for work by waiting for an event.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_SUSPENDED

public static final java.lang.String ACTIVE_JOB_STATUS_SUSPENDED
Constant indicating that a job is suspended by a Transfer Group Job (TFRGRPJOB) command.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_HELD

public static final java.lang.String ACTIVE_JOB_STATUS_HELD
Constant indicating that a job is held.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_HELD_THREAD

public static final java.lang.String ACTIVE_JOB_STATUS_HELD_THREAD
Constant indicating that a job is held due to a suspended thread.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_ICF_FILE_AND_ACTIVE

public static final 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.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_ICF_FILE

public static final 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.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_INELIGIBLE

public static final java.lang.String ACTIVE_JOB_STATUS_INELIGIBLE
Constant indicating that a job is ineligible and not currently in a pool activity level.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_JAVA_AND_ACTIVE

public static final 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.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_JAVA

public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_JAVA
Constant indicating that a job is waiting for the completion of a Java program.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_LOCK

public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_LOCK
Constant indicating that a job is waiting for a lock.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_MULTIPLE_FILES_AND_ACTIVE

public static final 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.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_MULTIPLE_FILES

public static final 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.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_MESSAGE

public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_MESSAGE
Constant indicating that a job is waiting for a message from a message queue.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_MUTEX

public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_MUTEX
Constant indicating that a job is waiting for a mutex. A mutex is a synchronization function that is used to allow multiple jobs or threads to serialize their access to shared data.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_MIXED_DEVICE_FILE

public static final 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.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_OPTICAL_DEVICE_AND_ACTIVE

public static final 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.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_OPTICAL_DEVICE

public static final 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.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_OSI

public static final 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.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_PRINT_AND_ACTIVE

public static final 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.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_PRINT

public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_PRINT
Constant indicating that a job is waiting for the completion of printer output.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_PRESTART

public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_PRESTART
Constant indicating that a prestart job is waiting for a program start request.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_RUNNING

public static final java.lang.String ACTIVE_JOB_STATUS_RUNNING
Constant indicating that a job is currently running in a pool activity level.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_SELECTION

public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_SELECTION
Constant indicating that a job is waiting for the completion of a selection.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_SEMAPHORE

public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_SEMAPHORE
Constant indicating that a job is waiting for a semaphore. A semaphore is a synchronization function that is used to allow multiple jobs or threads to serialize their access to shared data.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_STOPPED

public static final java.lang.String ACTIVE_JOB_STATUS_STOPPED
Constant indicating that a job has stopped as the result of a signal.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_SIGNAL

public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_SIGNAL
Constant indicating that a job is waiting for a signal.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_SUSPENDED_SYSTEM_REQUEST

public static final java.lang.String ACTIVE_JOB_STATUS_SUSPENDED_SYSTEM_REQUEST
Constant indicating that a job is the suspended half of a system request job pair.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_SAVE_FILE_AND_ACTIVE

public static final 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.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_SAVE_FILE

public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_SAVE_FILE
Constant indicating that a job is waiting for the completion of a save file operation.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_TAPE_DEVICE_AND_ACTIVE

public static final 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.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_TAPE_DEVICE

public static final 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.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_THREAD

public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_THREAD
Constant indicating that a job is waiting for another thread to complete an operation.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_TIME_INTERVAL_AND_ACTIVE

public static final 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.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_WAIT_TIME_INTERVAL

public static final java.lang.String ACTIVE_JOB_STATUS_WAIT_TIME_INTERVAL
Constant indicating that a job is waiting for a time interval to end.
See Also:
ACTIVE_JOB_STATUS

ACTIVE_JOB_STATUS_FOR_JOBS_ENDING

public static final 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. For example, the active job status would be ACTIVE_JOB_STATUS_ENDING, but the job could be waiting on a lock that could keep the job from ending. This field would then be ACTIVE_JOB_STATUS_WAIT_LOCK. See ACTIVE_JOB_STATUS for a list of the possible values.

Read-only: true

Type: String

Only valid on V5R1 systems and higher.

See Also:
ACTIVE_JOB_STATUS

ALLOW_MULTIPLE_THREADS

public static final int ALLOW_MULTIPLE_THREADS
Job attribute representing whether a job allows multiple threads. This attribute does not prevent OS/400 from creating system threads in the job.

Read-only: true

Type: Boolean

Only valid on V5R1 systems and higher.


AUXILIARY_IO_REQUESTS

public static final int AUXILIARY_IO_REQUESTS
Job attribute representing the number of auxiliary I/O requests performed by a job across all routing steps. This includes both database and nondatabase paging. If the number of requests is greater than or equal to 2,147,483,647, a value of -1 is returned. Use the AUXILIARY_IO_REQUESTS_LARGE attribute to retrieve values that are greater than or equal to 2,147,483,647.

Read-only: true

Type: Integer

See Also:
getAuxiliaryIORequests()

AUXILIARY_IO_REQUESTS_LARGE

public static final int AUXILIARY_IO_REQUESTS_LARGE
Job attribute representing the number of auxiliary I/O requests performed by a job across all routing steps. This includes both database and nondatabase paging.

Read-only: true

Type: Long

Only valid on V5R1 systems and higher.

See Also:
getAuxiliaryIORequests()

BREAK_MESSAGE_HANDLING

public static final int BREAK_MESSAGE_HANDLING
Job attribute representing how a job handles break messages. Possible values are:

Type: String

See Also:
getBreakMessageHandling(), setBreakMessageHandling(java.lang.String)

BREAK_MESSAGE_HANDLING_NORMAL

public static final java.lang.String BREAK_MESSAGE_HANDLING_NORMAL
Constant indicating that the message queue status determines break message handling.
See Also:
BREAK_MESSAGE_HANDLING

BREAK_MESSAGE_HANDLING_HOLD

public static final java.lang.String BREAK_MESSAGE_HANDLING_HOLD
Constant indicating that the message queue holds break messages until a user or program requests them. The work station user uses the Display Message (DPSMSG) command to display the messages; a program must issue a Receive Message (RCVMSG) command to receive a message and handle it.
See Also:
BREAK_MESSAGE_HANDLING

BREAK_MESSAGE_HANDLING_NOTIFY

public static final java.lang.String BREAK_MESSAGE_HANDLING_NOTIFY
Constant indicating that the system notifies the job's message queue when a message arrives. For interactive jobs, the audible alarm sounds if there is one, and the message-waiting light comes on.
See Also:
BREAK_MESSAGE_HANDLING

CCSID

public static final int CCSID
Job attribute representing the coded character set identifier used for a job. Special values include:

Type: Integer

See Also:
getCodedCharacterSetID(), setCodedCharacterSetID(int)

CCSID_SYSTEM_VALUE

public static final int CCSID_SYSTEM_VALUE
Constant indicating that the CCSID specified in the system value QCCSID is used.
See Also:
CCSID

CCSID_INITIAL_USER

public static final 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.
See Also:
CCSID

CHARACTER_ID_CONTROL

public static final int CHARACTER_ID_CONTROL
Job attribute representing the character identifier control for a job. This attribute controls the type of CCSID conversion that occurs for display files, printer files, and panel groups. The *CHRIDCTL special value must be specified on the CHRID command parameter on the create, change, or override command for display files, printer files, and panel groups before this attribute will be used. Special values include:

Type: String


CHARACTER_ID_CONTROL_DEVICE

public static final 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.
See Also:
CHARACTER_ID_CONTROL

CHARACTER_ID_CONTROL_JOB

public static final 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.
See Also:
CHARACTER_ID_CONTROL

CHARACTER_ID_CONTROL_SYSTEM_VALUE

public static final java.lang.String CHARACTER_ID_CONTROL_SYSTEM_VALUE
Constant indicating the value in the QCHRIDCTL system value will be used.
See Also:
CHARACTER_ID_CONTROL

CHARACTER_ID_CONTROL_INITIAL_USER

public static final 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.
See Also:
CHARACTER_ID_CONTROL

CLIENT_IP_ADDRESS

public static final int CLIENT_IP_ADDRESS
Job attribute representing the IP address of the client for which this server is doing work. When this field is blank, the job thread is not serving a client. An address is expressed in the form www.xxx.yyy.zzz (for example, 130.99.128.1). This field is not guaranteed to be an IP address. This field is set to the value set by the QWTCHGJB API.

Type: String


COMPLETION_STATUS

public static final int COMPLETION_STATUS
Job attribute representing the completion status for a job. Possible values are:

Read-only: true

Type: String

See Also:
getCompletionStatus()

COMPLETION_STATUS_NOT_COMPLETED

public static final java.lang.String COMPLETION_STATUS_NOT_COMPLETED
Constant indicating that the job has not completed.
See Also:
COMPLETION_STATUS

COMPLETION_STATUS_COMPLETED_NORMALLY

public static final java.lang.String COMPLETION_STATUS_COMPLETED_NORMALLY
Constant indicating that the job completed normally.
See Also:
COMPLETION_STATUS

COMPLETION_STATUS_COMPLETED_ABNORMALLY

public static final java.lang.String COMPLETION_STATUS_COMPLETED_ABNORMALLY
Constant indicating that the job completed abnormally.
See Also:
COMPLETION_STATUS

CONTROLLED_END_REQUESTED

public static final int CONTROLLED_END_REQUESTED
Job attribute representing whether or not the system issued a controlled cancellation. Possible values are:

Read-only: true

Type: String


END_STATUS_CANCELLED

public static final 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.
See Also:
CONTROLLED_END_REQUESTED

END_STATUS_NOT_CANCELLED

public static final 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.
See Also:
CONTROLLED_END_REQUESTED

END_STATUS_JOB_NOT_RUNNING

public static final java.lang.String END_STATUS_JOB_NOT_RUNNING
Constant indicating that the job is not running.
See Also:
CONTROLLED_END_REQUESTED

COUNTRY_ID

public static final int COUNTRY_ID
Job attribute representing the country identifier associated with a job. Special values include:

Type: String

See Also:
getCountryID(), setCountryID(java.lang.String)

COUNTRY_ID_SYSTEM_VALUE

public static final java.lang.String COUNTRY_ID_SYSTEM_VALUE
Constant indicating the system value QCNTRYID is used.
See Also:
COUNTRY_ID

COUNTRY_ID_INITIAL_USER

public static final 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.
See Also:
COUNTRY_ID

CPU_TIME_USED

public static final int CPU_TIME_USED
Job attribute representing the amount of processing unit time (in milliseconds) that the job used. If the processing unit time used is greater than or equal to 2,147,483,647 milliseconds, a value of -1 is returned. Use the CPU_TIME_USED_LARGE attribute to retrieve values that are greater than or equal to 2,147,483,647.

Read-only: true

Type: Integer

See Also:
getCPUUsed()

CPU_TIME_USED_LARGE

public static final int CPU_TIME_USED_LARGE
Job attribute representing the amount of processing unit time (in milliseconds) that the job used across all routing steps.

Read-only: true

Type: Long

See Also:
getCPUUsed()

CPU_TIME_USED_FOR_DATABASE

public static final 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.

Read-only: true

Type: Long

Only valid on V5R1 systems and higher.


CURRENT_LIBRARY

public static final int CURRENT_LIBRARY
Job attribute representing the name of the current library for the initial thread of the job. If no current library exists, the CURRENT_LIBRARY_EXISTENCE attribute returns 0 and this attribute returns "".

Read-only: true

Type: String

Can be loaded by JobList: false

See Also:
getCurrentLibrary()

CURRENT_LIBRARY_EXISTENCE

public static final int CURRENT_LIBRARY_EXISTENCE
Job attribute representing whether or not a current library exists for the job. Returns 0 if no current library exists; 1 if a current library exists.

Read-only: true

Type: Integer

Can be loaded by JobList: false

See Also:
getCurrentLibraryExistence()

CURRENT_SYSTEM_POOL_ID

public static final 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. These identifiers are not the same as those specified in the subsystem description, but are the same as the system pool identifiers shown on the system status display. If a thread reaches its time-slice end pool value, the pool the thread is running in can be swiched based on the job's time-slice end pool value. The current system pool identifier returned by this API will be the actual pool that the initial thread of the job is running in.

Read-only: true

Type: Integer


CURRENT_USER

public static final 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. This name may differ from the user portion of the job name.

Read-only: true

Type: String


DATE_ENDED

public static final int DATE_ENDED
Job attribute representing the date and time when the job completed running on the system.

Read-only: true

Type: String in the format CYYMMDDHHMMSS


DATE_ENTERED_SYSTEM

public static final int DATE_ENTERED_SYSTEM
Job attribute representing the data and time when the job was placed on the system.

Read-only: true

Type: String in the format CYYMMDDHHMMSS

See Also:
getDate(), getJobEnterSystemDate()

DATE_FORMAT

public static final int DATE_FORMAT
Job attribute representing the format the date is presented in for a particular job. Possible values are:

Type: String

See Also:
getDateFormat(), setDateFormat(java.lang.String)

DATE_FORMAT_YMD

public static final java.lang.String DATE_FORMAT_YMD
Constant indicating a date format of year, month, and day.
See Also:
DATE_FORMAT

DATE_FORMAT_MDY

public static final java.lang.String DATE_FORMAT_MDY
Constant indicating a date format of month, day, and year.
See Also:
DATE_FORMAT

DATE_FORMAT_DMY

public static final java.lang.String DATE_FORMAT_DMY
Constant indicating a date format of day, month, and year.
See Also:
DATE_FORMAT

DATE_FORMAT_JULIAN

public static final java.lang.String DATE_FORMAT_JULIAN
Constant indicating a Julian date format (year and day).
See Also:
DATE_FORMAT

DATE_FORMAT_SYSTEM_VALUE

public static final java.lang.String DATE_FORMAT_SYSTEM_VALUE
Constant indicating the system value QDATFMT is used.
See Also:
DATE_FORMAT

DATE_SEPARATOR

public static final int DATE_SEPARATOR
Job attribute representing the value used to separate days, months, and years when presenting a date for a particular job. Possible values are:

Type: String

See Also:
getDateSeparator(), setDateSeparator(java.lang.String)

DATE_SEPARATOR_SYSTEM_VALUE

public static final java.lang.String DATE_SEPARATOR_SYSTEM_VALUE
Constant indicating the system value QDATSEP is used for the date separator.
See Also:
DATE_SEPARATOR

DATE_SEPARATOR_SLASH

public static final java.lang.String DATE_SEPARATOR_SLASH
Constant indicating a slash (/) is used for the date separator.
See Also:
DATE_SEPARATOR

DATE_SEPARATOR_DASH

public static final java.lang.String DATE_SEPARATOR_DASH
Constant indicating a dash (-) is used for the date separator.
See Also:
DATE_SEPARATOR

DATE_SEPARATOR_PERIOD

public static final java.lang.String DATE_SEPARATOR_PERIOD
Constant indicating a period (.) is used for the date separator.
See Also:
DATE_SEPARATOR

DATE_SEPARATOR_BLANK

public static final java.lang.String DATE_SEPARATOR_BLANK
Constant indicating a blank is used for the date separator.
See Also:
DATE_SEPARATOR

DATE_SEPARATOR_COMMA

public static final java.lang.String DATE_SEPARATOR_COMMA
Constant indicating a comma is used for the date separator.
See Also:
DATE_SEPARATOR

DATE_STARTED

public static final int DATE_STARTED
Job attribute representing the date and time when a job began to run on the system. This is blank if the job did not become active.

Read-only: true

Type: String in the format CYYMMDDHHMMSS

See Also:
getJobActiveDate()

DBCS_CAPABLE

public static final int DBCS_CAPABLE
Job attribute representing whether the job is DBCS-capable or not. Returns "0" if the job is not DBCS-capable; "1" if the job is DBCS-capable.

Read-only: true

Type: String


DECIMAL_FORMAT

public static final int DECIMAL_FORMAT
Job attribute representing the decimal format used for a job. Possible values are:

Type: String

See Also:
getDecimalFormat(), setDecimalFormat(java.lang.String)

DECIMAL_FORMAT_PERIOD

public static final 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.
See Also:
DECIMAL_FORMAT

DECIMAL_FORMAT_COMMA_I

public static final 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.
See Also:
DECIMAL_FORMAT

DECIMAL_FORMAT_COMMA_J

public static final 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. The zero-suppression character is in the second position (rather than the first) to the left of the decimal notation. Balances with zero values to the left of the comma are written with one leading zero (0,04). This constant also overrides any edit codes that might suppress the leading zero.
See Also:
DECIMAL_FORMAT

DECIMAL_FORMAT_SYSTEM_VALUE

public static final 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.
See Also:
DECIMAL_FORMAT

DEFAULT_CCSID

public static final int DEFAULT_CCSID
Job attribute representing the default coded character set identifier used for a job. This attribute returns zero if the job is not an active job.

Read-only: true

Type: Integer

See Also:
getDefaultCodedCharacterSetIdentifier()

DEFAULT_WAIT_TIME

public static final 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. A value of -1 represents no maximum wait time (*NOMAX).

Type: Integer

See Also:
getDefaultWait(), setDefaultWait(int)

DEVICE_RECOVERY_ACTION

public static final 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. Possible values are:

Type: String

See Also:
getDeviceRecoveryAction(), setDeviceRecoveryAction(java.lang.String)

DEVICE_RECOVERY_ACTION_MESSAGE

public static final 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.
See Also:
DEVICE_RECOVERY_ACTION

DEVICE_RECOVERY_ACTION_DISCONNECT_MESSAGE

public static final java.lang.String DEVICE_RECOVERY_ACTION_DISCONNECT_MESSAGE
Constant indicating a device recovery action that disconnects the job when an I/O error occurs. When the job reconnects, the system sends an error message to the application program, indicating the job has reconnected and that the work station device has recovered.
See Also:
DEVICE_RECOVERY_ACTION

DEVICE_RECOVERY_ACTION_DISCONNECT_END_REQUEST

public static final 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. When the job reconnects, the system sends the End Request (ENDRQS) command to return control to the previous request level.
See Also:
DEVICE_RECOVERY_ACTION

DEVICE_RECOVERY_ACTION_END_JOB

public static final java.lang.String DEVICE_RECOVERY_ACTION_END_JOB
Constant indicating a device recovery action that 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.
See Also:
DEVICE_RECOVERY_ACTION

DEVICE_RECOVERY_ACTION_END_JOB_NO_LIST

public static final 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. 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.
See Also:
DEVICE_RECOVERY_ACTION

DEVICE_RECOVERY_ACTION_SYSTEM_VALUE

public static final 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.
See Also:
DEVICE_RECOVERY_ACTION

ELIGIBLE_FOR_PURGE

public static final 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). This attribute is ignored when more than one thread is active within the job. Possible values are:

Type: String

See Also:
getPurge(), setPurge(boolean)

ELIGIBLE_FOR_PURGE_YES

public static final 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. A job with multiple threads, however, is never purged from main storage.
See Also:
ELIGIBLE_FOR_PURGE

ELIGIBLE_FOR_PURGE_NO

public static final 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. When main storage is needed, however, pages belonging to a thread in the job may be moved to auxiliary storage. Then, when a thread in the job runs again, its pages are returned to main storage as they are needed.
See Also:
ELIGIBLE_FOR_PURGE

ELIGIBLE_FOR_PURGE_IGNORED

public static final 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.
See Also:
ELIGIBLE_FOR_PURGE

END_SEVERITY

public static final int END_SEVERITY
Job attribute representing the message severity level of escape messages that can cause a batch job to end. The batch job ends when a request in the batch input stream sends an escape message, whose severity is equal to or greater than this value, to the request processing program.

Read-only: true

Type: Integer

See Also:
getEndSeverity()

FUNCTION_NAME

public static final int FUNCTION_NAME
Job attribute representing additional information (as described by the FUNCTION_TYPE attribute) about the function the initial thread is currently performing. This information is updated only when a command is processed.

Read-only: true

Type: String

See Also:
getFunctionName()

FUNCTION_TYPE

public static final int FUNCTION_TYPE
Job attribute representing whether the initial thread is performing a high-level function and what the function type is. Possible values are:

Read-only: true

Type: String

See Also:
getFunctionType()

FUNCTION_TYPE_BLANK

public static final java.lang.String FUNCTION_TYPE_BLANK
Constant indicating that the system is not doing a logged function.
See Also:
FUNCTION_TYPE

FUNCTION_TYPE_COMMAND

public static final 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. Commands in CL programs or REXX procedures are not logged.
See Also:
FUNCTION_TYPE

FUNCTION_TYPE_DELAY

public static final java.lang.String FUNCTION_TYPE_DELAY
Constant indicating that the initial thread of the job is processing a Delay Job (DLYJOB) command. The FUNCTION_NAME attribute contains the number of seconds the job is delayed (up to 999999 seconds), or the time when the job is to resume processing (HH:MM:SS), depending n how you specified the command.
See Also:
FUNCTION_TYPE

FUNCTION_TYPE_GROUP

public static final java.lang.String FUNCTION_TYPE_GROUP
Constant indicating that the Transfer Group Job (TFRGRPJOB) command suspended the job. The FUNCTION_NAME attribute contains the group job name for that job.
See Also:
FUNCTION_TYPE

FUNCTION_TYPE_INDEX

public static final java.lang.String FUNCTION_TYPE_INDEX
Constant indicating that the initial thread of the job is rebuilding an index (access path). The FUNCTION_NAME attribute contains the name of the logical file whose index is rebuilt.
See Also:
FUNCTION_TYPE

FUNCTION_TYPE_IO

public static final 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. The FUNCTION_NAME attribute contains the name of the work station device to which the subsystem is performing an input/output operation.
See Also:
FUNCTION_TYPE

FUNCTION_TYPE_LOG

public static final java.lang.String FUNCTION_TYPE_LOG
Constant indicating that the system logs history information in a database file. The FUNCTION_NAME attribute contains the name of the log (QHST is the only log currently supported).
See Also:
FUNCTION_TYPE

FUNCTION_TYPE_MENU

public static final java.lang.String FUNCTION_TYPE_MENU
Constant indicating that the initial thread of the job is currently at a system menu. The FUNCTION_NAME field contains the name of the menu.
See Also:
FUNCTION_TYPE

FUNCTION_TYPE_MRT

public static final 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. See the 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.

See Also:
FUNCTION_TYPE

FUNCTION_TYPE_PROCEDURE

public static final java.lang.String FUNCTION_TYPE_PROCEDURE
Constant indicating that the initial thread of the job is running a procedure. The FUNCTION_NAME attribute contains the name of the procedure.
See Also:
FUNCTION_TYPE

FUNCTION_TYPE_PROGRAM

public static final java.lang.String FUNCTION_TYPE_PROGRAM
Constant indicating that the initial thread of the job is running a program. The FUNCTION_NAME attribute contains the name of the program.
See Also:
FUNCTION_TYPE

FUNCTION_TYPE_SPECIAL

public static final java.lang.String FUNCTION_TYPE_SPECIAL
Constant indicating that the function type is a special function. For this value, the FUNCTION_NAME attribute contains one of the following values:
See Also:
FUNCTION_TYPE

INQUIRY_MESSAGE_REPLY

public static final int INQUIRY_MESSAGE_REPLY
Job attribute representing how a job answers inquiry messages. Possible values are:

Type: String

See Also:
getInquiryMessageReply(), setInquiryMessageReply(java.lang.String)

INQUIRY_MESSAGE_REPLY_REQUIRED

public static final 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.
See Also:
INQUIRY_MESSAGE_REPLY

INQUIRY_MESSAGE_REPLY_DEFAULT

public static final 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. The default reply is either in the message description or is the default system reply.
See Also:
INQUIRY_MESSAGE_REPLY

INQUIRY_MESSAGE_REPLY_SYSTEM_REPLY_LIST

public static final 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. 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.
See Also:
INQUIRY_MESSAGE_REPLY

INSTANCE

public static final int INSTANCE
Job attribute representing the instance portion of the unit of work ID. This portion of the unit-of-work identifier is the value that further identifies the source of the job. This is shown as hexadecimal data.

Read-only: true

Type: String

See Also:
UNIT_OF_WORK_ID, getWorkIDUnit()

INTERACTIVE_TRANSACTIONS

public static final int INTERACTIVE_TRANSACTIONS
Job attribute representing the count of operator interactions, such as pressing the Enter key or a function key. This field is zero for jobs that have no interactions.

Read-only: true

Type: Integer

See Also:
getInteractiveTransactions()

INTERNAL_JOB_ID

public static final 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. The identifier is not valid following an initial program load (IPL). If you attempt to use it after an IPL, an exception occurs.

Read-only: true

Type: String

Can be loaded by JobList: false

See Also:
getInternalJobID()

JOB_DATE

public static final int JOB_DATE
Job attribute representing the date used for the job. This value is for jobs whose status is *JOBQ or *ACTIVE. For jobs with a status of *OUTQ, the value for this field is blank.

Type: String in the format CYYMMDD

See Also:
getJobDate(), setJobDate(java.util.Date)

JOB_DESCRIPTION

public static final int JOB_DESCRIPTION
Job attribute representing a set of job-related attributes used for one or more jobs on the system. These attributes determine how the job is run on the system. Multiple jobs can also use the same job description.

Read-only: true

Type: String

See Also:
getJobDescription()

JOB_END_REASON

public static final int JOB_END_REASON
Job attribute representing the most recent action that caused the job to end. Possible values are:

Read-only: true

Type: Integer

Only valid on V5R1 systems and higher.


JOB_LOG_PENDING

public static final int JOB_LOG_PENDING
Job attribute representing whether a job's log has been written or not. If the system fails while the job was active or the job ends abnormally, the job log may not be written yet. This flag remains on until the job log has been written. Possible values are:

Read-only: true

Type: String

Only valid on V5R1 systems and higher.


JOB_NAME

public static final int JOB_NAME
Job attribute representing the name of the job as identified to the system. For an interactive job, the system assigns the job name of the work station where the job started; for a batch job, you specify the name in the command when you submit the job. Possible values are:

Type: String

See Also:
getName(), setName(java.lang.String)

JOB_NAME_INTERNAL

public static final java.lang.String JOB_NAME_INTERNAL
Constant indicating that the INTERNAL_JOB_ID locates the job. The user name and job number must be blank.
See Also:
JOB_NAME

JOB_NAME_CURRENT

public static final java.lang.String JOB_NAME_CURRENT
Constant indicating the job that this program is running in. The user name and job number must be blank.
See Also:
JOB_NAME

JOB_NUMBER

public static final int JOB_NUMBER
Job attribute representing the system-generated job number. Possible values are:

Type: String

See Also:
getNumber(), setNumber(java.lang.String)

JOB_NUMBER_BLANK

public static final java.lang.String JOB_NUMBER_BLANK
Constant indicating a blank job number. This must be used if JOB_NAME_INTERNAL or JOB_NAME_CURRENT is specified for the JOB_NAME.
See Also:
JOB_NUMBER

JOB_QUEUE

public static final 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. This value is for jobs whose status is *JOBQ or *ACTIVE. For jobs with a status of *OUTQ, the value for this field is blank.

Type: String

See Also:
getQueue(), setQueue(java.lang.String)

JOB_QUEUE_DATE

public static final int JOB_QUEUE_DATE
Job attribute representing the date and time when a job was put on a job queue. This field wil contain blanks if the job was not on a job queue.

Read-only: true

Type: String in the system timestamp format

See Also:
getJobPutOnJobQueueDate()

JOB_QUEUE_PRIORITY

public static final int JOB_QUEUE_PRIORITY
Job attribute representing 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. This value is for jobs whose status is *JOBQ or *ACTIVE. For jobs with a status of *OUTQ, the value for this field is blank.

Type: String

See Also:
getQueuePriority(), setQueuePriority(int)

JOB_QUEUE_STATUS

public static final int JOB_QUEUE_STATUS
Job attribute representing the status of a job on a job queue. Possible values are:

Read-only: true

Type: String

See Also:
getJobStatusInJobQueue()

JOB_QUEUE_STATUS_BLANK

public static final java.lang.String JOB_QUEUE_STATUS_BLANK
Constant indicating that the job was not on a job queue.
See Also:
JOB_QUEUE_STATUS

JOB_QUEUE_STATUS_SCHEDULED

public static final java.lang.String JOB_QUEUE_STATUS_SCHEDULED
Constant indicating that the job will run as scheduled.
See Also:
JOB_QUEUE_STATUS

JOB_QUEUE_STATUS_HELD

public static final java.lang.String JOB_QUEUE_STATUS_HELD
Constant indicating that the job is being held on the job queue.
See Also:
JOB_QUEUE_STATUS

JOB_QUEUE_STATUS_READY

public static final java.lang.String JOB_QUEUE_STATUS_READY
Constant indicating that the job is ready to be selected.
See Also:
JOB_QUEUE_STATUS

JOB_STATUS

public static final int JOB_STATUS
Job attribute representing the status of a job. Possible values are:

Read-only: true

Type: String

See Also:
getStatus()

JOB_STATUS_ACTIVE

public static final java.lang.String JOB_STATUS_ACTIVE
Constant indicating a job status of *ACTIVE. This includes group jobs, system request jobs, and disconnected jobs.
See Also:
JOB_STATUS

JOB_STATUS_JOBQ

public static final java.lang.String JOB_STATUS_JOBQ
Constant indicating a job status of *JOBQ. This includes jobs that are currently on job queues.
See Also:
JOB_STATUS

JOB_STATUS_OUTQ

public static final java.lang.String JOB_STATUS_OUTQ
Constant indicating a job status of *OUTQ. This includes jobs that have completed running but still have output on an output queue.
See Also:
JOB_STATUS

JOB_SUBTYPE

public static final int JOB_SUBTYPE
Job attribute representing additional information about the job type (if any exists). Possible values are:

Read-only: true

Type: String

See Also:
getSubtype()

JOB_SUBTYPE_BLANK

public static final java.lang.String JOB_SUBTYPE_BLANK
Constant indicating that a job has no special subtype or the job is not a valid job.
See Also:
JOB_SUBTYPE

JOB_SUBTYPE_IMMEDIATE

public static final java.lang.String JOB_SUBTYPE_IMMEDIATE
Constant indicating that a job is an immediate job.
See Also:
JOB_SUBTYPE

JOB_SUBTYPE_PROCEDURE_START_REQUEST

public static final java.lang.String JOB_SUBTYPE_PROCEDURE_START_REQUEST
Constant indicating that a job started with a procedure start request.
See Also:
JOB_SUBTYPE

JOB_SUBTYPE_MACHINE_SERVER_JOB

public static final java.lang.String JOB_SUBTYPE_MACHINE_SERVER_JOB
Constant indicating that a job is an AS/400 Advanced 36 machine server job.
See Also:
JOB_SUBTYPE

JOB_SUBTYPE_PRESTART

public static final java.lang.String JOB_SUBTYPE_PRESTART
Constant indicating that a job is a prestart job.
See Also:
JOB_SUBTYPE

JOB_SUBTYPE_PRINT_DRIVER

public static final java.lang.String JOB_SUBTYPE_PRINT_DRIVER
Constant indicating that a job is a print driver job.
See Also:
JOB_SUBTYPE

JOB_SUBTYPE_MRT

public static final java.lang.String JOB_SUBTYPE_MRT
Constant indicating that a job is a System/36 multiple requester temrinal (MRT) job.
See Also:
JOB_SUBTYPE

JOB_SUBTYPE_ALTERNATE_SPOOL_USER

public static final java.lang.String JOB_SUBTYPE_ALTERNATE_SPOOL_USER
Constant indicating that a job is an alternate spool user job.
See Also:
JOB_SUBTYPE

JOB_SWITCHES

public static final int JOB_SWITCHES
Job attribute representing the current setting of the job switches used by a job. This value is valid for all job types.

Type: String

See Also:
getJobSwitches(), setJobSwitches(java.lang.String)

JOB_TYPE

public static final int JOB_TYPE
Job attribute representing the type of job. Possible values are:

Read-only: true

Type: String

See Also:
getType()

JOB_TYPE_NOT_VALID

public static final java.lang.String JOB_TYPE_NOT_VALID
Constant indicating that a job is not a valid job.
See Also:
JOB_TYPE

JOB_TYPE_AUTOSTART

public static final java.lang.String JOB_TYPE_AUTOSTART
Constant indicating that a job is an autostart job.
See Also:
JOB_TYPE

JOB_TYPE_BATCH

public static final java.lang.String JOB_TYPE_BATCH
Constant indicating that a job is a batch job.
See Also:
JOB_TYPE

JOB_TYPE_INTERACTIVE

public static final java.lang.String JOB_TYPE_INTERACTIVE
Constant indicating that a job is an interactive job.
See Also:
JOB_TYPE

JOB_TYPE_SUBSYSTEM_MONITOR

public static final java.lang.String JOB_TYPE_SUBSYSTEM_MONITOR
Constant indicating that a job is a subsystem monitor job.
See Also:
JOB_TYPE

JOB_TYPE_SPOOLED_READER

public static final java.lang.String JOB_TYPE_SPOOLED_READER
Constant indicating that a job is a spooled reader job.
See Also:
JOB_TYPE

JOB_TYPE_SYSTEM

public static final java.lang.String JOB_TYPE_SYSTEM
Constant indicating that a job is a system job.
See Also:
JOB_TYPE

JOB_TYPE_SPOOLED_WRITER

public static final java.lang.String JOB_TYPE_SPOOLED_WRITER
Constant indicating that a job is a spooled writer job.
See Also:
JOB_TYPE

JOB_TYPE_SCPF_SYSTEM

public static final java.lang.String JOB_TYPE_SCPF_SYSTEM
Constant indicating that a job is the SCPF system job.
See Also:
JOB_TYPE

JOB_TYPE_ENHANCED

public static final int JOB_TYPE_ENHANCED
Job attribute representing the type of job. This attribute combines the JOB_TYPE and JOB_SUBTYPE attributes. Possible values are:

Read-only: true

Type: Integer

Only valid on V5R1 systems and higher.


JOB_TYPE_ENHANCED_AUTOSTART

public static final java.lang.Integer JOB_TYPE_ENHANCED_AUTOSTART
Constant indicating that the job is an autostart job.
See Also:
JOB_TYPE_ENHANCED

JOB_TYPE_ENHANCED_BATCH

public static final java.lang.Integer JOB_TYPE_ENHANCED_BATCH
Constant indicating that the job is a batch job.
See Also:
JOB_TYPE_ENHANCED

JOB_TYPE_ENHANCED_BATCH_IMMEDIATE

public static final java.lang.Integer JOB_TYPE_ENHANCED_BATCH_IMMEDIATE
Constant indicating that the job is a batch immediate job.
See Also:
JOB_TYPE_ENHANCED

JOB_TYPE_ENHANCED_BATCH_MRT

public static final java.lang.Integer JOB_TYPE_ENHANCED_BATCH_MRT
Constant indicating that the job is a batch System/36 multiple requester terminal (MRT) job.
See Also:
JOB_TYPE_ENHANCED

JOB_TYPE_ENHANCED_BATCH_ALTERNATE_SPOOL_USER

public static final java.lang.Integer JOB_TYPE_ENHANCED_BATCH_ALTERNATE_SPOOL_USER
Constant indicating that the job is a batch alternate spool user job.
See Also:
JOB_TYPE_ENHANCED

JOB_TYPE_ENHANCED_COMM_PROCEDURE_START_REQUEST

public static final java.lang.Integer JOB_TYPE_ENHANCED_COMM_PROCEDURE_START_REQUEST
Constant indicating that the job is a communications procedure start request job.
See Also:
JOB_TYPE_ENHANCED

JOB_TYPE_ENHANCED_INTERACTIVE

public static final java.lang.Integer JOB_TYPE_ENHANCED_INTERACTIVE
Constant indicating that the job is an interactive job.
See Also:
JOB_TYPE_ENHANCED

JOB_TYPE_ENHANCED_INTERACTIVE_GROUP

public static final java.lang.Integer JOB_TYPE_ENHANCED_INTERACTIVE_GROUP
Constant indicating that the job is an interactive job that is part of a group.
See Also:
JOB_TYPE_ENHANCED

JOB_TYPE_ENHANCED_INTERACTIVE_SYSREQ

public static final 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.
See Also:
JOB_TYPE_ENHANCED

JOB_TYPE_ENHANCED_INTERACTIVE_SYSREQ_AND_GROUP

public static final 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.
See Also:
JOB_TYPE_ENHANCED

JOB_TYPE_ENHANCED_PRESTART

public static final java.lang.Integer JOB_TYPE_ENHANCED_PRESTART
Constant indicating that the job is a prestart job.
See Also:
JOB_TYPE_ENHANCED

JOB_TYPE_ENHANCED_PRESTART_BATCH

public static final java.lang.Integer JOB_TYPE_ENHANCED_PRESTART_BATCH
Constant indicating that the job is a prestart batch job.
See Also:
JOB_TYPE_ENHANCED

JOB_TYPE_ENHANCED_PRESTART_COMM

public static final java.lang.Integer JOB_TYPE_ENHANCED_PRESTART_COMM
Constant indicating that the job is a prestart communications job.
See Also:
JOB_TYPE_ENHANCED

JOB_TYPE_ENHANCED_READER

public static final java.lang.Integer JOB_TYPE_ENHANCED_READER
Constant indicating that the job is a reader job.
See Also:
JOB_TYPE_ENHANCED

JOB_TYPE_ENHANCED_SUBSYSTEM

public static final java.lang.Integer JOB_TYPE_ENHANCED_SUBSYSTEM
Constant indicating that the job is a subsystem job.
See Also:
JOB_TYPE_ENHANCED

JOB_TYPE_ENHANCED_SYSTEM

public static final java.lang.Integer JOB_TYPE_ENHANCED_SYSTEM
Constant indicating that the job is a system job (all system jobs including SCPF).
See Also:
JOB_TYPE_ENHANCED

JOB_TYPE_ENHANCED_WRITER

public static final java.lang.Integer JOB_TYPE_ENHANCED_WRITER
Constant indicating that the job is a writer job (including both spool writers and print drivers).
See Also:
JOB_TYPE_ENHANCED

JOB_USER_IDENTITY

public static final int JOB_USER_IDENTITY
Job attribute representing the user profile name by which a job is known to other jobs on the system. The job user identity is used for authorization checks when other jobs on the system attempt to operate against the job. For more detail on how the job user identity is set and used, refer to the Set Job User Identity (QWTSJUID) API. A value of *N is returned if the job user identity is set, but the user profile to which it is set no longer exists.

Read-only: true

Type: String


JOB_USER_IDENTITY_SETTING

public static final int JOB_USER_IDENTITY_SETTING
Job attribute representing the method by which the job user identity was set. Possible values are:

Read-only: true

Type: String


JOB_USER_IDENTITY_SETTING_DEFAULT

public static final 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. This has the same meaning as a value of *DEFAULT on the Display Job Status Attributes display.
See Also:
JOB_USER_IDENTITY_SETTING

JOB_USER_IDENTITY_SETTING_APPLICATION

public static final 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(). The job may be running either single threaded or multithreaded. This has the same meaning as a value of *APPLICATION on the Display Job Status Attributes display.
See Also:
JOB_USER_IDENTITY_SETTING

JOB_USER_IDENTITY_SETTING_SYSTEM

public static final 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. It was set to the name of the user profile that the job was running under when it became multithreaded. This has the same meaning as a value of *SYSTEM on the Display Job Status Attributes display.
See Also:
JOB_USER_IDENTITY_SETTING

KEEP_DDM_CONNECTIONS_ACTIVE

public static final int KEEP_DDM_CONNECTIONS_ACTIVE
Job attribute representing whether connections using distributed data management (DDM) protocols remain active when they are not being used. The connections include APPC conversations, active TCP/IP connections, or Opti-Connect connections. The DDM protocols are used in Distributed Relational Database Architecture (DRDA) applications, DDM applications, or DB2 Multisystem applications. Possible values are:

Type: String

See Also:
getDDMConversationHandling(), setDDMConversationHandling(java.lang.String)

KEEP_DDM_CONNECTIONS_ACTIVE_KEEP

public static final 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:
See Also:
KEEP_DDM_CONNECTIONS_ACTIVE

KEEP_DDM_CONNECTIONS_ACTIVE_DROP

public static final java.lang.String KEEP_DDM_CONNECTIONS_ACTIVE_DROP
Constant indicating that the system ends a DDM connection when there are no users. Examples include when an application closes a DDM file, or when a DRDA application runs an SQL DISCONNECT statement.
See Also:
KEEP_DDM_CONNECTIONS_ACTIVE

LANGUAGE_ID

public static final int LANGUAGE_ID
Job attribute representing the language identifier associated with a job. Special values include:

Type: String

See Also:
getLanguageID(), setLanguageID(java.lang.String)

LANGUAGE_ID_SYSTEM_VALUE

public static final java.lang.String LANGUAGE_ID_SYSTEM_VALUE
Constant indicating the system value QLANGID is used.
See Also:
LANGUAGE_ID

LANGUAGE_ID_INITIAL_USER

public static final 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.
See Also:
LANGUAGE_ID

LOCATION_NAME

public static final int LOCATION_NAME
Job attribute representing the location name portion of the unit of work ID. This portion of the unit-of-work identifier is the name of the source system that originated the APPC job.

Read-only: true

Type: String

See Also:
UNIT_OF_WORK_ID, getWorkIDUnit()

LOG_CL_PROGRAMS

public static final int LOG_CL_PROGRAMS
Job attribute representing whether or not commands are logged for CL programs that are run. Possible values are:

Type: String

See Also:
getLoggingCLPrograms(), setLoggingCLPrograms(java.lang.String)

LOG_CL_PROGRAMS_YES

public static final java.lang.String LOG_CL_PROGRAMS_YES
Constant indicating that commands are logged for CL programs that are run.
See Also:
LOG_CL_PROGRAMS

LOG_CL_PROGRAMS_NO

public static final java.lang.String LOG_CL_PROGRAMS_NO
Constant indicating that commands are not logged for CL programs that are run.
See Also:
LOG_CL_PROGRAMS

LOGGING_LEVEL

public static final int LOGGING_LEVEL
Job attribute representing what type of information is logged for a job. Possible values are:

Type: String

See Also:
getLoggingLevel(), setLoggingLevel(int)

LOGGING_LEVEL_NONE

public static final java.lang.String LOGGING_LEVEL_NONE
Constant indicating that no messages are logged.
See Also:
LOGGING_LEVEL

LOGGING_LEVEL_MESSAGES_BY_SEVERITY

public static final 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. This includes the indication of job start, job end, and job completion status.
See Also:
LOGGING_LEVEL

LOGGING_LEVEL_REQUESTS_BY_SEVERITY_AND_ASSOCIATED_MESSAGES

public static final java.lang.String LOGGING_LEVEL_REQUESTS_BY_SEVERITY_AND_ASSOCIATED_MESSAGES
Constant indicating that the following information is logged:
See Also:
LOGGING_LEVEL

LOGGING_LEVEL_ALL_REQUESTS_AND_ASSOCIATED_MESSAGES

public static final java.lang.String LOGGING_LEVEL_ALL_REQUESTS_AND_ASSOCIATED_MESSAGES
Constant indicating that the following information is logged:
See Also:
LOGGING_LEVEL

LOGGING_LEVEL_ALL_REQUESTS_AND_MESSAGES

public static final java.lang.String LOGGING_LEVEL_ALL_REQUESTS_AND_MESSAGES
Constant indicating that the following information is logged:
See Also:
LOGGING_LEVEL

LOGGING_SEVERITY

public static final 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. The values range from 00 through 99.

Type: Integer

See Also:
getLoggingSeverity(), setLoggingSeverity(int)

LOGGING_TEXT

public static final 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. Possible values are:

Type: String

See Also:
getLoggingText(), setLoggingText(java.lang.String)

LOGGING_TEXT_MESSAGE

public static final java.lang.String LOGGING_TEXT_MESSAGE
Constant indicating that only the message text is written to the job log.
See Also:
LOGGING_TEXT

LOGGING_TEXT_SECLVL

public static final 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.
See Also:
LOGGING_TEXT

LOGGING_TEXT_NO_LIST

public static final java.lang.String LOGGING_TEXT_NO_LIST
Constant indicating that if the jobs ends normally, no job log is produces. If the job ends abnormally (the job end code is 20 or higher), a job log is produced. The messages that appear in the job log contain both the message text and the message help.
See Also:
LOGGING_TEXT

MAX_CPU_TIME

public static final int MAX_CPU_TIME
Job attribute representing the maximum processing unit time (in milliseconds) that the job can use. If the job consists of multiple routing steps, this is the maximum processing unit time that the current routing step can use. If the maximum time is exceeded, the job is ended. A value of -1 is returned if there is no maximum (*NOMAX). A value of 0 is returned if the job is not active.

Read-only: true

Type: Integer


MAX_TEMP_STORAGE

public static final int MAX_TEMP_STORAGE
Job attribute representing the maximum amount of auxiliary storage (in kilobytes) that the job can use. If the job consists of multiple routing steps, this is the maximum temporary storage that the routing step can use. This temporary storage is used for storage required by the program itself and by implicitly created internal system objects used to support the routing step. (It does not include storage in the QTEMP library.) If the maximum temporary storage is exceeded, the job is ended. This does not apply to the use of permanent storage, which is controlled through the user profile. A value of -1 is returned if there is no maximum (*NOMAX).

Read-only: true

Type: Integer


MAX_TEMP_STORAGE_LARGE

public static final int MAX_TEMP_STORAGE_LARGE
Job attribute representing the maximum amount of auxiliary storage (in megabytes) that the job can use. If the job consists of multiple routing steps, this is the maximum temporary storage that the routing step can use. This temporary storage is used for storage required by the program itself and by implicitly created internal system objects used to support the routing step. (It does not include storage in the QTEMP library.) If the maximum temporary storage is exceeded, the job is ended. This does not apply to the use of permanent storage, which is controlled through the user profile. A value of -1 is returned if there is no maximum (*NOMAX).

Read-only: true

Type: Long


MAX_THREADS

public static final int MAX_THREADS
Job attribute representing the maximum number of threads that a job can run with at any time. If multiple threads are initiated simultaneously, this value may be exceeded. If this maximum value is exceeded, the excess threads will be allowed to run to their normal completion. Initiation of additional threads will be inhibited until the maximum number of threads in the job drops below this maximum value. A value of -1 is returned if there is no maximum (*NOMAX). Depending upon the resources used by the threads and the resources available to the system, the initiation of additional threads may be inhibited before this maximum value is reached.

Read-only: true

Type: Integer


MEMORY_POOL

public static final int MEMORY_POOL
Job attribute representing the name of the memory pool in which the job started running. The name may be a number, in which case it is a private pool associated with a subsystem. Possible values are:

Read-only: true

Type: String

Only valid on V5R1 systems and higher.


MEMORY_POOL_MACHINE

public static final java.lang.String MEMORY_POOL_MACHINE
Constant indicating that a job is running in the machine pool.
See Also:
MEMORY_POOL

MEMORY_POOL_BASE

public static final 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.
See Also:
MEMORY_POOL

MEMORY_POOL_INTERACTIVE

public static final java.lang.String MEMORY_POOL_INTERACTIVE
Constant indicating that a job is running in the shared pool used for interactive work.
See Also:
MEMORY_POOL

MEMORY_POOL_SPOOL

public static final java.lang.String MEMORY_POOL_SPOOL
Constant indicating that a job is running in the shared pool for spooled writers.
See Also:
MEMORY_POOL

MESSAGE_REPLY

public static final int MESSAGE_REPLY
Job attribute representing whether a job is waiting for a reply to a specific message. This value applies only when either the ACTIVE_JOB_STATUS or ACTIVE_JOB_STATUS_FOR_JOBS_ENDING attributes are set to ACTIVE_JOB_STATUS_WAIT_MESSAGE. Possible values are:

Read-only: true

Type: String

Only valid on V5R1 systems and higher.


MESSAGE_REPLY_NOT_IN_MESSAGE_WAIT

public static final java.lang.String MESSAGE_REPLY_NOT_IN_MESSAGE_WAIT
Constant indicating that a job currently is not in message wait status.
See Also:
MESSAGE_REPLY

MESSAGE_REPLY_WAITING

public static final java.lang.String MESSAGE_REPLY_WAITING
Constant indicating that a job is waiting for a reply to a message.
See Also:
MESSAGE_REPLY

MESSAGE_REPLY_NOT_WAITING

public static final java.lang.String MESSAGE_REPLY_NOT_WAITING
Constant indicating that a job is not waiting for a reply to a message.
See Also:
MESSAGE_REPLY

MESSAGE_QUEUE_ACTION

public static final int MESSAGE_QUEUE_ACTION
Job attribute representing the action to take when the message queue is full. Possible values are:

Type: String

See Also:
getJobMessageQueueFullAction(), setJobMessageQueueFullAction(java.lang.String)

MESSAGE_QUEUE_ACTION_NO_WRAP

public static final java.lang.String MESSAGE_QUEUE_ACTION_NO_WRAP
Constant indicating that when the job message queue is full, do not wrap. This action causes the job to end.
See Also:
MESSAGE_QUEUE_ACTION

MESSAGE_QUEUE_ACTION_WRAP

public static final 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.
See Also:
MESSAGE_QUEUE_ACTION

MESSAGE_QUEUE_ACTION_PRINT_WRAP

public static final 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.
See Also:
MESSAGE_QUEUE_ACTION

MESSAGE_QUEUE_ACTION_SYSTEM_VALUE

public static final java.lang.String MESSAGE_QUEUE_ACTION_SYSTEM_VALUE
Constant indicating the value specified for the QJOBMSGQFL system value is used.
See Also:
MESSAGE_QUEUE_ACTION

MESSAGE_QUEUE_MAX_SIZE

public static final int MESSAGE_QUEUE_MAX_SIZE
Job attribute representing the maximum size (in megabytes) that the job message queue can become. The range is 2 to 64.

Read-only: true

Type: Integer

See Also:
getJobMessageQueueMaximumSize()

MODE

public static final int MODE
Job attribute representing the mode name of the advanced program-to-program communications device that started the job. Possible values are:

Read-only: true

Type: String


NETWORK_ID

public static final int NETWORK_ID
Job attribute representing the network ID portion of the unit of work ID. This portion of the unit-of-work identifier is the network name associated with the unit of work.

Read-only: true

Type: String

See Also:
UNIT_OF_WORK_ID, getWorkIDUnit()

OUTPUT_QUEUE

public static final int OUTPUT_QUEUE
Job attribute representing the name of the default output queue that is used for spooled output produced by this job. The default output queue is only for spooled printer files that specify *JOB for the output queue. Special values include:

Type: String

See Also:
getOutputQueue(), setOutputQueue(java.lang.String)

OUTPUT_QUEUE_DEVICE

public static final 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.
See Also:
OUTPUT_QUEUE

OUTPUT_QUEUE_WORK_STATION

public static final 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.
See Also:
OUTPUT_QUEUE

OUTPUT_QUEUE_INITIAL_USER

public static final 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.
See Also:
OUTPUT_QUEUE

OUTPUT_QUEUE_PRIORITY

public static final int OUTPUT_QUEUE_PRIORITY
Job attribute representing the output priority for spooled output files that this job produces. The highest priority is 0 and the lowest priority is 9.

Type: String

See Also:
getOutputQueuePriority(), setOutputQueuePriority(int)

PRINT_KEY_FORMAT

public static final int PRINT_KEY_FORMAT
Job attribute representing whether border and header information is provided when the Print key is pressed. Possible values are:

Type: String

See Also:
getPrintKeyFormat(), setPrintKeyFormat(java.lang.String)

PRINT_KEY_FORMAT_NONE

public static final 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.
See Also:
PRINT_KEY_FORMAT

PRINT_KEY_FORMAT_BORDER

public static final java.lang.String PRINT_KEY_FORMAT_BORDER
Constant indicating that the border information is included with output from the Print key for this job.
See Also:
PRINT_KEY_FORMAT

PRINT_KEY_FORMAT_HEADER

public static final java.lang.String PRINT_KEY_FORMAT_HEADER
Constant indicating that the header information is included with output from the Print key for this job.
See Also:
PRINT_KEY_FORMAT

PRINT_KEY_FORMAT_ALL

public static final 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.
See Also:
PRINT_KEY_FORMAT

PRINT_KEY_FORMAT_SYSTEM_VALUE

public static final 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.
See Also:
PRINT_KEY_FORMAT

PRINT_TEXT

public static final 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. Special values include:

Type: String

See Also:
getPrintText(), setPrintText(java.lang.String)

PRINT_TEXT_SYSTEM_VALUE

public static final java.lang.String PRINT_TEXT_SYSTEM_VALUE
Constant indicating the system value QPRTTXT is used.
See Also:
PRINT_TEXT

PRINT_TEXT_BLANK

public static final java.lang.String PRINT_TEXT_BLANK
Constant indicating that no text is printed on printed output.
See Also:
PRINT_TEXT

PRINTER_DEVICE_NAME

public static final int PRINTER_DEVICE_NAME
Job attribute representing the printer device used for printing output from this job. Special values include:

Type: String

See Also:
getPrinterDeviceName(), setPrinterDeviceName(java.lang.String)

PRINTER_DEVICE_NAME_SYSTEM_VALUE

public static final java.lang.String PRINTER_DEVICE_NAME_SYSTEM_VALUE
Constant indicating the value in the system value QPRTDEV is used as the printer device.
See Also:
PRINTER_DEVICE_NAME

PRINTER_DEVICE_NAME_WORK_STATION

public static final 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.
See Also:
PRINTER_DEVICE_NAME

PRINTER_DEVICE_NAME_INITIAL_USER

public static final 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.
See Also:
PRINTER_DEVICE_NAME

PRODUCT_LIBRARIES

public static final int PRODUCT_LIBRARIES
Job attribute representing the libraries that contain product information for the initial thread of the job, if they exist.

Read-only: true

Type: String

Can be loaded by JobList: false

See Also:
getNumberOfProductLibraries(), getProductLibraries()

PRODUCT_RETURN_CODE

public static final int PRODUCT_RETURN_CODE
Job attribute representing the return code set by the compiler for Integrated Language Environment (ILE) languages. Refer to the appropriate ILE-conforming language manual for possible values. This attribute is scoped to the job and represents the most recent return code set by any thread within the job.

Read-only: true

Type: Integer


PROGRAM_RETURN_CODE

public static final 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. If not, a value of 0 is returned.

Read-only: true

Type: Integer


ROUTING_DATA

public static final 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.

Read-only: true

Type: String

See Also:
getRoutingData()

RUN_PRIORITY

public static final int RUN_PRIORITY
Job attribute representing 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). If the run priority is set to -1, the run priority of the thread will be set equal to the priority of the job. The thread cannot have a lower priority than its corresponding job.

Type: Integer

See Also:
getRunPriority(), setRunPriority(int)

SCHEDULE_DATE

public static final int SCHEDULE_DATE
Job attribute representing the date on which the submitted job becomes eligible to run. If your system or your job is configured to use the Julian date format, *MONTHSTR and *MONTHEND are calculated as if the system or job did not use the Julian date format. Possible values that can be used on setValue() are:

Type: String on setValue(); java.util.Date on getValue().

See Also:
getScheduleDate(), setScheduleDate(java.util.Date)

SCHEDULE_DATE_CURRENT

public static final java.lang.String SCHEDULE_DATE_CURRENT
Constant indicating the submitted job becomes eligible to run on the current date.
See Also:
SCHEDULE_DATE

SCHEDULE_DATE_MONTH_START

public static final java.lang.String SCHEDULE_DATE_MONTH_START
Constant indicating the submitted job becomes eligible to run on the first day of the month. If you specify this value and if today is the first day of the month and the time you specify on the SCHEDULE_TIME attribute has not passed, the job becomes eligible to run today. Otherwise, the job becomes eligible on the first day of the next month.
See Also:
SCHEDULE_DATE

SCHEDULE_DATE_MONTH_END

public static final java.lang.String SCHEDULE_DATE_MONTH_END
Constant indicating the submitted job becomes eligible to run on the last day of the month. If you specify this value and if today is the last day of the month and the time you specify on the SCHEDULE_TIME attribute has not passed, the job becomes eligible to run today. Otherwise, the job becomes eligible on the last day of the next month.
See Also:
SCHEDULE_DATE

SCHEDULE_DATE_MONDAY

public static final java.lang.String SCHEDULE_DATE_MONDAY
Constant indicating the job becomes eligible to run on Monday.
See Also:
SCHEDULE_DATE

SCHEDULE_DATE_TUESDAY

public static final java.lang.String SCHEDULE_DATE_TUESDAY
Constant indicating the job becomes eligible to run on Tuesday.
See Also:
SCHEDULE_DATE

SCHEDULE_DATE_WEDNESDAY

public static final java.lang.String SCHEDULE_DATE_WEDNESDAY
Constant indicating the job becomes eligible to run on Wednesday.
See Also:
SCHEDULE_DATE

SCHEDULE_DATE_THURSDAY

public static final java.lang.String SCHEDULE_DATE_THURSDAY
Constant indicating the job becomes eligible to run on Thursday.
See Also:
SCHEDULE_DATE

SCHEDULE_DATE_FRIDAY

public static final java.lang.String SCHEDULE_DATE_FRIDAY
Constant indicating the job becomes eligible to run on Friday.
See Also:
SCHEDULE_DATE

SCHEDULE_DATE_SATURDAY

public static final java.lang.String SCHEDULE_DATE_SATURDAY
Constant indicating the job becomes eligible to run on Saturday.
See Also:
SCHEDULE_DATE

SCHEDULE_DATE_SUNDAY

public static final java.lang.String SCHEDULE_DATE_SUNDAY
Constant indicating the job becomes eligible to run on Sunday.
See Also:
SCHEDULE_DATE

SCHEDULE_TIME

public static final int SCHEDULE_TIME
Job attribute representing the time on the scheduled date at which the job becomes eligible to run. Although the time can be specified to the second, the load on the system may affect the exact time at which the job becomes eligible to run. Possible values that can be used on setValue() are:

Type: String on setValue(); java.util.Date on getValue().

See Also:
getScheduleDate(), setScheduleTime(java.util.Date)

SCHEDULE_TIME_CURRENT

public static final java.lang.String SCHEDULE_TIME_CURRENT
Constant indicating the job is submitted on the current time.
See Also:
SCHEDULE_TIME

SEQUENCE_NUMBER

public static final int SEQUENCE_NUMBER
Job attribute representing the sequence number portion of the unit of work ID. This portion of the unit-of-work identifier is a value that identifies a checkpoint within the application program.

Read-only: true

Type: String

See Also:
UNIT_OF_WORK_ID, getWorkIDUnit()

SERVER_TYPE

public static final int SERVER_TYPE
Job attribute representing the type of server represented by the job. A value of blanks indicates that the job is not part of a server.

Type: String


SIGNED_ON_JOB

public static final int SIGNED_ON_JOB
Job attribute representing whether the job is to be treated like a signed-on user on the system. Possible values are:

Read-only: true

Type: String

See Also:
getSignedOnJob()

SIGNED_ON_JOB_TRUE

public static final java.lang.String SIGNED_ON_JOB_TRUE
Constant indicating that the job should be treated like a signed-on user.
See Also:
SIGNED_ON_JOB

SIGNED_ON_JOB_FALSE

public static final java.lang.String SIGNED_ON_JOB_FALSE
Constant indicating that the job should not be treated like a signed-on user.
See Also:
SIGNED_ON_JOB

SORT_SEQUENCE_TABLE

public static final int SORT_SEQUENCE_TABLE
Job attribute representing the sort sequence table associated with this job. Possible values are:

Type: String

See Also:
getSortSequenceTable(), setSortSequenceTable(java.lang.String)

SORT_SEQUENCE_TABLE_NONE

public static final java.lang.String SORT_SEQUENCE_TABLE_NONE
Constant indicating that no sort sequence table is used. The hexadecimal values of the characters are used to determine the sort sequence.
See Also:
SORT_SEQUENCE_TABLE

SORT_SEQUENCE_TABLE_LANGUAGE_SHARED_WEIGHT

public static final 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.
See Also:
SORT_SEQUENCE_TABLE

SORT_SEQUENCE_TABLE_LANGUAGE_UNIQUE_WEIGHT

public static final 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.
See Also:
SORT_SEQUENCE_TABLE

SORT_SEQUENCE_TABLE_SYSTEM_VALUE

public static final java.lang.String SORT_SEQUENCE_TABLE_SYSTEM_VALUE
Constant indicating the system value QSRTSEQ is used.
See Also:
SORT_SEQUENCE_TABLE

SORT_SEQUENCE_TABLE_INITIAL_USER

public static final 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.
See Also:
SORT_SEQUENCE_TABLE

SPECIAL_ENVIRONMENT

public static final int SPECIAL_ENVIRONMENT
Job attribute representing whether a job is running in a particular environment. Possible values are:

Read-only: true

Type: String


SPECIAL_ENVIRONMENT_NONE

public static final java.lang.String SPECIAL_ENVIRONMENT_NONE
Constant indicating that the job is not running in any special environment.
See Also:
SPECIAL_ENVIRONMENT

SPECIAL_ENVIRONMENT_SYSTEM_36

public static final java.lang.String SPECIAL_ENVIRONMENT_SYSTEM_36
Constant indicating that the job is running in the System/36 environment.
See Also:
SPECIAL_ENVIRONMENT

SPECIAL_ENVIRONMENT_NOT_ACTIVE

public static final java.lang.String SPECIAL_ENVIRONMENT_NOT_ACTIVE
Constant indicating that the special environment is ignored because the job is not currently active.
See Also:
SPECIAL_ENVIRONMENT

STATUS_MESSAGE_HANDLING

public static final int STATUS_MESSAGE_HANDLING
Job attribute representing whether you want status messages displayed for this job. Possible values are:

Type: String

See Also:
getStatusMessageHandling(), setStatusMessageHandling(java.lang.String)

STATUS_MESSAGE_HANDLING_NONE

public static final java.lang.String STATUS_MESSAGE_HANDLING_NONE
Constant indicating that the job does not display status messages.
See Also:
STATUS_MESSAGE_HANDLING

STATUS_MESSAGE_HANDLING_NORMAL

public static final java.lang.String STATUS_MESSAGE_HANDLING_NORMAL
Constant indicating that the job displays status messages.
See Also:
STATUS_MESSAGE_HANDLING

STATUS_MESSAGE_HANDLING_SYSTEM_VALUE

public static final java.lang.String STATUS_MESSAGE_HANDLING_SYSTEM_VALUE
Constant indicating the system value QSTSMSG is used.
See Also:
STATUS_MESSAGE_HANDLING

STATUS_MESSAGE_HANDLING_INITIAL_USER

public static final 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.
See Also:
STATUS_MESSAGE_HANDLING

SUBMITTED_BY_JOB_NAME

public static final int SUBMITTED_BY_JOB_NAME
Job attribute representing the job name of the submitter's job. If the job has no submitter, this value is blank.

Read-only: true

Type: String


SUBMITTED_BY_JOB_NUMBER

public static final int SUBMITTED_BY_JOB_NUMBER
Job attribute representing the job number of the submitter's job. If the job has no submitter, this value is blank.

Read-only: true

Type: String

Can be loaded by JobList: false


SUBMITTED_BY_USER

public static final int SUBMITTED_BY_USER
Job attribute representing the user name of the submitter. If the job has no submitter, this value is blank.

Read-only: true

Type: String

Can be loaded by JobList: false


SUBSYSTEM

public static final int SUBSYSTEM
Job attribute representing the subsystem description in which an active job is running. This value is only for jobs whose status is *ACTIVE. For jobs with status of *OUTQ or *JOBQ, this value is blank.

Read-only: true

Type: String

See Also:
getSubsystem()

SYSTEM_POOL_ID

public static final int SYSTEM_POOL_ID
Job attribute representing the identifier of the system-related pool from which the job's main storage is allocated. These identifiers are not the same as those specified in the subsystem description, but are the same as the system pool identifiers shown on the system status display. This is the pool that the threads in the job start in. Also see the CURRENT_SYSTEM_POOL_ID for more information.

Read-only: true

Type: Integer

See Also:
CURRENT_SYSTEM_POOL_ID, getPoolIdentifier()

SYSTEM_LIBRARY_LIST

public static final int SYSTEM_LIBRARY_LIST
Job attribute representing the system portion of the library list of the initial thread of the job.

Read-only: true

Type: String

Can be loaded by JobList: false

See Also:
getNumberOfLibrariesInSYSLIBL(), getSystemLibraryList()

TEMP_STORAGE_USED

public static final int TEMP_STORAGE_USED
Job attribute representing the amount of auxiliary storage (in kilobytes) that is currently allocated to this job. This value will reach a maximum of 2,147,483,647 kilobytes. If the actual temporary storage used is larger than that value, this attribute will return 2,147,483,647 kilobytes. It is recomended that the TEMP_STORAGE_USED_LARGE attribute be used to get over the limit.

Read-only: true

Type: Integer


TEMP_STORAGE_USED_LARGE

public static final int TEMP_STORAGE_USED_LARGE
Job attribute representing the amount of auxiliary storage (in megabytes) that is currently allocated to this job.

Read-only: true

Type: Long


THREAD_COUNT

public static final int THREAD_COUNT
Job attribute representing the count of the current number of active threads in the process at the time of the materialization. An active thread may be either actively running, suspended, or waiting for a resource.

Read-only: true

Type: Integer


TIME_SEPARATOR

public static final int TIME_SEPARATOR
Job attribute representing the value used to separate hours, minutes, and seconds when presenting a time for this job. Possible values are:

Type: String

See Also:
getTimeSeparator(), setTimeSeparator(java.lang.String)

TIME_SEPARATOR_SYSTEM_VALUE

public static final java.lang.String TIME_SEPARATOR_SYSTEM_VALUE
Constant indicating the time separator specified in the system value QTIMSEP is used.
See Also:
TIME_SEPARATOR

TIME_SEPARATOR_COLON

public static final java.lang.String TIME_SEPARATOR_COLON
Constant indicating a colon (:) is used for the time separator.
See Also:
TIME_SEPARATOR

TIME_SEPARATOR_PERIOD

public static final java.lang.String TIME_SEPARATOR_PERIOD
Constant indicating a period (.) is used for the time separator.
See Also:
TIME_SEPARATOR

TIME_SEPARATOR_BLANK

public static final java.lang.String TIME_SEPARATOR_BLANK
Constant indicating a blank is used for the time separator.
See Also:
TIME_SEPARATOR

TIME_SEPARATOR_COMMA

public static final java.lang.String TIME_SEPARATOR_COMMA
Constant indicating a comma (,) is used for the time separator.
See Also:
TIME_SEPARATOR

TIME_SLICE

public static final 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. The time slice establishes the amount of time needed by a thread in this job to accomplish a meaningful amount of processing. At the end of the time slice, the thread might be put in an inactive state so that other threads can become active in the storage pool. Values retrieved range from 8 through 9,999,999 milliseconds (that is, 9999.999 seconds). Although you can specify a value of less than 8, the system takes a minimum of 8 milliseconds to run a process.

Type: Integer

See Also:
getTimeSlice(), setTimeSlice(int)

TIME_SLICE_END_POOL

public static final 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. Possible values are:

Type: String

See Also:
getTimeSliceEndPool(), setTimeSliceEndPool(java.lang.String)

TIME_SLICE_END_POOL_NONE

public static final 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.
See Also:
TIME_SLICE_END_POOL

TIME_SLICE_END_POOL_BASE

public static final 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.
See Also:
TIME_SLICE_END_POOL

TIME_SLICE_END_POOL_SYSTEM_VALUE

public static final java.lang.String TIME_SLICE_END_POOL_SYSTEM_VALUE
Constant indicating the value in the system value QTSEPPOOL is used.
See Also:
TIME_SLICE_END_POOL

TOTAL_RESPONSE_TIME

public static final int TOTAL_RESPONSE_TIME
Job attribute representing the total amount of response time for the initial thread, in milliseconds. This value does not include the time used by the machine, by the attached input/output (I/O) hardware, and by the transmission lines for sending and receiving data. This value is 0 for jobs that have no interactions. A value of -1 is returned if this field is not large enough to hold the actual result.

Read-only: true

Type: Integer

See Also:
getTotalResponseTime()

UNIT_OF_WORK_ID

public static final int UNIT_OF_WORK_ID
Job attribute representing the unit of work ID used to track jobs across multiple systems. If a job is not associated with a source or target system using advanced program-to-program communications (APPC), this information is not used. Every job on the system is assigned a unit of work ID. The unit-of-work identifier is made up of:
  1. LOCATION_NAME
  2. NETWORK_ID
  3. INSTANCE
  4. SEQUENCE_NUMBER

Read-only: true

Type: String

See Also:
getWorkIDUnit()

USER_LIBRARY_LIST

public static final int USER_LIBRARY_LIST
Job attribute representing the user portion of the library list for the initial thread of a job.

Read-only: true

Type: String

Can be loaded by JobList: false

See Also:
getNumberOfLibrariesInUSRLIBL(), getUserLibraryList()

USER_NAME

public static final 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. It can come from several different sources, depending on the type of job. This may be different than the user profile under which the job is currently running. See the CURRENT_USER attribute for more information. Possible values are:

Type: String

See Also:
CURRENT_USER, getUser(), setUser(java.lang.String)

USER_NAME_BLANK

public static final java.lang.String USER_NAME_BLANK
Constant indicating a blank user name. This must be used when JOB_NAME_INTERNAL or JOB_NAME_CURRENT is specified for the JOB_NAME.
See Also:
USER_NAME

USER_RETURN_CODE

public static final int USER_RETURN_CODE
Job attribute representing the user-defined return code set by ILE high-level language constructs. An example is the program return code in the C language. This field is scoped to the job and represents the most recent return code set by any thread within the job.

Read-only: true

Type: Integer

Constructor Detail

Job

public Job()
Constructs a Job object. The system and basic job information must be set before connecting to the server.
See Also:
setName(java.lang.String), setNumber(java.lang.String), setSystem(com.ibm.as400.access.AS400), setUser(java.lang.String)

Job

public Job(AS400 system)
Constructs a Job object. The job name, user name, and job number of the job that this program is running in will be used. Typically, that will be the job information for the remote command host server job associated with the specified AS400 object.
Parameters:
system - The system.
See Also:
setName(java.lang.String), setNumber(java.lang.String), setUser(java.lang.String)

Job

public Job(AS400 system,
           java.lang.String jobName,
           java.lang.String userName,
           java.lang.String jobNumber)
Constructs a Job object.
Parameters:
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.

Job

public Job(AS400 system,
           java.lang.String internalJobID)
Constructs a Job object. This sets the job name to JOB_NAME_INTERNAL, the user name to USER_NAME_BLANK, and the job number to JOB_NUMBER_BLANK.
Parameters:
system - The system.
internalJobID - The internal job identifier.
Method Detail

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds a PropertyChangeListener. The specified PropertyChangeListener's propertyChange() method will be called each time the value of any bound property is changed.
Parameters:
listener - The listener.

addVetoableChangeListener

public void addVetoableChangeListener(java.beans.VetoableChangeListener listener)
Adds a VetoableChangeListener. The specified VetoableChangeListener's vetoableChange() method will be called each time the value of any constrained property is changed.
Parameters:
listener - The listener.

commitChanges

public void commitChanges()
                   throws AS400Exception,
                          AS400SecurityException,
                          ConnectionDroppedException,
                          ErrorCompletingRequestException,
                          java.lang.InterruptedException,
                          java.io.IOException,
                          ObjectDoesNotExistException,
                          java.io.UnsupportedEncodingException
Commits all uncommitted attribute changes. Calling this method will set all uncommitted attribute changes to the job on the server.
Throws:
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.

end

public void end(int delay)
         throws AS400Exception,
                AS400SecurityException,
                ErrorCompletingRequestException,
                java.io.IOException,
                java.lang.InterruptedException,
                ObjectDoesNotExistException,
                java.io.UnsupportedEncodingException
Ends this job. To end the job controlled, specify -1 for the delay. To end the job immediately, specify 0 for the delay. Specify any other amount of delay time (in seconds) allowed for the job to cleanup.
Parameters:
delay - The delay time in seconds.
Throws:
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.
See Also:
hold(boolean), release()

getAuxiliaryIORequests

public int getAuxiliaryIORequests()
                           throws AS400Exception,
                                  AS400SecurityException,
                                  ConnectionDroppedException,
                                  ErrorCompletingRequestException,
                                  java.lang.InterruptedException,
                                  java.io.IOException,
                                  ObjectDoesNotExistException,
                                  java.io.UnsupportedEncodingException
Returns the number of auxiliary I/O requests for the initial thread of this job.
Returns:
The number of auxiliary I/O requests.
Throws:
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.
See Also:
AUXILIARY_IO_REQUESTS

getBreakMessageHandling

public java.lang.String getBreakMessageHandling()
                                         throws AS400Exception,
                                                AS400SecurityException,
                                                ConnectionDroppedException,
                                                ErrorCompletingRequestException,
                                                java.lang.InterruptedException,
                                                java.io.IOException,
                                                ObjectDoesNotExistException,
                                                java.io.UnsupportedEncodingException
Returns a value which represents how this job handles break messages.
Returns:
How this job handles break messages. Possible values are:
Throws:
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.
See Also:
BREAK_MESSAGE_HANDLING

getCacheChanges

public boolean getCacheChanges()
Indicates if the attribute value changes are cached.
Returns:
true if attribute value changes are cached, false if attribute value changes are committed immediatly. The default is true.
See Also:
commitChanges(), getValue(int), setCacheChanges(boolean), setValue(int, java.lang.Object)

getCodedCharacterSetID

public int getCodedCharacterSetID()
                           throws AS400Exception,
                                  AS400SecurityException,
                                  ConnectionDroppedException,
                                  ErrorCompletingRequestException,
                                  java.lang.InterruptedException,
                                  java.io.IOException,
                                  ObjectDoesNotExistException,
                                  java.io.UnsupportedEncodingException
Returns the coded character set identifier (CCSID).
Returns:
The coded character set identifier.
Throws:
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.
See Also:
CCSID

getCompletionStatus

public java.lang.String getCompletionStatus()
                                     throws AS400Exception,
                                            AS400SecurityException,
                                            ConnectionDroppedException,
                                            ErrorCompletingRequestException,
                                            java.lang.InterruptedException,
                                            java.io.IOException,
                                            ObjectDoesNotExistException,
                                            java.io.UnsupportedEncodingException
Returns the completion status of the job.
Returns:
The completion status of the job. Possible values are:
Throws:
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.
See Also:
COMPLETION_STATUS

getCountryID

public java.lang.String getCountryID()
                              throws AS400Exception,
                                     AS400SecurityException,
                                     ConnectionDroppedException,
                                     ErrorCompletingRequestException,
                                     java.lang.InterruptedException,
                                     java.io.IOException,
                                     ObjectDoesNotExistException,
                                     java.io.UnsupportedEncodingException
Returns the country ID.
Returns:
The country ID.
Throws:
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.
See Also:
COUNTRY_ID

getCPUUsed

public int getCPUUsed()
               throws AS400Exception,
                      AS400SecurityException,
                      ConnectionDroppedException,
                      ErrorCompletingRequestException,
                      java.lang.InterruptedException,
                      java.io.IOException,
                      ObjectDoesNotExistException,
                      java.io.UnsupportedEncodingException
Returns the amount of processing time used (in milliseconds) that the job used.
Returns:
The amount of processing time used (in milliseconds) the the job used.
Throws:
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.
See Also:
CPU_TIME_USED

getCurrentLibrary

public java.lang.String getCurrentLibrary()
                                   throws AS400Exception,
                                          AS400SecurityException,
                                          ConnectionDroppedException,
                                          ErrorCompletingRequestException,
                                          java.lang.InterruptedException,
                                          java.io.IOException,
                                          ObjectDoesNotExistException,
                                          java.io.UnsupportedEncodingException
Returns the name of the current library for the initial thread of the job.
Returns:
The name of the current library for the initial thread of the job.
Throws:
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.
See Also:
CURRENT_LIBRARY

getCurrentLibraryExistence

public boolean getCurrentLibraryExistence()
                                   throws AS400Exception,
                                          AS400SecurityException,
                                          ConnectionDroppedException,
                                          ErrorCompletingRequestException,
                                          java.lang.InterruptedException,
                                          java.io.IOException,
                                          ObjectDoesNotExistException,
                                          java.io.UnsupportedEncodingException
Indicates if a current library exists.
Returns:
true if a current library exists, false otherwise.
Throws:
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.
See Also:
CURRENT_LIBRARY_EXISTENCE

getDate

public java.util.Date getDate()
                       throws AS400Exception,
                              AS400SecurityException,
                              ConnectionDroppedException,
                              ErrorCompletingRequestException,
                              java.lang.InterruptedException,
                              java.io.IOException,
                              ObjectDoesNotExistException,
                              java.io.UnsupportedEncodingException
Returns the date and time when the job was placed on the system.
Returns:
The date and time when the job was placed on the system.
Throws:
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.
See Also:
DATE_ENTERED_SYSTEM

getDateFormat

public java.lang.String getDateFormat()
                               throws AS400Exception,
                                      AS400SecurityException,
                                      ConnectionDroppedException,
                                      ErrorCompletingRequestException,
                                      java.lang.InterruptedException,
                                      java.io.IOException,
                                      ObjectDoesNotExistException,
                                      java.io.UnsupportedEncodingException
Returns the format in which dates are presented.
Returns:
The format in which dates are presented. Possible values are:
Throws:
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.
See Also:
DATE_FORMAT

getDateSeparator

public java.lang.String getDateSeparator()
                                  throws AS400Exception,
                                         AS400SecurityException,
                                         ConnectionDroppedException,
                                         ErrorCompletingRequestException,
                                         java.lang.InterruptedException,
                                         java.io.IOException,
                                         ObjectDoesNotExistException,
                                         java.io.UnsupportedEncodingException
Returns the date separator. The date separator is used to separate days, months, and years when representing a date.
Returns:
The date separator.
Throws:
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.
See Also:
DATE_SEPARATOR

getDDMConversationHandling

public java.lang.String getDDMConversationHandling()
                                            throws AS400Exception,
                                                   AS400SecurityException,
                                                   ConnectionDroppedException,
                                                   ErrorCompletingRequestException,
                                                   java.lang.InterruptedException,
                                                   java.io.IOException,
                                                   ObjectDoesNotExistException,
                                                   java.io.UnsupportedEncodingException
Returns whether connections using distributed data management (DDM) protocols remain active when they are not being used.
Returns:
Whether connections using distributed data management (DDM) protocols remain active when they are not being used. Possible values are:
Throws:
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.
See Also:
KEEP_DDM_CONNECTIONS_ACTIVE

getDecimalFormat

public java.lang.String getDecimalFormat()
                                  throws AS400Exception,
                                         AS400SecurityException,
                                         ConnectionDroppedException,
                                         ErrorCompletingRequestException,
                                         java.lang.InterruptedException,
                                         java.io.IOException,
                                         ObjectDoesNotExistException,
                                         java.io.UnsupportedEncodingException
Returns the decimal format used for this job.
Returns:
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.
Throws:
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.
See Also:
DECIMAL_FORMAT

getDefaultCodedCharacterSetIdentifier

public int getDefaultCodedCharacterSetIdentifier()
                                          throws AS400Exception,
                                                 AS400SecurityException,
                                                 ConnectionDroppedException,
                                                 ErrorCompletingRequestException,
                                                 java.lang.InterruptedException,
                                                 java.io.IOException,
                                                 ObjectDoesNotExistException,
                                                 java.io.UnsupportedEncodingException
Returns the default coded character set identifier (CCSID) for this job.
Returns:
The default coded character set identifier (CCSID) for this job. The value will be 0 if the job is not active.
Throws:
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.
See Also:
DEFAULT_CCSID

getDefaultWait

public int getDefaultWait()
                   throws AS400Exception,
                          AS400SecurityException,
                          ConnectionDroppedException,
                          ErrorCompletingRequestException,
                          java.lang.InterruptedException,
                          java.io.IOException,
                          ObjectDoesNotExistException,
                          java.io.UnsupportedEncodingException
Returns the default maximum time (in seconds) that a thread in the job waits for a system instruction.
Returns:
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.
Throws:
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.
See Also:
DEFAULT_WAIT_TIME

getDeviceRecoveryAction

public java.lang.String getDeviceRecoveryAction()
                                         throws AS400Exception,
                                                AS400SecurityException,
                                                ConnectionDroppedException,
                                                ErrorCompletingRequestException,
                                                java.lang.InterruptedException,
                                                java.io.IOException,
                                                ObjectDoesNotExistException,
                                                java.io.UnsupportedEncodingException
Returns the action taken for interactive jobs when an I/O error occurs for the job's requesting program device.
Returns:
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 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.
Throws:
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.
See Also:
DEVICE_RECOVERY_ACTION

getEndSeverity

public int getEndSeverity()
                   throws AS400Exception,
                          AS400SecurityException,
                          ConnectionDroppedException,
                          ErrorCompletingRequestException,
                          java.lang.InterruptedException,
                          java.io.IOException,
                          ObjectDoesNotExistException,
                          java.io.UnsupportedEncodingException
Returns the message severity level of escape messages that can cause a batch job to end. The batch job ends when a request in the batch input stream sends an escape message, whose severity is equal to or greater than this value, to the request processing program.
Returns:
The message severity level of escape messages that can cause a batch job to end.
Throws:
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.
See Also:
END_SEVERITY

getFunctionName

public java.lang.String getFunctionName()
                                 throws AS400Exception,
                                        AS400SecurityException,
                                        ConnectionDroppedException,
                                        ErrorCompletingRequestException,
                                        java.lang.InterruptedException,
                                        java.io.IOException,
                                        ObjectDoesNotExistException,
                                        java.io.UnsupportedEncodingException
Returns additional information about the function the initial thread is currently performing. This information is updated only when a command is processed.
Returns:
The additional information about the function the initial thread is currently performing.
Throws:
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.
See Also:
FUNCTION_NAME

getFunctionType

public java.lang.String getFunctionType()
                                 throws AS400Exception,
                                        AS400SecurityException,
                                        ConnectionDroppedException,
                                        ErrorCompletingRequestException,
                                        java.lang.InterruptedException,
                                        java.io.IOException,
                                        ObjectDoesNotExistException,
                                        java.io.UnsupportedEncodingException
Returns the high-level function type the initial thread is performing, if any.
Returns:
The high-level function type the initial thread is performing, if any. Possible values are:
Throws:
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.
See Also:
FUNCTION_TYPE

getInquiryMessageReply

public java.lang.String getInquiryMessageReply()
                                        throws AS400Exception,
                                               AS400SecurityException,
                                               ConnectionDroppedException,
                                               ErrorCompletingRequestException,
                                               java.lang.InterruptedException,
                                               java.io.IOException,
                                               ObjectDoesNotExistException,
                                               java.io.UnsupportedEncodingException
Returns how the job answers inquiry messages.
Returns:
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.
Throws:
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.
See Also:
INQUIRY_MESSAGE_REPLY

getInteractiveTransactions

public int getInteractiveTransactions()
                               throws AS400Exception,
                                      AS400SecurityException,
                                      ConnectionDroppedException,
                                      ErrorCompletingRequestException,
                                      java.lang.InterruptedException,
                                      java.io.IOException,
                                      ObjectDoesNotExistException,
                                      java.io.UnsupportedEncodingException
Returns the number of interactive transactions.
Returns:
The number of interactive transactions.
Throws:
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.
See Also:
INTERACTIVE_TRANSACTIONS

getInternalJobID

public java.lang.String getInternalJobID()
Returns the internal job identifier.
Returns:
The internal job identifier.

getJobAccountingCode

public java.lang.String getJobAccountingCode()
                                      throws AS400Exception,
                                             AS400SecurityException,
                                             ConnectionDroppedException,
                                             ErrorCompletingRequestException,
                                             java.lang.InterruptedException,
                                             java.io.IOException,
                                             ObjectDoesNotExistException,
                                             java.io.UnsupportedEncodingException
Returns the identifier assigned to the job by the system to collect resource use information for the job when job accounting is active.
Returns:
The identifier assigned to the job by the system to collect resource use information for the job when job accounting is active.
Throws:
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.
See Also:
ACCOUNTING_CODE

getJobActiveDate

public java.util.Date getJobActiveDate()
                                throws AS400Exception,
                                       AS400SecurityException,
                                       ConnectionDroppedException,
                                       ErrorCompletingRequestException,
                                       java.lang.InterruptedException,
                                       java.io.IOException,
                                       ObjectDoesNotExistException,
                                       java.io.UnsupportedEncodingException
Returns the date and time when the job began to run on the system.
Returns:
The date and time when the job began to run on the system.
Throws:
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.
See Also:
DATE_STARTED

getJobDate

public java.util.Date getJobDate()
                          throws AS400Exception,
                                 AS400SecurityException,
                                 ConnectionDroppedException,
                                 ErrorCompletingRequestException,
                                 java.lang.InterruptedException,
                                 java.io.IOException,
                                 ObjectDoesNotExistException,
                                 java.io.UnsupportedEncodingException
Returns the date to be used for the job.
Returns:
The date to be used for the job.
Throws:
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.
See Also:
JOB_DATE

getJobDescription

public java.lang.String getJobDescription()
                                   throws AS400Exception,
                                          AS400SecurityException,
                                          ConnectionDroppedException,
                                          ErrorCompletingRequestException,
                                          java.lang.InterruptedException,
                                          java.io.IOException,
                                          ObjectDoesNotExistException,
                                          java.io.UnsupportedEncodingException
Returns the fully qualified integrated path name for the job description.
Returns:
The fully qualified integrated path name for the job description.
Throws:
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.
See Also:
JOB_DESCRIPTION, QSYSObjectPathName

getJobEndedDate

public java.util.Date getJobEndedDate()
                               throws AS400Exception,
                                      AS400SecurityException,
                                      ConnectionDroppedException,
                                      ErrorCompletingRequestException,
                                      java.lang.InterruptedException,
                                      java.io.IOException,
                                      ObjectDoesNotExistException,
                                      java.io.UnsupportedEncodingException
Returns the date and time when the job ended.
Returns:
The date and time when the job ended.
Throws:
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.
See Also:
DATE_ENDED

getJobEnterSystemDate

public java.util.Date getJobEnterSystemDate()
                                     throws AS400Exception,
                                            AS400SecurityException,
                                            ConnectionDroppedException,
                                            ErrorCompletingRequestException,
                                            java.lang.InterruptedException,
                                            java.io.IOException,
                                            ObjectDoesNotExistException,
                                            java.io.UnsupportedEncodingException
Returns the date and time when the job was placed on the system.
Returns:
The date and time when the job was placed on the system.
Throws:
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.
See Also:
DATE_ENTERED_SYSTEM

getJobLog

public JobLog getJobLog()
Returns the job log.
Returns:
The job log.

getJobMessageQueueFullAction

public java.lang.String getJobMessageQueueFullAction()
                                              throws AS400Exception,
                                                     AS400SecurityException,
                                                     ConnectionDroppedException,
                                                     ErrorCompletingRequestException,
                                                     java.lang.InterruptedException,
                                                     java.io.IOException,
                                                     ObjectDoesNotExistException,
                                                     java.io.UnsupportedEncodingException
Returns the action to take when the message queue is full.
Returns:
The action to take when the message queue is full. Possible values are:
Throws:
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.
See Also:
MESSAGE_QUEUE_ACTION

getJobMessageQueueMaximumSize

public int getJobMessageQueueMaximumSize()
                                  throws AS400Exception,
                                         AS400SecurityException,
                                         ConnectionDroppedException,
                                         ErrorCompletingRequestException,
                                         java.lang.InterruptedException,
                                         java.io.IOException,
                                         ObjectDoesNotExistException,
                                         java.io.UnsupportedEncodingException
Returns the maximum size (in megabytes) that the job message queue can become.
Returns:
The maximum size (in megabytes) that the job message queue can become. The range is 2 through 64.
Throws:
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.
See Also:
MESSAGE_QUEUE_MAX_SIZE

getJobPutOnJobQueueDate

public java.util.Date getJobPutOnJobQueueDate()
                                       throws AS400Exception,
                                              AS400SecurityException,
                                              ConnectionDroppedException,
                                              ErrorCompletingRequestException,
                                              java.lang.InterruptedException,
                                              java.io.IOException,
                                              ObjectDoesNotExistException,
                                              java.io.UnsupportedEncodingException
Returns the date and time the job was put on the job queue.
Returns:
The date and time the job was put on the job queue.
Throws:
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.
See Also:
JOB_QUEUE_DATE

getScheduleDate

public java.util.Date getScheduleDate()
                               throws AS400Exception,
                                      AS400SecurityException,
                                      ConnectionDroppedException,
                                      ErrorCompletingRequestException,
                                      java.lang.InterruptedException,
                                      java.io.IOException,
                                      ObjectDoesNotExistException,
                                      java.io.UnsupportedEncodingException
Returns the date and time the job is scheduled to become active.
Returns:
The date and time the job is scheduled to become active.
Throws:
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.
See Also:
SCHEDULE_DATE

getJobStatusInJobQueue

public java.lang.String getJobStatusInJobQueue()
                                        throws AS400Exception,
                                               AS400SecurityException,
                                               ConnectionDroppedException,
                                               ErrorCompletingRequestException,
                                               java.lang.InterruptedException,
                                               java.io.IOException,
                                               ObjectDoesNotExistException,
                                               java.io.UnsupportedEncodingException
Returns the status of the job on the job queue.
Returns:
The status of the job on the job queue. Possible values are:
Throws:
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.
See Also:
JOB_QUEUE_STATUS

getJobSwitches

public java.lang.String getJobSwitches()
                                throws AS400Exception,
                                       AS400SecurityException,
                                       ConnectionDroppedException,
                                       ErrorCompletingRequestException,
                                       java.lang.InterruptedException,
                                       java.io.IOException,
                                       ObjectDoesNotExistException,
                                       java.io.UnsupportedEncodingException
Returns the current setting of the job switches used by this job.
Returns:
The current setting of the job switches used by this job.
Throws:
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.
See Also:
JOB_SWITCHES

getLanguageID

public java.lang.String getLanguageID()
                               throws AS400Exception,
                                      AS400SecurityException,
                                      ConnectionDroppedException,
                                      ErrorCompletingRequestException,
                                      java.lang.InterruptedException,
                                      java.io.IOException,
                                      ObjectDoesNotExistException,
                                      java.io.UnsupportedEncodingException
Returns the language identifier associated with this job.
Returns:
The language identifier associated with this job.
Throws:
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.
See Also:
LANGUAGE_ID

getLoggingCLPrograms

public java.lang.String getLoggingCLPrograms()
                                      throws AS400Exception,
                                             AS400SecurityException,
                                             ConnectionDroppedException,
                                             ErrorCompletingRequestException,
                                             java.lang.InterruptedException,
                                             java.io.IOException,
                                             ObjectDoesNotExistException,
                                             java.io.UnsupportedEncodingException
Returns a value indicating whether or not messages are logged for CL programs.
Returns:
The value indicating whether or not messages are logged for CL programs. Possible values are: LOG_CL_PROGRAMS_YES and LOG_CL_PROGRAMS_NO .
Throws:
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.
See Also:
LOG_CL_PROGRAMS

getLoggingLevel

public int getLoggingLevel()
                    throws AS400Exception,
                           AS400SecurityException,
                           ConnectionDroppedException,
                           ErrorCompletingRequestException,
                           java.lang.InterruptedException,
                           java.io.IOException,
                           ObjectDoesNotExistException,
                           java.io.UnsupportedEncodingException
Returns the type of information logged.
Returns:
The type of information logged. Possible values are:
  • 0 - No messages are logged.
  • 1 - All messages sent to the job's external message queue with a severity greater than or equal to the message logging severity are logged.
  • 2 - Requests or commands from CL programs for which the system issues messages with a severity code greater than or equal to the logging severity and all messages associated with those requests or commands that have a severity code greater than or equal to the logging severity are logged.
  • 3 - All requests or commands from CL programs and all messages associated with those requests or commands that have a severity code greater than or equal to the logging severity are logged.
  • 4 - All requests or commands from CL programs and all messages with a severity code greater than or equal to the logging severity are logged.
Throws:
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.
See Also:
LOGGING_LEVEL

getLoggingSeverity

public int getLoggingSeverity()
                       throws AS400Exception,
                              AS400SecurityException,
                              ConnectionDroppedException,
                              ErrorCompletingRequestException,
                              java.lang.InterruptedException,
                              java.io.IOException,
                              ObjectDoesNotExistException,
                              java.io.UnsupportedEncodingException
Returns the minimum severity level that causes error messages to be logged in the job log.
Returns:
The minimum severity level that causes error messages to be logged in the job log.
Throws:
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.
See Also:
LOGGING_SEVERITY

getLoggingText

public java.lang.String getLoggingText()
                                throws AS400Exception,
                                       AS400SecurityException,
                                       ConnectionDroppedException,
                                       ErrorCompletingRequestException,
                                       java.lang.InterruptedException,
                                       java.io.IOException,
                                       ObjectDoesNotExistException,
                                       java.io.UnsupportedEncodingException
Returns the level of message text that is written in the job log or displayed to the user.
Returns:
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.
Throws:
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.
See Also:
LOGGING_TEXT

getModeName

public java.lang.String getModeName()
                             throws AS400Exception,
                                    AS400SecurityException,
                                    ConnectionDroppedException,
                                    ErrorCompletingRequestException,
                                    java.lang.InterruptedException,
                                    java.io.IOException,
                                    ObjectDoesNotExistException,
                                    java.io.UnsupportedEncodingException
Returns the mode name of the advanced program-to-program communications (APPC) device that started the job.
Returns:
The mode name of the advanced program-to-program communications (APPC) device that started the job.
Throws:
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.
See Also:
MODE

getName

public java.lang.String getName()
Returns the job name.
Returns:
The job name.

getNumber

public java.lang.String getNumber()
Returns the job number.
Returns:
The job number.

getNumberOfLibrariesInSYSLIBL

public int getNumberOfLibrariesInSYSLIBL()
                                  throws AS400Exception,
                                         AS400SecurityException,
                                         ConnectionDroppedException,
                                         ErrorCompletingRequestException,
                                         java.lang.InterruptedException,
                                         java.io.IOException,
                                         ObjectDoesNotExistException,
                                         java.io.UnsupportedEncodingException
Returns the number of libraries in the system portion of the library list of the initial thread.
Returns:
The number of libraries in the system portion of the library list of the initial thread.
Throws:
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.
See Also:
SYSTEM_LIBRARY_LIST

getNumberOfLibrariesInUSRLIBL

public int getNumberOfLibrariesInUSRLIBL()
                                  throws AS400Exception,
                                         AS400SecurityException,
                                         ConnectionDroppedException,
                                         ErrorCompletingRequestException,
                                         java.lang.InterruptedException,
                                         java.io.IOException,
                                         ObjectDoesNotExistException,
                                         java.io.UnsupportedEncodingException
Returns the number of libraries in the user portion of the library list of the initial thread.
Returns:
The number of libraries in the user portion of the library list of the initial thread.
Throws:
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.
See Also:
USER_LIBRARY_LIST

getNumberOfProductLibraries

public int getNumberOfProductLibraries()
                                throws AS400Exception,
                                       AS400SecurityException,
                                       ConnectionDroppedException,
                                       ErrorCompletingRequestException,
                                       java.lang.InterruptedException,
                                       java.io.IOException,
                                       ObjectDoesNotExistException,
                                       java.io.UnsupportedEncodingException
Returns the number of libraries that contain product information for the initial thread.
Returns:
The number of libraries that contain product information for the initial thread.
Throws:
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.
See Also:
PRODUCT_LIBRARIES

getOutputQueue

public java.lang.String getOutputQueue()
                                throws AS400Exception,
                                       AS400SecurityException,
                                       ConnectionDroppedException,
                                       ErrorCompletingRequestException,
                                       java.lang.InterruptedException,
                                       java.io.IOException,
                                       ObjectDoesNotExistException,
                                       java.io.UnsupportedEncodingException
Returns the fully qualified integrated file system path name of the default output queue that is used for spooled output produced by this job.
Returns:
The fully qualified integrated file system path name of the default output queue that is used for spooled output produced by this job.
Throws:
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.
See Also:
OUTPUT_QUEUE, QSYSObjectPathName

getOutputQueuePriority

public int getOutputQueuePriority()
                           throws AS400Exception,
                                  AS400SecurityException,
                                  ConnectionDroppedException,
                                  ErrorCompletingRequestException,
                                  java.lang.InterruptedException,
                                  java.io.IOException,
                                  ObjectDoesNotExistException,
                                  java.io.UnsupportedEncodingException
Returns the output priority for spooled files that this job produces.
Returns:
The output priority for spooled files that this job produces. The highest priority is 0 and the lowest is 9.
Throws:
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.
See Also:
OUTPUT_QUEUE_PRIORITY

getPoolIdentifier

public int getPoolIdentifier()
                      throws AS400Exception,
                             AS400SecurityException,
                             ConnectionDroppedException,
                             ErrorCompletingRequestException,
                             java.lang.InterruptedException,
                             java.io.IOException,
                             ObjectDoesNotExistException,
                             java.io.UnsupportedEncodingException
Returns the identifier of the system-related pool from which the job's main storage is allocated.
Returns:
The identifier of the system-related pool from which the job's main storage is allocated.
Throws:
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.
See Also:
SYSTEM_POOL_ID

getPrinterDeviceName

public java.lang.String getPrinterDeviceName()
                                      throws AS400Exception,
                                             AS400SecurityException,
                                             ConnectionDroppedException,
                                             ErrorCompletingRequestException,
                                             java.lang.InterruptedException,
                                             java.io.IOException,
                                             ObjectDoesNotExistException,
                                             java.io.UnsupportedEncodingException
Returns the printer device used for printing output from this job.
Returns:
The printer device used for printing output from this job.
Throws:
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.
See Also:
PRINTER_DEVICE_NAME

getPrintKeyFormat

public java.lang.String getPrintKeyFormat()
                                   throws AS400Exception,
                                          AS400SecurityException,
                                          ConnectionDroppedException,
                                          ErrorCompletingRequestException,
                                          java.lang.InterruptedException,
                                          java.io.IOException,
                                          ObjectDoesNotExistException,
                                          java.io.UnsupportedEncodingException
Returns a value indicating whether border and header information is provided when the Print key is pressed.
Returns:
The value indicating whether border and header information is provided when the Print key is pressed.
Throws:
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.
See Also:
PRINT_KEY_FORMAT

getPrintText

public java.lang.String getPrintText()
                              throws AS400Exception,
                                     AS400SecurityException,
                                     ConnectionDroppedException,
                                     ErrorCompletingRequestException,
                                     java.lang.InterruptedException,
                                     java.io.IOException,
                                     ObjectDoesNotExistException,
                                     java.io.UnsupportedEncodingException
Returns the line of text, if any, that is printed at the bottom of each page of printed output for the job.
Returns:
The line of text, if any, that is printed at the bottom of each page of printed output for the job.
Throws:
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.
See Also:
PRINT_TEXT

getProductLibraries

public java.lang.String[] getProductLibraries()
                                       throws AS400Exception,
                                              AS400SecurityException,
                                              ConnectionDroppedException,
                                              ErrorCompletingRequestException,
                                              java.lang.InterruptedException,
                                              java.io.IOException,
                                              ObjectDoesNotExistException,
                                              java.io.UnsupportedEncodingException
Returns the libraries that contain product information for the initial thread.
Returns:
The libraries that contain product information for the initial thread.
Throws:
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.
See Also:
PRODUCT_LIBRARIES

getPurge

public boolean getPurge()
                 throws AS400Exception,
                        AS400SecurityException,
                        ConnectionDroppedException,
                        ErrorCompletingRequestException,
                        java.lang.InterruptedException,
                        java.io.IOException,
                        ObjectDoesNotExistException,
                        java.io.UnsupportedEncodingException
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.
Returns:
true 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, or false otherwise.
Throws:
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.
See Also:
ELIGIBLE_FOR_PURGE

getQueue

public java.lang.String getQueue()
                          throws AS400Exception,
                                 AS400SecurityException,
                                 ConnectionDroppedException,
                                 ErrorCompletingRequestException,
                                 java.lang.InterruptedException,
                                 java.io.IOException,
                                 ObjectDoesNotExistException,
                                 java.io.UnsupportedEncodingException
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.
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.
Throws:
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.
See Also:
JOB_QUEUE, QSYSObjectPathName

getQueuePriority

public int getQueuePriority()
                     throws AS400Exception,
                            AS400SecurityException,
                            ConnectionDroppedException,
                            ErrorCompletingRequestException,
                            java.lang.InterruptedException,
                            java.io.IOException,
                            ObjectDoesNotExistException,
                            java.io.UnsupportedEncodingException
Returns the scheduling priority of the job compared to other jobs on the same job queue.
Returns:
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.
Throws:
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.
See Also:
JOB_QUEUE_PRIORITY

getRoutingData

public java.lang.String getRoutingData()
                                throws AS400Exception,
                                       AS400SecurityException,
                                       ConnectionDroppedException,
                                       ErrorCompletingRequestException,
                                       java.lang.InterruptedException,
                                       java.io.IOException,
                                       ObjectDoesNotExistException,
                                       java.io.UnsupportedEncodingException
Returns the routing data that is used to determine the routing entry that identifies the program to start for the routing step.
Returns:
The routing data that is used to determine the routing entry that identifies the program to start for the routing step.
Throws:
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.
See Also:
ROUTING_DATA

getRunPriority

public int getRunPriority()
                   throws AS400Exception,
                          AS400SecurityException,
                          ConnectionDroppedException,
                          ErrorCompletingRequestException,
                          java.lang.InterruptedException,
                          java.io.IOException,
                          ObjectDoesNotExistException,
                          java.io.UnsupportedEncodingException
Returns the priority at which the job is currently running, relative to other jobs on the system.
Returns:
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).
Throws:
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.
See Also:
RUN_PRIORITY

getSignedOnJob

public boolean getSignedOnJob()
                       throws AS400Exception,
                              AS400SecurityException,
                              ConnectionDroppedException,
                              ErrorCompletingRequestException,
                              java.lang.InterruptedException,
                              java.io.IOException,
                              ObjectDoesNotExistException,
                              java.io.UnsupportedEncodingException
Indicates whether the job is to be treated like a signed-on user on the system.
Returns:
true if the job is to be treated like a signed-on user on the system, false otherwise.
Throws:
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.
See Also:
SIGNED_ON_JOB

getSortSequenceTable

public java.lang.String getSortSequenceTable()
                                      throws AS400Exception,
                                             AS400SecurityException,
                                             ConnectionDroppedException,
                                             ErrorCompletingRequestException,
                                             java.lang.InterruptedException,
                                             java.io.IOException,
                                             ObjectDoesNotExistException,
                                             java.io.UnsupportedEncodingException
Returns the fully qualified integrated file system path name of the sort sequence table.
Returns:
The fully qualified integrated file system path name of the sort sequence table.
Throws:
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.
See Also:
SORT_SEQUENCE_TABLE, QSYSObjectPathName

getStatus

public java.lang.String getStatus()
                           throws AS400Exception,
                                  AS400SecurityException,
                                  ConnectionDroppedException,
                                  ErrorCompletingRequestException,
                                  java.lang.InterruptedException,
                                  java.io.IOException,
                                  ObjectDoesNotExistException,
                                  java.io.UnsupportedEncodingException
Returns the job status.
Returns:
The job status. Possible values are:
Throws:
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.
See Also:
JOB_STATUS

getStatusMessageHandling

public java.lang.String getStatusMessageHandling()
                                          throws AS400Exception,
                                                 AS400SecurityException,
                                                 ConnectionDroppedException,
                                                 ErrorCompletingRequestException,
                                                 java.lang.InterruptedException,
                                                 java.io.IOException,
                                                 ObjectDoesNotExistException,
                                                 java.io.UnsupportedEncodingException
Returns a value indicating status messages are displayed for this job.
Returns:
The value indicating status messages are displayed for this job.
Throws:
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.
See Also:
STATUS_MESSAGE_HANDLING

getSubsystem

public java.lang.String getSubsystem()
                              throws AS400Exception,
                                     AS400SecurityException,
                                     ConnectionDroppedException,
                                     ErrorCompletingRequestException,
                                     java.lang.InterruptedException,
                                     java.io.IOException,
                                     ObjectDoesNotExistException,
                                     java.io.UnsupportedEncodingException
Returns the fully qualified integrated file system path name of the subsystem description for the subsystem in which the job is running.
Returns:
The fully qualified integrated file system path name of the subsystem description for the subsystem in which the job is running.
Throws:
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.
See Also:
SUBSYSTEM, QSYSObjectPathName

getSubtype

public java.lang.String getSubtype()
                            throws AS400Exception,
                                   AS400SecurityException,
                                   ConnectionDroppedException,
                                   ErrorCompletingRequestException,
                                   java.lang.InterruptedException,
                                   java.io.IOException,
                                   ObjectDoesNotExistException,
                                   java.io.UnsupportedEncodingException
Returns additional information about the job type.
Returns:
Additional information about the job type. Possible values are:
Throws:
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.
See Also:
JOB_SUBTYPE

getSystem

public AS400 getSystem()
Returns the system.
Returns:
The system.

getSystemLibraryList

public java.lang.String[] getSystemLibraryList()
                                        throws AS400Exception,
                                               AS400SecurityException,
                                               ConnectionDroppedException,
                                               ErrorCompletingRequestException,
                                               java.lang.InterruptedException,
                                               java.io.IOException,
                                               ObjectDoesNotExistException,
                                               java.io.UnsupportedEncodingException
Returns the system portion of the library list of the initial thread.
Returns:
The system portion of the library list of the initial thread.
Throws:
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.
See Also:
SYSTEM_LIBRARY_LIST

getTimeSeparator

public java.lang.String getTimeSeparator()
                                  throws AS400Exception,
                                         AS400SecurityException,
                                         ConnectionDroppedException,
                                         ErrorCompletingRequestException,
                                         java.lang.InterruptedException,
                                         java.io.IOException,
                                         ObjectDoesNotExistException,
                                         java.io.UnsupportedEncodingException
Returns the value used to separate hours, minutes, and seconds when presenting a time.
Returns:
The value used to separate hours, minutes, and seconds when presenting a time.
Throws:
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.
See Also:
TIME_SEPARATOR

getTimeSlice

public int getTimeSlice()
                 throws AS400Exception,
                        AS400SecurityException,
                        ConnectionDroppedException,
                        ErrorCompletingRequestException,
                        java.lang.InterruptedException,
                        java.io.IOException,
                        ObjectDoesNotExistException,
                        java.io.UnsupportedEncodingException
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.
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.
Throws:
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.
See Also:
TIME_SLICE

getTimeSliceEndPool

public java.lang.String getTimeSliceEndPool()
                                     throws AS400Exception,
                                            AS400SecurityException,
                                            ConnectionDroppedException,
                                            ErrorCompletingRequestException,
                                            java.lang.InterruptedException,
                                            java.io.IOException,
                                            ObjectDoesNotExistException,
                                            java.io.UnsupportedEncodingException
Returns a value indicating whether a thread in an interactive job moves to another main storage pool at the end of its time slice.
Returns:
The value indicating whether a thread in an interactive job moves to another main storage pool at the end of its time slice. Possible values are:
Throws:
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.
See Also:
TIME_SLICE_END_POOL

getTotalResponseTime

public int getTotalResponseTime()
                         throws AS400Exception,
                                AS400SecurityException,
                                ConnectionDroppedException,
                                ErrorCompletingRequestException,
                                java.lang.InterruptedException,
                                java.io.IOException,
                                ObjectDoesNotExistException,
                                java.io.UnsupportedEncodingException
Returns the total amount of response time (in milliseconds) for the initial thread.
Returns:
The total amount of response time (in milliseconds) for the initial thread.
Throws:
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.
See Also:
TOTAL_RESPONSE_TIME

getType

public java.lang.String getType()
                         throws AS400Exception,
                                AS400SecurityException,
                                ConnectionDroppedException,
                                ErrorCompletingRequestException,
                                java.lang.InterruptedException,
                                java.io.IOException,
                                ObjectDoesNotExistException,
                                java.io.UnsupportedEncodingException
Returns the job type.
Returns:
The job type. Possible values are:
Throws:
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.
See Also:
JOB_TYPE

getUser

public java.lang.String getUser()
Returns the user name.
Returns:
The user name.

getUserLibraryList

public java.lang.String[] getUserLibraryList()
                                      throws AS400Exception,
                                             AS400SecurityException,
                                             ConnectionDroppedException,
                                             ErrorCompletingRequestException,
                                             java.lang.InterruptedException,
                                             java.io.IOException,
                                             ObjectDoesNotExistException,
                                             java.io.UnsupportedEncodingException
Returns the user portion of the library list of the initial thread.
Returns:
The user portion of the library list of the initial thread.
Throws:
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.
See Also:
USER_LIBRARY_LIST

getValue

public java.lang.Object getValue(int attribute)
                          throws AS400Exception,
                                 AS400SecurityException,
                                 ConnectionDroppedException,
                                 ErrorCompletingRequestException,
                                 java.lang.InterruptedException,
                                 java.io.IOException,
                                 ObjectDoesNotExistException,
                                 java.io.UnsupportedEncodingException
Returns the value for the specified job attribute. This is a generic way of retrieving job attributes, rather than using the specific getter methods. This method will either go to the system to retrieve the job attribute, or it will return a cached value if the attribute was previously retrieved or previously set by setValue() or one of the other setter methods. Use loadInformation() to refresh the attributes from the system.
Parameters:
attribute - The job attribute.
Returns:
The current value of the attribute.
See Also:
loadInformation(), setValue(int, java.lang.Object)

getWorkIDUnit

public java.lang.String getWorkIDUnit()
                               throws AS400Exception,
                                      AS400SecurityException,
                                      ConnectionDroppedException,
                                      ErrorCompletingRequestException,
                                      java.lang.InterruptedException,
                                      java.io.IOException,
                                      ObjectDoesNotExistException,
                                      java.io.UnsupportedEncodingException
Returns the unit of work identifier. The unit of work identifier is used to track jobs across multiple systems. If a job is not associated with a source or target system using advanced program-to-program communications (APPC), this information is not used. Every job on the system is assigned a unit of work identifier.
Returns:
The unit of work identifier, which is made up of:
  • Location name - 8 Characters. The name of the source system that originated the APPC job.
  • Network ID - 8 Characters. The network name associated with the unit of work.
  • Instance - 6 Characters. The value that further identifies the source of the job. This is shown as hexadecimal data.
  • Sequence Number - 2 Character. A value that identifies a check-point within the application program.
Throws:
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.
See Also:
LOCATION_NAME, NETWORK_ID, INSTANCE, SEQUENCE_NUMBER

hold

public void hold(boolean holdSpooledFiles)
          throws AS400Exception,
                 AS400SecurityException,
                 ErrorCompletingRequestException,
                 java.io.IOException,
                 java.lang.InterruptedException
Holds this job.
Parameters:
holdSpooledFiles - true to hold this job's spooled files; false otherwise.
See Also:
end(int), release()

loadInformation

public void loadInformation()
Refreshes the values for all attributes. This does not cancel uncommitted changes.
See Also:
commitChanges()

release

public void release()
             throws AS400Exception,
                    AS400SecurityException,
                    ErrorCompletingRequestException,
                    java.io.IOException,
                    java.lang.InterruptedException
Releases this job.
See Also:
end(int), hold(boolean)

removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Removes a PropertyChangeListener.
Parameters:
listener - The listener.
See Also:
addPropertyChangeListener(java.beans.PropertyChangeListener)

removeVetoableChangeListener

public void removeVetoableChangeListener(java.beans.VetoableChangeListener listener)
Removes a VetoableChangeListener.
Parameters:
listener - The listener.
See Also:
addVetoableChangeListener(java.beans.VetoableChangeListener)

setBreakMessageHandling

public void setBreakMessageHandling(java.lang.String breakMessageHandling)
                             throws AS400Exception,
                                    AS400SecurityException,
                                    ConnectionDroppedException,
                                    ErrorCompletingRequestException,
                                    java.lang.InterruptedException,
                                    java.io.IOException,
                                    ObjectDoesNotExistException,
                                    java.io.UnsupportedEncodingException
Sets how this job handles break messages.
Parameters:
breakMessageHandling - How this job handles break messages. Possible values are:
Throws:
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.
See Also:
BREAK_MESSAGE_HANDLING

setCacheChanges

public void setCacheChanges(boolean cacheChanges)
Sets the value indicating whether attribute value changes are committed immediately. The default is true. If any cached changes are not committed before this method is called with a value of false, those changes are lost.
Parameters:
cacheChanges - true to cache attribute value changes, false to commit all attribute value changes immediately.
See Also:
commitChanges(), getCacheChanges(), getValue(int), setValue(int, java.lang.Object)

setCodedCharacterSetID

public void setCodedCharacterSetID(int codedCharacterSetID)
                            throws AS400Exception,
                                   AS400SecurityException,
                                   ConnectionDroppedException,
                                   ErrorCompletingRequestException,
                                   java.lang.InterruptedException,
                                   java.io.IOException,
                                   ObjectDoesNotExistException,
                                   java.io.UnsupportedEncodingException
Sets the coded character set identifier (CCSID).
Parameters:
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.
Throws:
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.
See Also:
CCSID

setCountryID

public void setCountryID(java.lang.String countryID)
                  throws AS400Exception,
                         AS400SecurityException,
                         ConnectionDroppedException,
                         ErrorCompletingRequestException,
                         java.lang.InterruptedException,
                         java.io.IOException,
                         ObjectDoesNotExistException,
                         java.io.UnsupportedEncodingException
Sets the country ID.
Parameters:
countryID - The country ID. The following special values can be used:
Throws:
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.
See Also:
COUNTRY_ID

setDateFormat

public void setDateFormat(java.lang.String dateFormat)
                   throws AS400Exception,
                          AS400SecurityException,
                          ConnectionDroppedException,
                          ErrorCompletingRequestException,
                          java.lang.InterruptedException,
                          java.io.IOException,
                          ObjectDoesNotExistException,
                          java.io.UnsupportedEncodingException
Sets the format in which dates are presented.
Parameters:
dateFormat - The format in which dates are presented. Possible values are:
Throws:
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.
See Also:
DATE_FORMAT

setDateSeparator

public void setDateSeparator(java.lang.String dateSeparator)
                      throws AS400Exception,
                             AS400SecurityException,
                             ConnectionDroppedException,
                             ErrorCompletingRequestException,
                             java.lang.InterruptedException,
                             java.io.IOException,
                             ObjectDoesNotExistException,
                             java.io.UnsupportedEncodingException
Sets the value used to separate days, months, and years when presenting a date.
Parameters:
dateSeparator - The value used to separate days, months, and years when presenting a date. The following special value can be used:
Throws:
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.
See Also:
DATE_SEPARATOR

setDDMConversationHandling

public void setDDMConversationHandling(java.lang.String ddmConversationHandling)
                                throws AS400Exception,
                                       AS400SecurityException,
                                       ConnectionDroppedException,
                                       ErrorCompletingRequestException,
                                       java.lang.InterruptedException,
                                       java.io.IOException,
                                       ObjectDoesNotExistException,
                                       java.io.UnsupportedEncodingException
Sets whether connections using distributed data management (DDM) protocols remain active when they are not being used.
Parameters:
ddmConversationHandling - Whether connections using distributed data management (DDM) protocols remain active when they are not being used. Possible values are:
Throws:
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.
See Also:
KEEP_DDM_CONNECTIONS_ACTIVE

setDecimalFormat

public void setDecimalFormat(java.lang.String decimalFormat)
                      throws AS400Exception,
                             AS400SecurityException,
                             ConnectionDroppedException,
                             ErrorCompletingRequestException,
                             java.lang.InterruptedException,
                             java.io.IOException,
                             ObjectDoesNotExistException,
                             java.io.UnsupportedEncodingException
Sets the decimal format used for this job.
Parameters:
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.
Throws:
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.
See Also:
DECIMAL_FORMAT

setDefaultWait

public void setDefaultWait(int defaultWait)
                    throws AS400Exception,
                           AS400SecurityException,
                           ConnectionDroppedException,
                           ErrorCompletingRequestException,
                           java.lang.InterruptedException,
                           java.io.IOException,
                           ObjectDoesNotExistException,
                           java.io.UnsupportedEncodingException
Sets the default maximum time (in seconds) that a thread in the job waits for a system instruction.
Parameters:
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.
Throws:
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.
See Also:
DEFAULT_WAIT_TIME

setDeviceRecoveryAction

public void setDeviceRecoveryAction(java.lang.String deviceRecoveryAction)
                             throws AS400Exception,
                                    AS400SecurityException,
                                    ConnectionDroppedException,
                                    ErrorCompletingRequestException,
                                    java.lang.InterruptedException,
                                    java.io.IOException,
                                    ObjectDoesNotExistException,
                                    java.io.UnsupportedEncodingException
Sets the action taken for interactive jobs when an I/O error occurs for the job's requesting program device.
Parameters:
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.
    Throws:
    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.
    See Also:
    DEVICE_RECOVERY_ACTION

  • setInquiryMessageReply

    public void setInquiryMessageReply(java.lang.String inquiryMessageReply)
                                throws AS400Exception,
                                       AS400SecurityException,
                                       ConnectionDroppedException,
                                       ErrorCompletingRequestException,
                                       java.lang.InterruptedException,
                                       java.io.IOException,
                                       ObjectDoesNotExistException,
                                       java.io.UnsupportedEncodingException
    Sets how the job answers inquiry messages.
    Parameters:
    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.
    Throws:
    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.
    See Also:
    INQUIRY_MESSAGE_REPLY

    setInternalJobID

    public void setInternalJobID(java.lang.String internalJobID)
                          throws java.beans.PropertyVetoException
    Sets the internal job identifier. This does not change the job on the AS/400. Instead, it changes the job this Job object references. The job name must be set to "*INT" for this to be recognized. This cannot be changed if the object has established a connection to the AS/400.
    Parameters:
    internalJobID - The internal job identifier.
    Throws:
    java.beans.PropertyVetoException - If the property change is vetoed.

    setJobAccountingCode

    public void setJobAccountingCode(java.lang.String jobAccountingCode)
                              throws AS400Exception,
                                     AS400SecurityException,
                                     ConnectionDroppedException,
                                     ErrorCompletingRequestException,
                                     java.lang.InterruptedException,
                                     java.io.IOException,
                                     ObjectDoesNotExistException,
                                     java.io.UnsupportedEncodingException
    Sets the identifier assigned to the job by the system to collect resource use information for the job when job accounting is active.
    Parameters:
    jobAccountingCode - The identifier assigned to the job by the system to collect resource use information for the job when job accounting is active.
    Throws:
    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.
    See Also:
    ACCOUNTING_CODE

    setJobDate

    public void setJobDate(java.util.Date jobDate)
                    throws AS400Exception,
                           AS400SecurityException,
                           ConnectionDroppedException,
                           ErrorCompletingRequestException,
                           java.lang.InterruptedException,
                           java.io.IOException,
                           ObjectDoesNotExistException,
                           java.io.UnsupportedEncodingException
    Sets the date to be used for the job.
    Parameters:
    jobDate - The date to be used for the job.
    Throws:
    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.
    See Also:
    JOB_DATE

    setJobMessageQueueFullAction

    public void setJobMessageQueueFullAction(java.lang.String jobMessageQueueFullAction)
                                      throws AS400Exception,
                                             AS400SecurityException,
                                             ConnectionDroppedException,
                                             ErrorCompletingRequestException,
                                             java.lang.InterruptedException,
                                             java.io.IOException,
                                             ObjectDoesNotExistException,
                                             java.io.UnsupportedEncodingException
    Sets the action to take when the message queue is full.
    Parameters:
    jobMessageQueueFullAction - The action to take when the message queue is full. Possible values are:
    Throws:
    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.
    See Also:
    MESSAGE_QUEUE_ACTION

    setJobSwitches

    public void setJobSwitches(java.lang.String jobSwitches)
                        throws AS400Exception,
                               AS400SecurityException,
                               ConnectionDroppedException,
                               ErrorCompletingRequestException,
                               java.lang.InterruptedException,
                               java.io.IOException,
                               ObjectDoesNotExistException,
                               java.io.UnsupportedEncodingException
    Sets the current setting of the job switches used by this job.
    Parameters:
    jobSwitches - The current setting of the job switches used by this job.
    Throws:
    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.
    See Also:
    JOB_SWITCHES

    setLanguageID

    public void setLanguageID(java.lang.String languageID)
                       throws AS400Exception,
                              AS400SecurityException,
                              ConnectionDroppedException,
                              ErrorCompletingRequestException,
                              java.lang.InterruptedException,
                              java.io.IOException,
                              ObjectDoesNotExistException,
                              java.io.UnsupportedEncodingException
    Sets the language identifier associated with this job.
    Parameters:
    languageID - The language identifier associated with this job. The following special values can be used:
    Throws:
    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.
    See Also:
    LANGUAGE_ID

    setLoggingCLPrograms

    public void setLoggingCLPrograms(java.lang.String loggingCLPrograms)
                              throws AS400Exception,
                                     AS400SecurityException,
                                     ConnectionDroppedException,
                                     ErrorCompletingRequestException,
                                     java.lang.InterruptedException,
                                     java.io.IOException,
                                     ObjectDoesNotExistException,
                                     java.io.UnsupportedEncodingException
    Sets whether messages are logged for CL programs.
    Parameters:
    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 .
    Throws:
    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.
    See Also:
    LOG_CL_PROGRAMS

    setLoggingLevel

    public void setLoggingLevel(int loggingLevel)
                         throws AS400Exception,
                                AS400SecurityException,
                                ConnectionDroppedException,
                                ErrorCompletingRequestException,
                                java.lang.InterruptedException,
                                java.io.IOException,
                                ObjectDoesNotExistException,
                                java.io.UnsupportedEncodingException
    Sets the type of information that is logged.
    Parameters:
    loggingLevel - The type of information that is logged. Possible values are:
    • 0 - No messages are logged.
    • 1 - All messages sent to the job's external message queue with a severity greater than or equal to the message logging severity are logged.
    • 2 - Requests or commands from CL programs for which the system issues messages with a severity code greater than or equal to the logging severity and all messages associated with those requests or commands that have a severity code greater than or equal to the logging severity are logged.
    • 3 - All requests or commands from CL programs and all messages associated with those requests or commands that have a severity code greater than or equal to the logging severity are logged.
    • 4 - All requests or commands from CL programs and all messages with a severity code greater than or equal to the logging severity are logged.
    Throws:
    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.
    See Also:
    LOGGING_LEVEL

    setLoggingSeverity

    public void setLoggingSeverity(int loggingSeverity)
                            throws AS400Exception,
                                   AS400SecurityException,
                                   ConnectionDroppedException,
                                   ErrorCompletingRequestException,
                                   java.lang.InterruptedException,
                                   java.io.IOException,
                                   ObjectDoesNotExistException,
                                   java.io.UnsupportedEncodingException
    Sets the minimum severity level that causes error messages to be logged in the job log.
    Parameters:
    loggingSeverity - The minimum severity level that causes error messages to be logged in the job log.
    Throws:
    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.
    See Also:
    LOGGING_SEVERITY

    setLoggingText

    public void setLoggingText(java.lang.String loggingText)
                        throws AS400Exception,
                               AS400SecurityException,
                               ConnectionDroppedException,
                               ErrorCompletingRequestException,
                               java.lang.InterruptedException,
                               java.io.IOException,
                               ObjectDoesNotExistException,
                               java.io.UnsupportedEncodingException
    Sets the level of message text that is written in the job log or displayed to the user.
    Parameters:
    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.
    Throws:
    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.
    See Also:
    LOGGING_TEXT

    setName

    public void setName(java.lang.String name)
                 throws java.beans.PropertyVetoException
    Sets the job name. This does not change the name of the actual OS/400 job. Instead, it changes the job this Job object references. This cannot be changed if the object has already established a connection to the server.
    Parameters:
    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.
    Throws:
    java.beans.PropertyVetoException - If the property change is vetoed.

    setNumber

    public void setNumber(java.lang.String number)
                   throws java.beans.PropertyVetoException
    Sets the job number. This does not change the name of the actual OS/400 job. Instead, it changes the job this Job object references. This cannot be changed if the object has already established a connection to the server.
    Parameters:
    number - The job number. This must be JOB_NUMBER_BLANK if the job name is JOB_NAME_CURRENT.
    Throws:
    java.beans.PropertyVetoException - If the property change is vetoed.

    setOutputQueue

    public void setOutputQueue(java.lang.String outputQueue)
                        throws AS400Exception,
                               AS400SecurityException,
                               ConnectionDroppedException,
                               ErrorCompletingRequestException,
                               java.lang.InterruptedException,
                               java.io.IOException,
                               ObjectDoesNotExistException,
                               java.io.UnsupportedEncodingException
    Sets the name of the default output queue that is used for spooled output produced by this job.
    Parameters:
    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.
    Throws:
    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.
    See Also:
    OUTPUT_QUEUE, QSYSObjectPathName

    setOutputQueuePriority

    public void setOutputQueuePriority(int outputQueuePriority)
                                throws AS400Exception,
                                       AS400SecurityException,
                                       ConnectionDroppedException,
                                       ErrorCompletingRequestException,
                                       java.lang.InterruptedException,
                                       java.io.IOException,
                                       ObjectDoesNotExistException,
                                       java.io.UnsupportedEncodingException
    Sets the output priority for spooled output files that this job produces.
    Parameters:
    outputQueuePriority - The output priority for spooled output files that this job produces. The highest priority is 0 and the lowest is 9.
    Throws:
    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.
    See Also:
    OUTPUT_QUEUE_PRIORITY

    setPrinterDeviceName

    public void setPrinterDeviceName(java.lang.String printerDeviceName)
                              throws AS400Exception,
                                     AS400SecurityException,
                                     ConnectionDroppedException,
                                     ErrorCompletingRequestException,
                                     java.lang.InterruptedException,
                                     java.io.IOException,
                                     ObjectDoesNotExistException,
                                     java.io.UnsupportedEncodingException
    Sets the printer device name used for printing output from this job.
    Parameters:
    printerDeviceName - The printer device name used for printing output from this job. The following special values can be used:
    Throws:
    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.
    See Also:
    PRINTER_DEVICE_NAME

    setPrintKeyFormat

    public void setPrintKeyFormat(java.lang.String printKeyFormat)
                           throws AS400Exception,
                                  AS400SecurityException,
                                  ConnectionDroppedException,
                                  ErrorCompletingRequestException,
                                  java.lang.InterruptedException,
                                  java.io.IOException,
                                  ObjectDoesNotExistException,
                                  java.io.UnsupportedEncodingException
    Sets whether border and header information is provided when the Print key is pressed.
    Parameters:
    printKeyFormat - Whether border and header information is provided when the Print key is pressed. Possible values are:
    Throws:
    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.
    See Also:
    PRINT_KEY_FORMAT

    setPrintText

    public void setPrintText(java.lang.String printText)
                      throws AS400Exception,
                             AS400SecurityException,
                             ConnectionDroppedException,
                             ErrorCompletingRequestException,
                             java.lang.InterruptedException,
                             java.io.IOException,
                             ObjectDoesNotExistException,
                             java.io.UnsupportedEncodingException
    Sets the line of text, if any, that is printed at the bottom of each page of printed output for the job.
    Parameters:
    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:
    Throws:
    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.
    See Also:
    PRINT_TEXT

    setPurge

    public void setPurge(boolean purge)
                  throws AS400Exception,
                         AS400SecurityException,
                         ConnectionDroppedException,
                         ErrorCompletingRequestException,
                         java.lang.InterruptedException,
                         java.io.IOException,
                         ObjectDoesNotExistException,
                         java.io.UnsupportedEncodingException
    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.
    Parameters:
    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.
    Throws:
    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.
    See Also:
    ELIGIBLE_FOR_PURGE

    setQueue

    public void setQueue(java.lang.String jobQueue)
                  throws AS400Exception,
                         AS400SecurityException,
                         ConnectionDroppedException,
                         ErrorCompletingRequestException,
                         java.lang.InterruptedException,
                         java.io.IOException,
                         ObjectDoesNotExistException,
                         java.io.UnsupportedEncodingException
    Sets the job queue that the job is currently on.
    Parameters:
    jobQueue - The fully qualified integrated file system path name of the job queue.
    Throws:
    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.
    See Also:
    JOB_QUEUE, QSYSObjectPathName

    setQueuePriority

    public void setQueuePriority(int queuePriority)
                          throws AS400Exception,
                                 AS400SecurityException,
                                 ConnectionDroppedException,
                                 ErrorCompletingRequestException,
                                 java.lang.InterruptedException,
                                 java.io.IOException,
                                 ObjectDoesNotExistException,
                                 java.io.UnsupportedEncodingException
    Sets the scheduling priority of the job compared to other jobs on the same job queue.
    Parameters:
    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.
    Throws:
    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.
    See Also:
    JOB_QUEUE_PRIORITY

    setRunPriority

    public void setRunPriority(int runPriority)
                        throws AS400Exception,
                               AS400SecurityException,
                               ConnectionDroppedException,
                               ErrorCompletingRequestException,
                               java.lang.InterruptedException,
                               java.io.IOException,
                               ObjectDoesNotExistException,
                               java.io.UnsupportedEncodingException
    Sets the priority at which the job is currently running, relative to other jobs on the system.
    Parameters:
    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).
    Throws:
    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.
    See Also:
    RUN_PRIORITY

    setScheduleDate

    public void setScheduleDate(java.util.Date scheduleDate)
                         throws AS400Exception,
                                AS400SecurityException,
                                ConnectionDroppedException,
                                ErrorCompletingRequestException,
                                java.lang.InterruptedException,
                                java.io.IOException,
                                ObjectDoesNotExistException,
                                java.io.UnsupportedEncodingException
    Sets the date and time the job is scheduled to become active.
    Parameters:
    scheduleDate - The date and time the job is scheduled to become active.
    Throws:
    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.
    See Also:
    SCHEDULE_DATE

    setScheduleDate

    public void setScheduleDate(java.lang.String scheduleDate)
                         throws AS400Exception,
                                AS400SecurityException,
                                ConnectionDroppedException,
                                ErrorCompletingRequestException,
                                java.lang.InterruptedException,
                                java.io.IOException,
                                ObjectDoesNotExistException,
                                java.io.UnsupportedEncodingException
    Sets the date the job is scheduled to become active.
    Parameters:
    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.
    Throws:
    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.
    See Also:
    SCHEDULE_DATE

    setScheduleTime

    public void setScheduleTime(java.util.Date scheduleTime)
                         throws AS400Exception,
                                AS400SecurityException,
                                ConnectionDroppedException,
                                ErrorCompletingRequestException,
                                java.lang.InterruptedException,
                                java.io.IOException,
                                ObjectDoesNotExistException,
                                java.io.UnsupportedEncodingException
    Sets the date and time the job is scheduled to become active.
    Parameters:
    scheduleDate - The date and time the job is scheduled to become active.
    Throws:
    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.
    See Also:
    SCHEDULE_DATE

    setScheduleTime

    public void setScheduleTime(java.lang.String scheduleTime)
                         throws AS400Exception,
                                AS400SecurityException,
                                ConnectionDroppedException,
                                ErrorCompletingRequestException,
                                java.lang.InterruptedException,
                                java.io.IOException,
                                ObjectDoesNotExistException,
                                java.io.UnsupportedEncodingException
    Sets the time the job is scheduled to become active.
    Parameters:
    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.
    Throws:
    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.
    See Also:
    SCHEDULE_DATE

    setSortSequenceTable

    public void setSortSequenceTable(java.lang.String sortSequenceTable)
                              throws AS400Exception,
                                     AS400SecurityException,
                                     ConnectionDroppedException,
                                     ErrorCompletingRequestException,
                                     java.lang.InterruptedException,
                                     java.io.IOException,
                                     ObjectDoesNotExistException,
                                     java.io.UnsupportedEncodingException
    Sets the sort sequence table.
    Parameters:
    sortSequenceTable - The fully qualified integrated file system path name of the sort sequence table.
    Throws:
    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.
    See Also:
    SORT_SEQUENCE_TABLE, QSYSObjectPathName

    setStatusMessageHandling

    public void setStatusMessageHandling(java.lang.String statusMessageHandling)
                                  throws AS400Exception,
                                         AS400SecurityException,
                                         ConnectionDroppedException,
                                         ErrorCompletingRequestException,
                                         java.lang.InterruptedException,
                                         java.io.IOException,
                                         ObjectDoesNotExistException,
                                         java.io.UnsupportedEncodingException
    Sets the value which indicates whether status messages are displayed for this job.
    Parameters:
    statusMessageHandling - The value which indicates whether status messages are displayed for this job. Possible values are:
    Throws:
    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.
    See Also:
    STATUS_MESSAGE_HANDLING

    setSystem

    public void setSystem(AS400 system)
                   throws java.beans.PropertyVetoException
    Sets the system. This cannot be changed if the object has established a connection to the AS/400.
    Parameters:
    system - The system.
    Throws:
    java.beans.PropertyVetoException - If the property change is vetoed.

    setTimeSeparator

    public void setTimeSeparator(java.lang.String timeSeparator)
                          throws AS400Exception,
                                 AS400SecurityException,
                                 ConnectionDroppedException,
                                 ErrorCompletingRequestException,
                                 java.lang.InterruptedException,
                                 java.io.IOException,
                                 ObjectDoesNotExistException,
                                 java.io.UnsupportedEncodingException
    Sets the value used to separate hours, minutes, and seconds when presenting a time.
    Parameters:
    timeSeparator - The value used to separate hours, minutes, and seconds when presenting a time. The following special value can be used:
    Throws:
    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.
    See Also:
    TIME_SEPARATOR

    setTimeSlice

    public void setTimeSlice(int timeSlice)
                      throws AS400Exception,
                             AS400SecurityException,
                             ConnectionDroppedException,
                             ErrorCompletingRequestException,
                             java.lang.InterruptedException,
                             java.io.IOException,
                             ObjectDoesNotExistException,
                             java.io.UnsupportedEncodingException
    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.
    Parameters:
    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.
    Throws:
    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.
    See Also:
    TIME_SLICE

    setTimeSliceEndPool

    public void setTimeSliceEndPool(java.lang.String timeSliceEndPool)
                             throws AS400Exception,
                                    AS400SecurityException,
                                    ConnectionDroppedException,
                                    ErrorCompletingRequestException,
                                    java.lang.InterruptedException,
                                    java.io.IOException,
                                    ObjectDoesNotExistException,
                                    java.io.UnsupportedEncodingException
    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.
    Parameters:
    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:
    Throws:
    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.
    See Also:
    TIME_SLICE_END_POOL

    setUser

    public void setUser(java.lang.String user)
                 throws java.beans.PropertyVetoException
    Sets the user name. This does not change the name of the actual OS/400 job. Instead, it changes the job this Job object references. This cannot be changed if the object has already established a connection to the server.
    Parameters:
    user - The user name. This must be USER_NAME_BLANK if the job name is JOB_NAME_CURRENT.
    Throws:
    java.beans.PropertyVetoException - If the property change is vetoed.

    setValue

    public void setValue(int attribute,
                         java.lang.Object value)
                  throws AS400Exception,
                         AS400SecurityException,
                         ConnectionDroppedException,
                         ErrorCompletingRequestException,
                         java.lang.InterruptedException,
                         java.io.IOException,
                         ObjectDoesNotExistException,
                         java.io.UnsupportedEncodingException
    Sets a value for a job attribute. If caching is off, the value is immediately sent to the system. If caching is on, call commitChanges() to send the uncommitted values to the system.
    Parameters:
    attribute - The job attribute to change.
    value - The new value of the attribute.
    See Also:
    commitChanges(), getValue(int)

    toString

    public 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.
    Overrides:
    toString in class java.lang.Object
    Returns:
    The string representation.