Job
instead, as this package may be removed in the future.public class RJob extends ChangeableResource
ACCOUNTING_CODE
ACTIVE_JOB_STATUS
AUXILIARY_IO_REQUESTS
BREAK_MESSAGE_HANDLING
CCSID
COMPLETION_STATUS
CONTROLLED_END_REQUESTED
COUNTRY_ID
CPU_TIME_USED
CURRENT_LIBRARY
CURRENT_LIBRARY_EXISTENCE
CURRENT_SYSTEM_POOL_ID
CURRENT_USER
DATE_ENTERED_SYSTEM
DATE_FORMAT
DATE_SEPARATOR
DATE_STARTED
DBCS_CAPABLE
DECIMAL_FORMAT
DEFAULT_CCSID
DEFAULT_WAIT_TIME
DEVICE_RECOVERY_ACTION
ELIGIBLE_FOR_PURGE
END_SEVERITY
FUNCTION_NAME
FUNCTION_TYPE
INQUIRY_MESSAGE_REPLY
INSTANCE
INTERACTIVE_TRANSACTIONS
INTERNAL_JOB_ID
JOB_DATE
JOB_DESCRIPTION
JOB_NAME
JOB_NUMBER
JOB_QUEUE
JOB_QUEUE_DATE
JOB_QUEUE_PRIORITY
JOB_QUEUE_STATUS
JOB_STATUS
JOB_SUBTYPE
JOB_SWITCHES
JOB_TYPE
KEEP_DDM_CONNECTIONS_ACTIVE
LANGUAGE_ID
LOCATION_NAME
LOG_CL_PROGRAMS
LOGGING_LEVEL
LOGGING_SEVERITY
LOGGING_TEXT
MAX_CPU_TIME
MAX_TEMP_STORAGE
MESSAGE_QUEUE_ACTION
MESSAGE_QUEUE_MAX_SIZE
MODE
NETWORK_ID
OUTPUT_QUEUE
OUTPUT_QUEUE_PRIORITY
PRINT_KEY_FORMAT
PRINT_TEXT
PRINTER_DEVICE_NAME
PRODUCT_LIBRARIES
PRODUCT_RETURN_CODE
PROGRAM_RETURN_CODE
ROUTING_DATA
RUN_PRIORITY
SCHEDULE_DATE
SEQUENCE_NUMBER
SERVER_TYPE
SIGNED_ON_JOB
SORT_SEQUENCE_TABLE
SPECIAL_ENVIRONMENT
STATUS_MESSAGE_HANDLING
SUBMITTED_BY_JOB_NAME
SUBMITTED_BY_JOB_NUMBER
SUBMITTED_BY_USER
SUBSYSTEM
SYSTEM_POOL_ID
SYSTEM_LIBRARY_LIST
TEMP_STORAGE_USED
THREAD_COUNT
TIME_SEPARATOR
TIME_SLICE
TIME_SLICE_END_POOL
TOTAL_RESPONSE_TIME
USER_LIBRARY_LIST
USER_NAME
USER_RETURN_CODE
Use any of these attribute IDs with
getAttributeValue()
and setAttributeValue()
to access the attribute values for an RJob.
// Create an RJob object to refer to a specific job. AS400 system = new AS400("MYSYSTEM", "MYUSERID", "MYPASSWORD"); RJob job = new RJob(system, "AJOBNAME", "AUSERID", "AJOBNUMBER");
// Get the job subtype. String jobSubtype = (String)job.getAttributeValue(RJob.JOB_SUBTYPE);
// Set the date format for a job to Julian. job.setAttributeValue(RJob.DATE_FORMAT, RJob.DATE_FORMAT_JULIAN);
// Commit the attribute change. job.commitAttributeChanges();
RJobList
,
Serialized FormModifier and Type | Field and Description |
---|---|
static java.lang.String |
ACCOUNTING_CODE
Deprecated.
Attribute ID for accounting code.
|
static java.lang.String |
ACTIVE_JOB_STATUS
Deprecated.
Attribute ID for active job status.
|
static java.lang.String |
AUXILIARY_IO_REQUESTS
Deprecated.
Attribute ID for auxiliary I/O requests.
|
static java.lang.String |
BREAK_MESSAGE_HANDLING
Deprecated.
Attribute ID for break message handling.
|
static java.lang.String |
BREAK_MESSAGE_HANDLING_HOLD
Deprecated.
Attribute value indicating that the message queue holds break messages until a user or program
requests them.
|
static java.lang.String |
BREAK_MESSAGE_HANDLING_NORMAL
Deprecated.
Attribute value indicating that the message queue status determines break message handling.
|
static java.lang.String |
BREAK_MESSAGE_HANDLING_NOTIFY
Deprecated.
Attribute value indicating that the system notifies the job's message queue when a message
arrives.
|
static java.lang.String |
CCSID
Deprecated.
Attribute ID for coded character set identifier (CCSID).
|
static int |
CCSID_INITIAL_USER
Deprecated.
Attribute value indicating that the CCSID specified
in the user profile under which this thread was initially running is
used.
|
static int |
CCSID_SYSTEM_VALUE
Deprecated.
Attribute value indicating that the CCSID specified
in the system value QCCSID is used.
|
static java.lang.String |
COMPLETION_STATUS
Deprecated.
Attribute ID for completion status.
|
static java.lang.String |
COMPLETION_STATUS_COMPLETED_ABNORMALLY
Deprecated.
Attribute value indicating that the job completed abnormally.
|
static java.lang.String |
COMPLETION_STATUS_COMPLETED_NORMALLY
Deprecated.
Attribute value indicating that the job completed normally.
|
static java.lang.String |
COMPLETION_STATUS_NOT_COMPLETED
Deprecated.
Attribute value indicating that the job has not completed.
|
static java.lang.String |
CONTROLLED_END_REQUESTED
Deprecated.
Attribute ID for controlled end requested.
|
static java.lang.String |
CONTROLLED_END_REQUESTED_CANCELED
Deprecated.
Attribute value indicating that the system, the subsystem in which the job is running,
or the job itself is canceled.
|
static java.lang.String |
CONTROLLED_END_REQUESTED_NOT_CANCELED
Deprecated.
Attribute value indicating that the system, subsystem, or job is not canceled.
|
static java.lang.String |
CONTROLLED_END_REQUESTED_NOT_RUNNING
Deprecated.
Attribute value indicating that the job is not running.
|
static java.lang.String |
COUNTRY_ID
Deprecated.
Attribute ID for country ID.
|
static java.lang.String |
CPU_TIME_USED
Deprecated.
Attribute ID for CPU time used.
|
static java.lang.String |
CURRENT_LIBRARY
Deprecated.
Attribute ID for current library.
|
static java.lang.String |
CURRENT_LIBRARY_EXISTENCE
Deprecated.
Attribute ID for current library existence.
|
static java.lang.String |
CURRENT_SYSTEM_POOL_ID
Deprecated.
Attribute ID for current system pool ID.
|
static java.lang.String |
CURRENT_USER
Deprecated.
Attribute ID for current user.
|
static java.lang.String |
DATE_ENTERED_SYSTEM
Deprecated.
Attribute ID for date entered system.
|
static java.lang.String |
DATE_FORMAT
Deprecated.
Attribute ID for date format.
|
static java.lang.String |
DATE_FORMAT_DMY
Deprecated.
Attribute value indicating the day, month, and year date format.
|
static java.lang.String |
DATE_FORMAT_JULIAN
Deprecated.
Attribute value indicating the Julian date format.
|
static java.lang.String |
DATE_FORMAT_MDY
Deprecated.
Attribute value indicating the month, day, and year date format.
|
static java.lang.String |
DATE_FORMAT_SYSTEM_VALUE
Deprecated.
Attribute value indicating that the system value QDATFMT is used.
|
static java.lang.String |
DATE_FORMAT_YMD
Deprecated.
Attribute value indicating the year, month, and day date format.
|
static java.lang.String |
DATE_SEPARATOR
Deprecated.
Attribute ID for date separator.
|
static java.lang.String |
DATE_SEPARATOR_SYSTEM_VALUE
Deprecated.
Attribute value indicating that the system value QDATSEP is used.
|
static java.lang.String |
DATE_STARTED
Deprecated.
Attribute ID for date started.
|
static java.lang.String |
DBCS_CAPABLE
Deprecated.
Attribute ID for DBCS capable.
|
static java.lang.String |
DECIMAL_FORMAT
Deprecated.
Attribute ID for decimal format.
|
static java.lang.String |
DECIMAL_FORMAT_COMMA_I
Deprecated.
Attribute value indicating the date format that uses a comma for a decimal point
and a period for a 3-digit grouping character.
|
static java.lang.String |
DECIMAL_FORMAT_COMMA_J
Deprecated.
Attribute value indicating the date 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_PERIOD
Deprecated.
Attribute value indicating the date format that uses a period for a decimal point, a comma
for a 3-digit grouping character, and zero-suppresses to the left of
the decimal point.
|
static java.lang.String |
DEFAULT_CCSID
Deprecated.
Attribute ID for default coded character set identifier (CCSID).
|
static java.lang.String |
DEFAULT_WAIT_TIME
Deprecated.
Attribute ID for default wait time.
|
static java.lang.String |
DEVICE_RECOVERY_ACTION
Deprecated.
Attribute ID for device recovery action.
|
static java.lang.String |
DEVICE_RECOVERY_ACTION_DISCONNECT_END_REQUEST
Deprecated.
Attribute value indicating the device recovery action that disconnects the
job when an I/O error occurs.
|
static java.lang.String |
DEVICE_RECOVERY_ACTION_DISCONNECT_MESSAGE
Deprecated.
Attribute value indicating the device recovery action that disconnects the
job when an I/O error occurs.
|
static java.lang.String |
DEVICE_RECOVERY_ACTION_END_JOB
Deprecated.
Attribute value indicating the device recovery action that ends the job when
an I/O error occurs.
|
static java.lang.String |
DEVICE_RECOVERY_ACTION_END_JOB_NO_LIST
Deprecated.
Attribute value indicating the device recovery action that ends the job when
an I/O error occurs.
|
static java.lang.String |
DEVICE_RECOVERY_ACTION_MESSAGE
Deprecated.
Attribute value indicating the 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 |
ELIGIBLE_FOR_PURGE
Deprecated.
Attribute ID for eligible for purge.
|
static java.lang.String |
END_SEVERITY
Deprecated.
Attribute ID for end severity.
|
static java.lang.String |
FUNCTION_NAME
Deprecated.
Attribute ID for function name.
|
static java.lang.String |
FUNCTION_TYPE
Deprecated.
Attribute ID for function type.
|
static java.lang.String |
FUNCTION_TYPE_BLANK
Deprecated.
Attribute value indicating that the system is not performing a logged function.
|
static java.lang.String |
FUNCTION_TYPE_COMMAND
Deprecated.
Attribute value 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
Deprecated.
Attribute value indicating that the initial thread of the job is processing
a Delay Job (DLYJOB) command.
|
static java.lang.String |
FUNCTION_TYPE_GROUP
Deprecated.
Attribute value indicating that the Transfer Group Job (TFRGRPJOB) command
suspended the job.
|
static java.lang.String |
FUNCTION_TYPE_INDEX
Deprecated.
Attribute value indicating that the initial thread of the job is rebuilding an index
(access path).
|
static java.lang.String |
FUNCTION_TYPE_IO
Deprecated.
Attribute value 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
Deprecated.
Attribute value indicating that the system logs history information in a database
file.
|
static java.lang.String |
FUNCTION_TYPE_MENU
Deprecated.
Attribute value indicating that the initial thread of the job is currently
at a system menu.
|
static java.lang.String |
FUNCTION_TYPE_MRT
Deprecated.
Attribute value indicating that the job is a multiple requester terminal (MRT)
job is the
job type is JOB_TYPE_BATCH
and the job subtype is JOB_SUBTYPE_MRT ,
or it is an interactive job attached to an MRT job if the
job type is JOB_TYPE_INTERACTIVE . |
static java.lang.String |
FUNCTION_TYPE_PROCEDURE
Deprecated.
Attribute value indicating that the initial thread of the job is running
a procedure.
|
static java.lang.String |
FUNCTION_TYPE_PROGRAM
Deprecated.
Attribute value indicating that the initial thread of the job is running
a program.
|
static java.lang.String |
FUNCTION_TYPE_SPECIAL
Deprecated.
Attribute value indicating that the function type is special.
|
static java.lang.String |
INQUIRY_MESSAGE_REPLY
Deprecated.
Attribute ID for inquiry message reply.
|
static java.lang.String |
INQUIRY_MESSAGE_REPLY_DEFAULT
Deprecated.
Attribute value 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
Deprecated.
Attribute value indicating that the job requires an answer for any inquiry
messages that occur while this job is running.
|
static java.lang.String |
INQUIRY_MESSAGE_REPLY_SYSTEM_REPLY_LIST
Deprecated.
Attribute value indicating that the system reply list is
checked to see if there is an entry for an inquiry message issued while this
job is running.
|
static java.lang.String |
INSTANCE
Deprecated.
Attribute ID for instance.
|
static java.lang.String |
INTERACTIVE_TRANSACTIONS
Deprecated.
Attribute ID for interactive transactions.
|
static java.lang.String |
INTERNAL_JOB_ID
Deprecated.
Attribute ID for internal job identifier.
|
static java.lang.String |
JOB_DATE
Deprecated.
Attribute ID for job date.
|
static java.lang.String |
JOB_DESCRIPTION
Deprecated.
Attribute ID for job description.
|
static java.lang.String |
JOB_NAME
Deprecated.
Attribute ID for job name.
|
static java.lang.String |
JOB_NUMBER
Deprecated.
Attribute ID for job number.
|
static java.lang.String |
JOB_QUEUE
Deprecated.
Attribute ID for job queue.
|
static java.lang.String |
JOB_QUEUE_DATE
Deprecated.
Attribute ID for job queue date.
|
static java.lang.String |
JOB_QUEUE_PRIORITY
Deprecated.
Attribute ID for job queue priority.
|
static java.lang.String |
JOB_QUEUE_STATUS
Deprecated.
Attribute ID for job queue status.
|
static java.lang.String |
JOB_QUEUE_STATUS_BLANK
Deprecated.
Attribute value indicating that the job is not on a job queue.
|
static java.lang.String |
JOB_QUEUE_STATUS_HELD
Deprecated.
Attribute value indicating that the job is being held on the job queue.
|
static java.lang.String |
JOB_QUEUE_STATUS_RELEASED
Deprecated.
Attribute value indicating that the job is ready to be selected.
|
static java.lang.String |
JOB_QUEUE_STATUS_SCHEDULED
Deprecated.
Attribute value indicating that the job will run as scheduled.
|
static java.lang.String |
JOB_STATUS
Deprecated.
Attribute ID for job status.
|
static java.lang.String |
JOB_STATUS_ACTIVE
Deprecated.
Attribute value indicating that the job is active.
|
static java.lang.String |
JOB_STATUS_JOBQ
Deprecated.
Attribute value indicating that the job is currently on a job queue.
|
static java.lang.String |
JOB_STATUS_OUTQ
Deprecated.
Attribute value indicating that the job has completed running.
|
static java.lang.String |
JOB_SUBTYPE
Deprecated.
Attribute ID for job subtype.
|
static java.lang.String |
JOB_SUBTYPE_ALTERNATE_SPOOL_USER
Deprecated.
Attribute value indicating alternate spool user.
|
static java.lang.String |
JOB_SUBTYPE_BLANK
Deprecated.
Attribute value indicating that the job has no special subtype or is not a valid job.
|
static java.lang.String |
JOB_SUBTYPE_IMMEDIATE
Deprecated.
Attribute value indicating that the job is an immediate job.
|
static java.lang.String |
JOB_SUBTYPE_MACHINE_SERVER_JOB
Deprecated.
Attribute value indicating that the job is an
Advanced 36 machine server job.
|
static java.lang.String |
JOB_SUBTYPE_MRT
Deprecated.
Attribute value indicating that the job is a System/36 multiple requester terminal
(MRT) job.
|
static java.lang.String |
JOB_SUBTYPE_PRESTART
Deprecated.
Attribute value indicating that the job is a prestart job.
|
static java.lang.String |
JOB_SUBTYPE_PRINT_DRIVER
Deprecated.
Attribute value indicating that the job is a print driver job.
|
static java.lang.String |
JOB_SUBTYPE_PROCEDURE_START_REQUEST
Deprecated.
Attribute value indicating that the job started
with a procedure start request.
|
static java.lang.String |
JOB_SWITCHES
Deprecated.
Attribute ID for switch settings.
|
static java.lang.String |
JOB_TYPE
Deprecated.
Attribute ID for job type.
|
static java.lang.String |
JOB_TYPE_AUTOSTART
Deprecated.
Attribute value indicating that the job is an autostart job.
|
static java.lang.String |
JOB_TYPE_BATCH
Deprecated.
Attribute value indicating that the job is a batch job.
|
static java.lang.String |
JOB_TYPE_INTERACTIVE
Deprecated.
Attribute value indicating that the job is an interactive job.
|
static java.lang.String |
JOB_TYPE_NOT_VALID
Deprecated.
Attribute value indicating that the job is not a valid job.
|
static java.lang.String |
JOB_TYPE_SCPF_SYSTEM
Deprecated.
Attribute value indicating that the job is the SCPF system job.
|
static java.lang.String |
JOB_TYPE_SPOOLED_READER
Deprecated.
Attribute value indicating that the job is a spooled reader job.
|
static java.lang.String |
JOB_TYPE_SPOOLED_WRITER
Deprecated.
Attribute value indicating that the job is a spooled writer job.
|
static java.lang.String |
JOB_TYPE_SUBSYSTEM_MONITOR
Deprecated.
Attribute value indicating that the job is a subsystem monitor job.
|
static java.lang.String |
JOB_TYPE_SYSTEM
Deprecated.
Attribute value indicating that the job is a system job.
|
static java.lang.String |
KEEP_DDM_CONNECTIONS_ACTIVE
Deprecated.
Attribute ID for keep DDM connections active.
|
static java.lang.String |
KEEP_DDM_CONNECTIONS_ACTIVE_DROP
Deprecated.
Attribute value indicating that the system ends a DDM connection when there are no users.
|
static java.lang.String |
KEEP_DDM_CONNECTIONS_ACTIVE_KEEP
Deprecated.
Attribute value indicating that the system keeps DDM connections active when there are no users.
|
static java.lang.String |
LANGUAGE_ID
Deprecated.
Attribute ID for language ID.
|
static java.lang.String |
LOCATION_NAME
Deprecated.
Attribute ID for location name.
|
static java.lang.String |
LOG_CL_PROGRAMS
Deprecated.
Attribute ID for logging CL programs.
|
static java.lang.String |
LOGGING_LEVEL
Deprecated.
Attribute ID for logging level.
|
static java.lang.String |
LOGGING_LEVEL_ALL_REQUESTS_AND_ASSOCIATED_MESSAGES
Deprecated.
Attribute value indicating that 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. |
static java.lang.String |
LOGGING_LEVEL_ALL_REQUESTS_AND_MESSAGES
Deprecated.
Attribute value indicating that all requests or commands from CL programs and all messages
with a severity code greater than or equal to the
logging severity are logged. |
static java.lang.String |
LOGGING_LEVEL_MESSAGES_BY_SEVERITY
Deprecated.
Attribute value 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
Deprecated.
Attribute value indicating that no messages are logged.
|
static java.lang.String |
LOGGING_LEVEL_REQUESTS_BY_SEVERITY_AND_ASSOCIATED_MESSAGES
Deprecated.
Attribute value indicating that 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. |
static java.lang.String |
LOGGING_SEVERITY
Deprecated.
Attribute ID for logging severity.
|
static java.lang.String |
LOGGING_TEXT
Deprecated.
Attribute ID for logging text.
|
static java.lang.String |
LOGGING_TEXT_MESSAGE
Deprecated.
Attribute value indicating that only the message is written to the job log.
|
static java.lang.String |
LOGGING_TEXT_NO_LIST
Deprecated.
Attribute value indicating that if the job ends normally, there is no job log.
|
static java.lang.String |
LOGGING_TEXT_SECLVL
Deprecated.
Attribute value indicating that both the message and the message help for the
error message are written to the job log.
|
static java.lang.String |
MAX_CPU_TIME
Deprecated.
Attribute ID for maximum CPU time.
|
static java.lang.String |
MAX_TEMP_STORAGE
Deprecated.
Attribute ID for maximum temporary storage.
|
static java.lang.String |
MESSAGE_QUEUE_ACTION
Deprecated.
Attribute ID for message queue action.
|
static java.lang.String |
MESSAGE_QUEUE_ACTION_NO_WRAP
Deprecated.
Attribute value indicating that the message queue does not wrap.
|
static java.lang.String |
MESSAGE_QUEUE_ACTION_PRINT_WRAP
Deprecated.
Attribute value indicating that the message queue wraps and prints the
messages that are being overlaid because of the wrapping.
|
static java.lang.String |
MESSAGE_QUEUE_ACTION_WRAP
Deprecated.
Attribute value indicating that the message queue wraps to the beginning
and starts filling again when the message queue is full.
|
static java.lang.String |
MESSAGE_QUEUE_MAX_SIZE
Deprecated.
Attribute ID for message queue maximum size.
|
static java.lang.String |
MODE
Deprecated.
Attribute ID for mode.
|
static java.lang.String |
NETWORK_ID
Deprecated.
Attribute ID for network ID.
|
static java.lang.String |
NO
Deprecated.
Attribute value for no.
|
static java.util.Date |
NO_DATE
Deprecated.
Attribute value for no date.
|
static java.lang.String |
NONE
Deprecated.
Attribute value for none.
|
static java.lang.String |
OUTPUT_QUEUE
Deprecated.
Attribute ID for output queue.
|
static java.lang.String |
OUTPUT_QUEUE_PRIORITY
Deprecated.
Attribute ID for output queue priority.
|
static java.lang.String |
PRINT_KEY_FORMAT
Deprecated.
Attribute ID for print key format.
|
static java.lang.String |
PRINT_KEY_FORMAT_ALL
Deprecated.
Attribute value indicating that the border and header information
is included with output from the Print key.
|
static java.lang.String |
PRINT_KEY_FORMAT_BORDER
Deprecated.
Attribute value indicating that the border information
is included with output from the Print key.
|
static java.lang.String |
PRINT_KEY_FORMAT_HEADER
Deprecated.
Attribute value indicating that the header information
is included with output from the Print key.
|
static java.lang.String |
PRINT_TEXT
Deprecated.
Attribute ID for print text.
|
static java.lang.String |
PRINTER_DEVICE_NAME
Deprecated.
Attribute ID for printer device name.
|
static java.lang.String |
PRINTER_DEVICE_NAME_WORK_STATION
Deprecated.
Attribute value 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 java.lang.String |
PRODUCT_LIBRARIES
Deprecated.
Attribute ID for product libraries.
|
static java.lang.String |
PRODUCT_RETURN_CODE
Deprecated.
Attribute ID for product return code.
|
static java.lang.String |
PROGRAM_RETURN_CODE
Deprecated.
Attribute ID for program return code.
|
static java.lang.String |
ROUTING_DATA
Deprecated.
Attribute ID for routing data.
|
static java.lang.String |
RUN_PRIORITY
Deprecated.
Attribute ID for run priority.
|
static java.lang.String |
SCHEDULE_DATE
Deprecated.
Attribute ID for schedule date.
|
static java.util.Date |
SCHEDULE_DATE_CURRENT
Deprecated.
Attribute value indicating that the submitted job becomes eligible to run at the current date.
|
static java.util.Date |
SCHEDULE_DATE_FRIDAY
Deprecated.
Attribute value indicating that the submitted job becomes eligible to run on Friday.
|
static java.util.Date |
SCHEDULE_DATE_MONDAY
Deprecated.
Attribute value indicating that the submitted job becomes eligible to run on Monday.
|
static java.util.Date |
SCHEDULE_DATE_MONTH_END
Deprecated.
Attribute value indicating that the submitted job becomes eligible to run on the last day of
the month.
|
static java.util.Date |
SCHEDULE_DATE_MONTH_START
Deprecated.
Attribute value indicating that the submitted job becomes eligible to run on the first day of
the month.
|
static java.util.Date |
SCHEDULE_DATE_SATURDAY
Deprecated.
Attribute value indicating that the submitted job becomes eligible to run on Saturday.
|
static java.util.Date |
SCHEDULE_DATE_SUNDAY
Deprecated.
Attribute value indicating that the submitted job becomes eligible to run on Sunday.
|
static java.util.Date |
SCHEDULE_DATE_THURSDAY
Deprecated.
Attribute value indicating that the submitted job becomes eligible to run on Thursday.
|
static java.util.Date |
SCHEDULE_DATE_TUESDAY
Deprecated.
Attribute value indicating that the submitted job becomes eligible to run on Tuesday.
|
static java.util.Date |
SCHEDULE_DATE_WEDNESDAY
Deprecated.
Attribute value indicating that the submitted job becomes eligible to run on Wednesday.
|
static java.lang.String |
SEQUENCE_NUMBER
Deprecated.
Attribute ID for sequence number.
|
static java.lang.String |
SERVER_TYPE
Deprecated.
Attribute ID for server type.
|
static java.lang.String |
SIGNED_ON_JOB
Deprecated.
Attribute ID for signed on job.
|
static java.lang.String |
SORT_SEQUENCE_TABLE
Deprecated.
Attribute ID for sort sequence table.
|
static java.lang.String |
SPECIAL_ENVIRONMENT
Deprecated.
Attribute ID for special environment.
|
static java.lang.String |
SPECIAL_ENVIRONMENT_NOT_ACTIVE
Deprecated.
Attribute value indicating that the job is not currently active.
|
static java.lang.String |
SPECIAL_ENVIRONMENT_SYSTEM_36
Deprecated.
Attribute value indicating that the job is running in the System/36 environment.
|
static java.lang.String |
STATUS_MESSAGE_HANDLING
Deprecated.
Attribute ID for status message handling.
|
static java.lang.String |
STATUS_MESSAGE_HANDLING_NORMAL
Deprecated.
Attribute value indicating that this job displays status messages.
|
static java.lang.String |
SUBMITTED_BY_JOB_NAME
Deprecated.
Attribute ID for submitted by job name.
|
static java.lang.String |
SUBMITTED_BY_JOB_NUMBER
Deprecated.
Attribute ID for submitted by job number.
|
static java.lang.String |
SUBMITTED_BY_USER
Deprecated.
Attribute ID for submitted by user.
|
static java.lang.String |
SUBSYSTEM
Deprecated.
Attribute ID for subsystem.
|
static java.lang.String |
SYSTEM_LIBRARY_LIST
Deprecated.
Attribute ID for system library list.
|
static java.lang.String |
SYSTEM_POOL_ID
Deprecated.
Attribute ID for system pool ID.
|
static java.lang.String |
SYSTEM_VALUE
Deprecated.
Attribute value for system value.
|
static java.lang.String |
TEMP_STORAGE_USED
Deprecated.
Attribute ID for temporary storage used.
|
static java.lang.String |
THREAD_COUNT
Deprecated.
Attribute ID for thread count.
|
static java.lang.String |
TIME_SEPARATOR
Deprecated.
Attribute ID for time separator.
|
static java.lang.String |
TIME_SEPARATOR_SYSTEM_VALUE
Deprecated.
Attribute value indicating that the system value QTIMSEP is used.
|
static java.lang.String |
TIME_SLICE
Deprecated.
Attribute ID for time slice.
|
static java.lang.String |
TIME_SLICE_END_POOL
Deprecated.
Attribute ID for time slice end pool.
|
static java.lang.String |
TIME_SLICE_END_POOL_BASE
Deprecated.
Attribute value 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 |
TOTAL_RESPONSE_TIME
Deprecated.
Attribute ID for total response time.
|
static java.lang.String |
USER_LIBRARY_LIST
Deprecated.
Attribute ID for user library list.
|
static java.lang.String |
USER_NAME
Deprecated.
Attribute ID for user name.
|
static java.lang.String |
USER_PROFILE
Deprecated.
Attribute value for user profile.
|
static java.lang.String |
USER_RETURN_CODE
Deprecated.
Attribute ID for user return code.
|
static java.lang.String |
YES
Deprecated.
Attribute value for yes.
|
Constructor and Description |
---|
RJob()
Deprecated.
Constructs an RJob object.
|
RJob(AS400 system)
Deprecated.
Constructs an RJob object.
|
RJob(AS400 system,
byte[] internalJobID)
Deprecated.
Constructs an RJob object.
|
RJob(AS400 system,
java.lang.String name,
java.lang.String user,
java.lang.String number)
Deprecated.
Constructs an RJob object.
|
Modifier and Type | Method and Description |
---|---|
protected void |
commitAttributeChanges(java.lang.Object[] attributeIDs,
java.lang.Object[] values,
int[] bidiStringTypes)
Deprecated.
Commits the specified attribute changes.
|
void |
createResource(java.lang.Object[] attributeIDs,
java.lang.Object[] values)
Deprecated.
Creates the resource using the specified attribute values.
|
void |
end()
Deprecated.
Ends the job controlled.
|
void |
end(int delayTime)
Deprecated.
Ends the job.
|
protected void |
establishConnection()
Deprecated.
Establishes the connection to the system.
|
protected void |
freezeProperties()
Deprecated.
Freezes any property changes.
|
java.lang.Object |
getAttributeUnchangedValue(java.lang.Object attributeID,
int bidiStringType)
Deprecated.
Returns the unchanged value of an attribute.
|
byte[] |
getInternalJobID()
Deprecated.
Returns the internal job identifier.
|
java.lang.String |
getName()
Deprecated.
Returns the job name.
|
java.lang.String |
getNumber()
Deprecated.
Returns the job number.
|
java.lang.String |
getUser()
Deprecated.
Returns the user name.
|
protected boolean |
isBidiEnabled()
Deprecated.
Indicates if this resource is enabled for bidirectional character conversion.
|
void |
refreshAttributeValues()
Deprecated.
Refreshes the values for all attributes.
|
void |
setInternalJobID(byte[] internalJobID)
Deprecated.
Sets the internal job identifier.
|
void |
setName(java.lang.String name)
Deprecated.
Sets the job name.
|
void |
setNumber(java.lang.String number)
Deprecated.
Sets the job number.
|
void |
setUser(java.lang.String user)
Deprecated.
Sets the user name.
|
java.lang.String |
toString()
Deprecated.
Returns the string representation in the format
"number/user/name".
|
cancelAttributeChanges, commitAttributeChanges, commitAttributeChanges, fireAttributeChangesCanceled, fireAttributeChangesCommitted, fireAttributeValueChanged, fireResourceCreated, fireResourceDeleted, getAttributeUnchangedValue, getAttributeValue, getAttributeValue, hasUncommittedAttributeChanges, initializeAttributeValue, setAttributeValue, setAttributeValue
addActiveStatusListener, addPropertyChangeListener, addResourceListener, addVetoableChangeListener, arePropertiesFrozen, equals, fireAttributeValuesRefreshed, fireBusy, fireIdle, firePropertyChange, fireVetoableChange, getAttributeMetaData, getAttributeMetaData, getPresentation, getResourceKey, getSystem, isConnectionEstablished, removeActiveStatusListener, removePropertyChangeListener, removeResourceListener, removeVetoableChangeListener, setPresentation, setResourceKey, setSystem
public static final java.lang.String SYSTEM_VALUE
public static final java.lang.String USER_PROFILE
public static final java.lang.String YES
public static final java.lang.String NO
public static final java.lang.String NONE
public static final java.util.Date NO_DATE
public static final java.lang.String ACCOUNTING_CODE
public static final java.lang.String ACTIVE_JOB_STATUS
public static final java.lang.String AUXILIARY_IO_REQUESTS
public static final java.lang.String BREAK_MESSAGE_HANDLING
BREAK_MESSAGE_HANDLING_NORMAL
- The message queue status determines break message handling.
BREAK_MESSAGE_HANDLING_HOLD
- The message queue holds break messages until a user or program
requests them.
BREAK_MESSAGE_HANDLING_NOTIFY
- The system notifies the job's message queue when a message
arrives.
public static final java.lang.String BREAK_MESSAGE_HANDLING_NORMAL
BREAK_MESSAGE_HANDLING
,
Constant Field Valuespublic static final java.lang.String BREAK_MESSAGE_HANDLING_HOLD
BREAK_MESSAGE_HANDLING
,
Constant Field Valuespublic static final java.lang.String BREAK_MESSAGE_HANDLING_NOTIFY
BREAK_MESSAGE_HANDLING
,
Constant Field Valuespublic static final java.lang.String CCSID
The following special values can be used when setting the CCSID:
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.
public static final int CCSID_SYSTEM_VALUE
CCSID
,
Constant Field Valuespublic static final int CCSID_INITIAL_USER
CCSID
,
Constant Field Valuespublic static final java.lang.String COMPLETION_STATUS
COMPLETION_STATUS_NOT_COMPLETED
- The job has not completed.
COMPLETION_STATUS_COMPLETED_NORMALLY
- The job completed normally.
COMPLETION_STATUS_COMPLETED_ABNORMALLY
- The job completed abnormally.
public static final java.lang.String COMPLETION_STATUS_NOT_COMPLETED
COMPLETION_STATUS
,
Constant Field Valuespublic static final java.lang.String COMPLETION_STATUS_COMPLETED_NORMALLY
COMPLETION_STATUS
,
Constant Field Valuespublic static final java.lang.String COMPLETION_STATUS_COMPLETED_ABNORMALLY
COMPLETION_STATUS
,
Constant Field Valuespublic static final java.lang.String CONTROLLED_END_REQUESTED
CONTROLLED_END_REQUESTED_CANCELED
- The system, the subsystem in which the job is running,
or the job itself is canceled.
CONTROLLED_END_REQUESTED_NOT_CANCELED
- The system, subsystem, or job is not canceled.
CONTROLLED_END_REQUESTED_NOT_RUNNING
- The job is not running.
public static final java.lang.String CONTROLLED_END_REQUESTED_CANCELED
public static final java.lang.String CONTROLLED_END_REQUESTED_NOT_CANCELED
public static final java.lang.String CONTROLLED_END_REQUESTED_NOT_RUNNING
public static final java.lang.String COUNTRY_ID
The following special values can be used when setting the country ID:
SYSTEM_VALUE
- The
system value QCNTRYID is used.
USER_PROFILE
- The
country ID specified in the user profile under which this thread
was initially running is used.
public static final java.lang.String CPU_TIME_USED
public static final java.lang.String CURRENT_LIBRARY
public static final java.lang.String CURRENT_LIBRARY_EXISTENCE
public static final java.lang.String CURRENT_SYSTEM_POOL_ID
public static final java.lang.String CURRENT_USER
public static final java.lang.String DATE_ENTERED_SYSTEM
public static final java.lang.String DATE_FORMAT
DATE_FORMAT_YMD
- Year, month, and day format.
DATE_FORMAT_MDY
- Month, day, and year format.
DATE_FORMAT_DMY
- Day, month, and year format.
DATE_FORMAT_JULIAN
- Julian format (year and day).
The following special values can be used when setting the date format:
DATE_FORMAT_SYSTEM_VALUE
- The
system value QDATFMT is used.
public static final java.lang.String DATE_FORMAT_SYSTEM_VALUE
DATE_FORMAT
,
Constant Field Valuespublic static final java.lang.String DATE_FORMAT_YMD
DATE_FORMAT
,
Constant Field Valuespublic static final java.lang.String DATE_FORMAT_MDY
DATE_FORMAT
,
Constant Field Valuespublic static final java.lang.String DATE_FORMAT_DMY
DATE_FORMAT
,
Constant Field Valuespublic static final java.lang.String DATE_FORMAT_JULIAN
DATE_FORMAT
,
Constant Field Valuespublic static final java.lang.String DATE_SEPARATOR
The following special value can be used when setting the date separator:
DATE_SEPARATOR_SYSTEM_VALUE
- The
system value QDATSEP is used.
public static final java.lang.String DATE_SEPARATOR_SYSTEM_VALUE
DATE_SEPARATOR
,
Constant Field Valuespublic static final java.lang.String DATE_STARTED
public static final java.lang.String DBCS_CAPABLE
public static final java.lang.String DECIMAL_FORMAT
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.
The following special value can be used when setting the decimal separator:
SYSTEM_VALUE
- The
system value QDECFMT is used.
public static final java.lang.String DECIMAL_FORMAT_PERIOD
DECIMAL_FORMAT
,
Constant Field Valuespublic static final java.lang.String DECIMAL_FORMAT_COMMA_I
DECIMAL_FORMAT
,
Constant Field Valuespublic static final java.lang.String DECIMAL_FORMAT_COMMA_J
DECIMAL_FORMAT
,
Constant Field Valuespublic static final java.lang.String DEFAULT_CCSID
public static final java.lang.String DEFAULT_WAIT_TIME
public static final java.lang.String DEVICE_RECOVERY_ACTION
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.
The following special values can be used when setting the device recovery action:
SYSTEM_VALUE
- The
system value QDEVRCYACN is used.
public static final java.lang.String DEVICE_RECOVERY_ACTION_MESSAGE
DEVICE_RECOVERY_ACTION
,
Constant Field Valuespublic static final java.lang.String DEVICE_RECOVERY_ACTION_DISCONNECT_MESSAGE
DEVICE_RECOVERY_ACTION
,
Constant Field Valuespublic static final java.lang.String DEVICE_RECOVERY_ACTION_DISCONNECT_END_REQUEST
DEVICE_RECOVERY_ACTION
,
Constant Field Valuespublic static final java.lang.String DEVICE_RECOVERY_ACTION_END_JOB
DEVICE_RECOVERY_ACTION
,
Constant Field Valuespublic static final java.lang.String DEVICE_RECOVERY_ACTION_END_JOB_NO_LIST
DEVICE_RECOVERY_ACTION
,
Constant Field Valuespublic static final java.lang.String ELIGIBLE_FOR_PURGE
public static final java.lang.String END_SEVERITY
public static final java.lang.String FUNCTION_NAME
public static final java.lang.String FUNCTION_TYPE
FUNCTION_TYPE_BLANK
- The system is not performing a logged function.
FUNCTION_TYPE_COMMAND
- A command is running interactively, or it is
in a batch input stream, or it was requested from a system menu.
FUNCTION_TYPE_DELAY
- The initial thread of the job is processing
a Delay Job (DLYJOB) command.
FUNCTION_TYPE_GROUP
- The Transfer Group Job (TFRGRPJOB) command
suspended the job.
FUNCTION_TYPE_INDEX
- The initial thread of the job is rebuilding
an index (access path).
FUNCTION_TYPE_IO
- The job is a subsystem monitor that is performing
input/output (I/O) operations to a work station.
FUNCTION_TYPE_LOG
- The system logs history information in a database
file.
FUNCTION_TYPE_MENU
- The initial thread of the job is currently
at a system menu.
FUNCTION_TYPE_MRT
- The job is a multiple requester terminal (MRT)
job is the job type
is JOB_TYPE_BATCH
and the job subtype
is JOB_SUBTYPE_MRT
,
or it is an interactive job attached to an MRT job if the
job type
is JOB_TYPE_INTERACTIVE
.
FUNCTION_TYPE_PROCEDURE
- The initial thread of the job is running
a procedure.
FUNCTION_TYPE_PROGRAM
- The initial thread of the job is running
a program.
FUNCTION_TYPE_SPECIAL
- The function type is special.
public static final java.lang.String FUNCTION_TYPE_BLANK
FUNCTION_TYPE
,
Constant Field Valuespublic static final java.lang.String FUNCTION_TYPE_COMMAND
FUNCTION_TYPE
,
Constant Field Valuespublic static final java.lang.String FUNCTION_TYPE_DELAY
FUNCTION_TYPE
,
Constant Field Valuespublic static final java.lang.String FUNCTION_TYPE_GROUP
FUNCTION_TYPE
,
Constant Field Valuespublic static final java.lang.String FUNCTION_TYPE_INDEX
FUNCTION_TYPE
,
Constant Field Valuespublic static final java.lang.String FUNCTION_TYPE_LOG
FUNCTION_TYPE
,
Constant Field Valuespublic static final java.lang.String FUNCTION_TYPE_MRT
job type
is JOB_TYPE_BATCH
and the job subtype
is JOB_SUBTYPE_MRT
,
or it is an interactive job attached to an MRT job if the
job type
is JOB_TYPE_INTERACTIVE
.FUNCTION_TYPE
,
Constant Field Valuespublic static final java.lang.String FUNCTION_TYPE_MENU
FUNCTION_TYPE
,
Constant Field Valuespublic static final java.lang.String FUNCTION_TYPE_IO
FUNCTION_TYPE
,
Constant Field Valuespublic static final java.lang.String FUNCTION_TYPE_PROGRAM
FUNCTION_TYPE
,
Constant Field Valuespublic static final java.lang.String FUNCTION_TYPE_PROCEDURE
FUNCTION_TYPE
,
Constant Field Valuespublic static final java.lang.String FUNCTION_TYPE_SPECIAL
FUNCTION_TYPE
,
Constant Field Valuespublic static final java.lang.String INQUIRY_MESSAGE_REPLY
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.
public static final java.lang.String INQUIRY_MESSAGE_REPLY_REQUIRED
INQUIRY_MESSAGE_REPLY
,
Constant Field Valuespublic static final java.lang.String INQUIRY_MESSAGE_REPLY_DEFAULT
INQUIRY_MESSAGE_REPLY
,
Constant Field Valuespublic static final java.lang.String INQUIRY_MESSAGE_REPLY_SYSTEM_REPLY_LIST
INQUIRY_MESSAGE_REPLY
,
Constant Field Valuespublic static final java.lang.String INSTANCE
public static final java.lang.String INTERACTIVE_TRANSACTIONS
public static final java.lang.String INTERNAL_JOB_ID
public static final java.lang.String JOB_DATE
NO_DATE
indicates that the job uses the system date.
The Date value is converted using the default Java locale.public static final java.lang.String JOB_DESCRIPTION
QSYSObjectPathName
,
Constant Field Valuespublic static final java.lang.String JOB_NAME
public static final java.lang.String JOB_NUMBER
public static final java.lang.String JOB_QUEUE
QSYSObjectPathName
,
Constant Field Valuespublic static final java.lang.String JOB_QUEUE_DATE
public static final java.lang.String JOB_QUEUE_PRIORITY
public static final java.lang.String JOB_QUEUE_STATUS
JOB_QUEUE_STATUS_BLANK
- The job is not on a job queue.
JOB_QUEUE_STATUS_SCHEDULED
- The job will run as scheduled.
JOB_QUEUE_STATUS_HELD
- The job is being held on the job queue.
JOB_QUEUE_STATUS_RELEASED
- The job is ready to be selected.
public static final java.lang.String JOB_QUEUE_STATUS_BLANK
JOB_QUEUE_STATUS
,
Constant Field Valuespublic static final java.lang.String JOB_QUEUE_STATUS_SCHEDULED
JOB_QUEUE_STATUS
,
Constant Field Valuespublic static final java.lang.String JOB_QUEUE_STATUS_HELD
JOB_QUEUE_STATUS
,
Constant Field Valuespublic static final java.lang.String JOB_QUEUE_STATUS_RELEASED
JOB_QUEUE_STATUS
,
Constant Field Valuespublic static final java.lang.String JOB_STATUS
JOB_STATUS_ACTIVE
- The job is active.
JOB_STATUS_JOBQ
- The job is currently on a job queue.
JOB_STATUS_OUTQ
- The job has completed running, but still has output
on an output queue.
public static final java.lang.String JOB_STATUS_ACTIVE
JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String JOB_STATUS_JOBQ
JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String JOB_STATUS_OUTQ
JOB_STATUS
,
Constant Field Valuespublic static final java.lang.String JOB_SUBTYPE
JOB_SUBTYPE_BLANK
- The job has no special subtype or is not a valid job.
JOB_SUBTYPE_IMMEDIATE
- The job is an immediate job.
JOB_SUBTYPE_PROCEDURE_START_REQUEST
- The job started
with a procedure start request.
JOB_SUBTYPE_MACHINE_SERVER_JOB
- The job is an
Advanced 36 machine server job.
JOB_SUBTYPE_PRESTART
- The job is a prestart job.
JOB_SUBTYPE_PRINT_DRIVER
- The job is a print driver job.
JOB_SUBTYPE_MRT
- The job is a System/36 multiple requester terminal
(MRT) job.
JOB_SUBTYPE_ALTERNATE_SPOOL_USER
- Alternate spool user.
public static final java.lang.String JOB_SUBTYPE_BLANK
JOB_SUBTYPE
,
Constant Field Valuespublic static final java.lang.String JOB_SUBTYPE_IMMEDIATE
JOB_SUBTYPE
,
Constant Field Valuespublic static final java.lang.String JOB_SUBTYPE_PROCEDURE_START_REQUEST
JOB_SUBTYPE
,
Constant Field Valuespublic static final java.lang.String JOB_SUBTYPE_MACHINE_SERVER_JOB
JOB_SUBTYPE
,
Constant Field Valuespublic static final java.lang.String JOB_SUBTYPE_PRESTART
JOB_SUBTYPE
,
Constant Field Valuespublic static final java.lang.String JOB_SUBTYPE_PRINT_DRIVER
JOB_SUBTYPE
,
Constant Field Valuespublic static final java.lang.String JOB_SUBTYPE_MRT
JOB_SUBTYPE
,
Constant Field Valuespublic static final java.lang.String JOB_SUBTYPE_ALTERNATE_SPOOL_USER
JOB_SUBTYPE
,
Constant Field Valuespublic static final java.lang.String JOB_SWITCHES
public static final java.lang.String JOB_TYPE
JOB_TYPE_NOT_VALID
- The job is not a valid job.
JOB_TYPE_AUTOSTART
- The job is an autostart job.
JOB_TYPE_BATCH
- The job is a batch job.
JOB_TYPE_INTERACTIVE
- The job is an interactive job.
JOB_TYPE_SUBSYSTEM_MONITOR
- The job is a subsystem monitor job.
JOB_TYPE_SPOOLED_READER
- The job is a spooled reader job.
JOB_TYPE_SYSTEM
- The job is a system job.
JOB_TYPE_SPOOLED_WRITER
- The job is a spooled writer job.
JOB_TYPE_SCPF_SYSTEM
- The job is the SCPF system job.
public static final java.lang.String JOB_TYPE_NOT_VALID
JOB_TYPE
,
Constant Field Valuespublic static final java.lang.String JOB_TYPE_AUTOSTART
JOB_TYPE
,
Constant Field Valuespublic static final java.lang.String JOB_TYPE_BATCH
JOB_TYPE
,
Constant Field Valuespublic static final java.lang.String JOB_TYPE_INTERACTIVE
JOB_TYPE
,
Constant Field Valuespublic static final java.lang.String JOB_TYPE_SUBSYSTEM_MONITOR
JOB_TYPE
,
Constant Field Valuespublic static final java.lang.String JOB_TYPE_SPOOLED_READER
JOB_TYPE
,
Constant Field Valuespublic static final java.lang.String JOB_TYPE_SYSTEM
JOB_TYPE
,
Constant Field Valuespublic static final java.lang.String JOB_TYPE_SPOOLED_WRITER
JOB_TYPE
,
Constant Field Valuespublic static final java.lang.String JOB_TYPE_SCPF_SYSTEM
JOB_TYPE
,
Constant Field Valuespublic static final java.lang.String KEEP_DDM_CONNECTIONS_ACTIVE
KEEP_DDM_CONNECTIONS_ACTIVE_KEEP
-
The system keeps DDM connections active when there are no users.
KEEP_DDM_CONNECTIONS_ACTIVE_DROP
-
The system ends a DDM connection when there are no users.
public static final java.lang.String KEEP_DDM_CONNECTIONS_ACTIVE_KEEP
public static final java.lang.String KEEP_DDM_CONNECTIONS_ACTIVE_DROP
public static final java.lang.String LANGUAGE_ID
The following special values can be used when setting the language ID:
SYSTEM_VALUE
- The
system value QLANGID is used.
USER_PROFILE
- The
language identifier specified in the user profile in which this thread
was initially running is used.
public static final java.lang.String LOCATION_NAME
public static final java.lang.String LOG_CL_PROGRAMS
public static final java.lang.String LOGGING_LEVEL
LOGGING_LEVEL_NONE
- No messages are logged.
LOGGING_LEVEL_MESSAGES_BY_SEVERITY
- All messages sent
to the job's external message queue with a severity greater than or equal to
the message logging severity
are logged.
LOGGING_LEVEL_REQUESTS_BY_SEVERITY_AND_ASSOCIATED_MESSAGES
-
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.
LOGGING_LEVEL_ALL_REQUESTS_AND_ASSOCIATED_MESSAGES
-
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.
LOGGING_LEVEL_ALL_REQUESTS_AND_MESSAGES
-
All requests or commands from CL programs and all messages
with a severity code greater than or equal to the logging severity
are logged.
public static final java.lang.String LOGGING_LEVEL_NONE
LOGGING_LEVEL
,
Constant Field Valuespublic static final java.lang.String LOGGING_LEVEL_MESSAGES_BY_SEVERITY
message logging severity
are logged.LOGGING_LEVEL
,
Constant Field Valuespublic static final java.lang.String LOGGING_LEVEL_REQUESTS_BY_SEVERITY_AND_ASSOCIATED_MESSAGES
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.LOGGING_LEVEL
,
Constant Field Valuespublic static final java.lang.String LOGGING_LEVEL_ALL_REQUESTS_AND_ASSOCIATED_MESSAGES
logging severity
are logged.LOGGING_LEVEL
,
Constant Field Valuespublic static final java.lang.String LOGGING_LEVEL_ALL_REQUESTS_AND_MESSAGES
logging severity
are logged.LOGGING_LEVEL
,
Constant Field Valuespublic static final java.lang.String LOGGING_SEVERITY
public static final java.lang.String LOGGING_TEXT
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.
public static final java.lang.String LOGGING_TEXT_MESSAGE
LOGGING_TEXT
,
Constant Field Valuespublic static final java.lang.String LOGGING_TEXT_SECLVL
LOGGING_TEXT
,
Constant Field Valuespublic static final java.lang.String LOGGING_TEXT_NO_LIST
LOGGING_TEXT
,
Constant Field Valuespublic static final java.lang.String MAX_CPU_TIME
public static final java.lang.String MAX_TEMP_STORAGE
public static final java.lang.String MESSAGE_QUEUE_ACTION
MESSAGE_QUEUE_ACTION_NO_WRAP
-
Do not wrap. This action causes the job to end.
MESSAGE_QUEUE_ACTION_WRAP
-
Wrap to the beginning and start filling again.
MESSAGE_QUEUE_ACTION_PRINT_WRAP
-
Wrap the message queue and print the
messages that are being overlaid because of the wrapping.
public static final java.lang.String MESSAGE_QUEUE_ACTION_NO_WRAP
MESSAGE_QUEUE_ACTION
,
Constant Field Valuespublic static final java.lang.String MESSAGE_QUEUE_ACTION_WRAP
MESSAGE_QUEUE_ACTION
,
Constant Field Valuespublic static final java.lang.String MESSAGE_QUEUE_ACTION_PRINT_WRAP
MESSAGE_QUEUE_ACTION
,
Constant Field Valuespublic static final java.lang.String MESSAGE_QUEUE_MAX_SIZE
public static final java.lang.String MODE
public static final java.lang.String NETWORK_ID
public static final java.lang.String OUTPUT_QUEUE
QSYSObjectPathName
,
Constant Field Valuespublic static final java.lang.String OUTPUT_QUEUE_PRIORITY
public static final java.lang.String PRINT_KEY_FORMAT
NONE
- The border and header information is not
included with output from the Print key.
PRINT_KEY_FORMAT_BORDER
- The border information
is included with output from the Print key.
PRINT_KEY_FORMAT_HEADER
- The header information
is included with output from the Print key.
PRINT_KEY_FORMAT_ALL
- The border and header information
is included with output from the Print key.
The following special value can be used when setting the print key format:
SYSTEM_VALUE
- The
system value QPRTKEYFMT is used.
public static final java.lang.String PRINT_KEY_FORMAT_BORDER
PRINT_KEY_FORMAT
,
Constant Field Valuespublic static final java.lang.String PRINT_KEY_FORMAT_HEADER
PRINT_KEY_FORMAT
,
Constant Field Valuespublic static final java.lang.String PRINT_KEY_FORMAT_ALL
PRINT_KEY_FORMAT
,
Constant Field Valuespublic static final java.lang.String PRINT_TEXT
The following special value can be used when setting the print key format:
SYSTEM_VALUE
- The
system value QPRTTXT is used.
public static final java.lang.String PRINTER_DEVICE_NAME
The following special values can be used when setting the printer:
SYSTEM_VALUE
- The
system value QPRTDEV is used.
PRINTER_DEVICE_NAME_WORK_STATION
- The
default printer device used with this job is the printer device
assigned to the work station that is associated with the job.
USER_PROFILE
- The
printer device name specified in the user profile in which this thread
was initially running is used.
public static final java.lang.String PRINTER_DEVICE_NAME_WORK_STATION
PRINTER_DEVICE_NAME
,
Constant Field Valuespublic static final java.lang.String PRODUCT_LIBRARIES
public static final java.lang.String PRODUCT_RETURN_CODE
public static final java.lang.String PROGRAM_RETURN_CODE
public static final java.lang.String ROUTING_DATA
public static final java.lang.String RUN_PRIORITY
public static final java.lang.String SCHEDULE_DATE
The following special values can be used when setting the schedule date:
SCHEDULE_DATE_CURRENT
- The
submitted job becomes eligible to run at the current date.
SCHEDULE_DATE_MONTH_START
- The
submitted job becomes eligible to run on the first day of
the month.
SCHEDULE_DATE_MONTH_END
- The
submitted job becomes eligible to run on the last day of
the month.
SCHEDULE_DATE_MONDAY
- The
submitted job becomes eligible to run on Monday.
SCHEDULE_DATE_TUESDAY
- The
submitted job becomes eligible to run on Tuesday.
SCHEDULE_DATE_WEDNESDAY
- The
submitted job becomes eligible to run on Wednesday.
SCHEDULE_DATE_THURSDAY
- The
submitted job becomes eligible to run on Thursday.
SCHEDULE_DATE_FRIDAY
- The
submitted job becomes eligible to run on Friday.
SCHEDULE_DATE_SATURDAY
- The
submitted job becomes eligible to run on Saturday.
SCHEDULE_DATE_SUNDAY
- The
submitted job becomes eligible to run on Sunday.
public static final java.util.Date SCHEDULE_DATE_CURRENT
SCHEDULE_DATE
public static final java.util.Date SCHEDULE_DATE_MONTH_START
SCHEDULE_DATE
public static final java.util.Date SCHEDULE_DATE_MONTH_END
SCHEDULE_DATE
public static final java.util.Date SCHEDULE_DATE_MONDAY
SCHEDULE_DATE
public static final java.util.Date SCHEDULE_DATE_TUESDAY
SCHEDULE_DATE
public static final java.util.Date SCHEDULE_DATE_WEDNESDAY
SCHEDULE_DATE
public static final java.util.Date SCHEDULE_DATE_THURSDAY
SCHEDULE_DATE
public static final java.util.Date SCHEDULE_DATE_FRIDAY
SCHEDULE_DATE
public static final java.util.Date SCHEDULE_DATE_SATURDAY
SCHEDULE_DATE
public static final java.util.Date SCHEDULE_DATE_SUNDAY
SCHEDULE_DATE
public static final java.lang.String SEQUENCE_NUMBER
public static final java.lang.String SERVER_TYPE
public static final java.lang.String SIGNED_ON_JOB
public static final java.lang.String SORT_SEQUENCE_TABLE
QSYSObjectPathName
,
Constant Field Valuespublic static final java.lang.String SPECIAL_ENVIRONMENT
NONE
- The job is not running in any special environment.
SPECIAL_ENVIRONMENT_SYSTEM_36
-
The job is running in the System/36 environment.
SPECIAL_ENVIRONMENT_NOT_ACTIVE
-
The job is not currently active.
public static final java.lang.String SPECIAL_ENVIRONMENT_SYSTEM_36
SPECIAL_ENVIRONMENT
,
Constant Field Valuespublic static final java.lang.String SPECIAL_ENVIRONMENT_NOT_ACTIVE
SPECIAL_ENVIRONMENT
,
Constant Field Valuespublic static final java.lang.String STATUS_MESSAGE_HANDLING
NONE
-
This job does not display status messages.
STATUS_MESSAGE_HANDLING_NORMAL
-
This job displays status messages.
The following special values can be used when setting the status message handling:
SYSTEM_VALUE
- The
system value QSTSMSG is used.
USER_PROFILE
- The
status message handling that is specified in the user profile under which this thread
was initially running is used.
public static final java.lang.String STATUS_MESSAGE_HANDLING_NORMAL
STATUS_MESSAGE_HANDLING
,
Constant Field Valuespublic static final java.lang.String SUBMITTED_BY_JOB_NAME
public static final java.lang.String SUBMITTED_BY_JOB_NUMBER
public static final java.lang.String SUBMITTED_BY_USER
public static final java.lang.String SUBSYSTEM
QSYSObjectPathName
,
Constant Field Valuespublic static final java.lang.String SYSTEM_LIBRARY_LIST
public static final java.lang.String SYSTEM_POOL_ID
public static final java.lang.String TEMP_STORAGE_USED
public static final java.lang.String THREAD_COUNT
public static final java.lang.String TIME_SEPARATOR
The following special value can be used when setting the time separator:
TIME_SEPARATOR_SYSTEM_VALUE
- The
system value QTIMSEP is used.
public static final java.lang.String TIME_SEPARATOR_SYSTEM_VALUE
TIME_SEPARATOR
,
Constant Field Valuespublic static final java.lang.String TIME_SLICE
public static final java.lang.String TIME_SLICE_END_POOL
NONE
-
A thread in the job does not move to another main storage pool when it reaches
the end of its time slice.
TIME_SLICE_END_POOL_BASE
-
A thread in the job moves to the base pool when it reaches
the end of its time slice.
The following special value can be used when setting the time slice end pool:
SYSTEM_VALUE
- The
system value QTSEPOOL is used.
public static final java.lang.String TIME_SLICE_END_POOL_BASE
TIME_SLICE_END_POOL
,
Constant Field Valuespublic static final java.lang.String TOTAL_RESPONSE_TIME
public static final java.lang.String USER_LIBRARY_LIST
public static final java.lang.String USER_NAME
public static final java.lang.String USER_RETURN_CODE
public RJob()
public RJob(AS400 system)
system
- The system.public RJob(AS400 system, java.lang.String name, java.lang.String user, java.lang.String number)
system
- The system.name
- The job name. Specify "*" to indicate the default job.user
- The user name. This must be blank if name is "*".number
- The job number. This must be blank if name is "*".public RJob(AS400 system, byte[] internalJobID)
system
- The system.internalJobID
- The internal job identifier.protected void commitAttributeChanges(java.lang.Object[] attributeIDs, java.lang.Object[] values, int[] bidiStringTypes) throws ResourceException
commitAttributeChanges
in class ChangeableResource
attributeIDs
- The attribute IDs for the specified attribute changes.values
- The specified attribute changesbidiStringTypes
- The bidi string types as defined by the CDRA (Character Data
Representation Architecture). See
BidiStringType
for more information and valid values.ResourceException
- If an error occurs.public void createResource(java.lang.Object[] attributeIDs, java.lang.Object[] values) throws ResourceException
attributeIDs
- values
- ResourceException
- If an error occurs.public void end() throws ResourceException
ResourceException
- If an error occurs.public void end(int delayTime) throws ResourceException
delayTime
- The amount of time (in seconds) allowed for the job to complete
its cleanup and end of job processing during a controlled end.
If the cleanup is not completed before the end of the delay time,
the job is ended immediately. Specify 0 to end the job
immediately.ResourceException
- If an error occurs.protected void establishConnection() throws ResourceException
The method is called by the resource framework automatically when the connection needs to be established.
establishConnection
in class Resource
ResourceException
- If an error occurs.protected void freezeProperties() throws ResourceException
The method is called by the resource framework automatically when the properties need to be frozen.
freezeProperties
in class Resource
ResourceException
- If an error occurs.public java.lang.Object getAttributeUnchangedValue(java.lang.Object attributeID, int bidiStringType) throws ResourceException
getAttributeUnchangedValue
in class ChangeableResource
attributeID
- Identifies the attribute.bidiStringType
- The bidi string type as defined by the CDRA (Character Data
Representation Architecture). See
BidiStringType
for more information and valid values.ResourceException
- If an error occurs.public byte[] getInternalJobID()
public java.lang.String getName()
public java.lang.String getNumber()
public java.lang.String getUser()
protected boolean isBidiEnabled()
isBidiEnabled
in class Resource
public void refreshAttributeValues() throws ResourceException
refreshAttributeValues
in class ChangeableResource
ResourceException
- If an error occurs.public void setInternalJobID(byte[] internalJobID) throws java.beans.PropertyVetoException
internalJobID
- The internal job identifier.java.beans.PropertyVetoException
- If the property change is vetoed.public void setName(java.lang.String name) throws java.beans.PropertyVetoException
name
- The job name. Specify "*" to indicate the job this
program running in, or "*INT" to indicate that the job
is specified using the internal job identifier.java.beans.PropertyVetoException
- If the property change is vetoed.public void setNumber(java.lang.String number) throws java.beans.PropertyVetoException
number
- The job number. This must be blank if the job name is "*".java.beans.PropertyVetoException
- If the property change is vetoed.public void setUser(java.lang.String user) throws java.beans.PropertyVetoException
user
- The user name. This must be blank if the job name is "*".java.beans.PropertyVetoException
- If the property change is vetoed.