com.ibm.as400.resource
Class RJob

java.lang.Object
  extended bycom.ibm.as400.resource.Resource
      extended bycom.ibm.as400.resource.ChangeableResource
          extended bycom.ibm.as400.resource.RJob
All Implemented Interfaces:
Serializable

Deprecated. Use Job instead, as this package may be removed in the future.

public class RJob
extends ChangeableResource

The RJob class represents a server job. In order to access a job, the system and either the job name, user name, and job number or internal job identifier need to be set. A valid combination of these must be set by getting or setting any of the job's attributes.

If you do not specify any of the job name, user name, job number, or internal job identifier properties, the default job is used. The default job is the host server job for remote program calls.

The following attribute IDs are supported:

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

See Also:
RJobList, Serialized Form

Field Summary
static String ACCOUNTING_CODE
          Deprecated. Attribute ID for accounting code.
static String ACTIVE_JOB_STATUS
          Deprecated. Attribute ID for active job status.
static String AUXILIARY_IO_REQUESTS
          Deprecated. Attribute ID for auxiliary I/O requests.
static String BREAK_MESSAGE_HANDLING
          Deprecated. Attribute ID for break message handling.
static String BREAK_MESSAGE_HANDLING_HOLD
          Deprecated. Attribute value indicating that the message queue holds break messages until a user or program requests them.
static String BREAK_MESSAGE_HANDLING_NORMAL
          Deprecated. Attribute value indicating that the message queue status determines break message handling.
static String BREAK_MESSAGE_HANDLING_NOTIFY
          Deprecated. Attribute value indicating that the system notifies the job's message queue when a message arrives.
static 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 String COMPLETION_STATUS
          Deprecated. Attribute ID for completion status.
static String COMPLETION_STATUS_COMPLETED_ABNORMALLY
          Deprecated. Attribute value indicating that the job completed abnormally.
static String COMPLETION_STATUS_COMPLETED_NORMALLY
          Deprecated. Attribute value indicating that the job completed normally.
static String COMPLETION_STATUS_NOT_COMPLETED
          Deprecated. Attribute value indicating that the job has not completed.
static String CONTROLLED_END_REQUESTED
          Deprecated. Attribute ID for controlled end requested.
static 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 String CONTROLLED_END_REQUESTED_NOT_CANCELED
          Deprecated. Attribute value indicating that the system, subsystem, or job is not canceled.
static String CONTROLLED_END_REQUESTED_NOT_RUNNING
          Deprecated. Attribute value indicating that the job is not running.
static String COUNTRY_ID
          Deprecated. Attribute ID for country ID.
static String CPU_TIME_USED
          Deprecated. Attribute ID for CPU time used.
static String CURRENT_LIBRARY
          Deprecated. Attribute ID for current library.
static String CURRENT_LIBRARY_EXISTENCE
          Deprecated. Attribute ID for current library existence.
static String CURRENT_SYSTEM_POOL_ID
          Deprecated. Attribute ID for current system pool ID.
static String CURRENT_USER
          Deprecated. Attribute ID for current user.
static String DATE_ENTERED_SYSTEM
          Deprecated. Attribute ID for date entered system.
static String DATE_FORMAT
          Deprecated. Attribute ID for date format.
static String DATE_FORMAT_DMY
          Deprecated. Attribute value indicating the day, month, and year date format.
static String DATE_FORMAT_JULIAN
          Deprecated. Attribute value indicating the Julian date format.
static String DATE_FORMAT_MDY
          Deprecated. Attribute value indicating the month, day, and year date format.
static String DATE_FORMAT_SYSTEM_VALUE
          Deprecated. Attribute value indicating that the system value QDATFMT is used.
static String DATE_FORMAT_YMD
          Deprecated. Attribute value indicating the year, month, and day date format.
static String DATE_SEPARATOR
          Deprecated. Attribute ID for date separator.
static String DATE_SEPARATOR_SYSTEM_VALUE
          Deprecated. Attribute value indicating that the system value QDATSEP is used.
static String DATE_STARTED
          Deprecated. Attribute ID for date started.
static String DBCS_CAPABLE
          Deprecated. Attribute ID for DBCS capable.
static String DECIMAL_FORMAT
          Deprecated. Attribute ID for decimal format.
static 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 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 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 String DEFAULT_CCSID
          Deprecated. Attribute ID for default coded character set identifier (CCSID).
static String DEFAULT_WAIT_TIME
          Deprecated. Attribute ID for default wait time.
static String DEVICE_RECOVERY_ACTION
          Deprecated. Attribute ID for device recovery action.
static 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 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 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 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 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 String ELIGIBLE_FOR_PURGE
          Deprecated. Attribute ID for eligible for purge.
static String END_SEVERITY
          Deprecated. Attribute ID for end severity.
static String FUNCTION_NAME
          Deprecated. Attribute ID for function name.
static String FUNCTION_TYPE
          Deprecated. Attribute ID for function type.
static String FUNCTION_TYPE_BLANK
          Deprecated. Attribute value indicating that the system is not performing a logged function.
static 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 String FUNCTION_TYPE_DELAY
          Deprecated. Attribute value indicating that the initial thread of the job is processing a Delay Job (DLYJOB) command.
static String FUNCTION_TYPE_GROUP
          Deprecated. Attribute value indicating that the Transfer Group Job (TFRGRPJOB) command suspended the job.
static String FUNCTION_TYPE_INDEX
          Deprecated. Attribute value indicating that the initial thread of the job is rebuilding an index (access path).
static 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 String FUNCTION_TYPE_LOG
          Deprecated. Attribute value indicating that the system logs history information in a database file.
static String FUNCTION_TYPE_MENU
          Deprecated. Attribute value indicating that the initial thread of the job is currently at a system menu.
static 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 String FUNCTION_TYPE_PROCEDURE
          Deprecated. Attribute value indicating that the initial thread of the job is running a procedure.
static String FUNCTION_TYPE_PROGRAM
          Deprecated. Attribute value indicating that the initial thread of the job is running a program.
static String FUNCTION_TYPE_SPECIAL
          Deprecated. Attribute value indicating that the function type is special.
static String INQUIRY_MESSAGE_REPLY
          Deprecated. Attribute ID for inquiry message reply.
static 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 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 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 String INSTANCE
          Deprecated. Attribute ID for instance.
static String INTERACTIVE_TRANSACTIONS
          Deprecated. Attribute ID for interactive transactions.
static String INTERNAL_JOB_ID
          Deprecated. Attribute ID for internal job identifier.
static String JOB_DATE
          Deprecated. Attribute ID for job date.
static String JOB_DESCRIPTION
          Deprecated. Attribute ID for job description.
static String JOB_NAME
          Deprecated. Attribute ID for job name.
static String JOB_NUMBER
          Deprecated. Attribute ID for job number.
static String JOB_QUEUE
          Deprecated. Attribute ID for job queue.
static String JOB_QUEUE_DATE
          Deprecated. Attribute ID for job queue date.
static String JOB_QUEUE_PRIORITY
          Deprecated. Attribute ID for job queue priority.
static String JOB_QUEUE_STATUS
          Deprecated. Attribute ID for job queue status.
static String JOB_QUEUE_STATUS_BLANK
          Deprecated. Attribute value indicating that the job is not on a job queue.
static String JOB_QUEUE_STATUS_HELD
          Deprecated. Attribute value indicating that the job is being held on the job queue.
static String JOB_QUEUE_STATUS_RELEASED
          Deprecated. Attribute value indicating that the job is ready to be selected.
static String JOB_QUEUE_STATUS_SCHEDULED
          Deprecated. Attribute value indicating that the job will run as scheduled.
static String JOB_STATUS
          Deprecated. Attribute ID for job status.
static String JOB_STATUS_ACTIVE
          Deprecated. Attribute value indicating that the job is active.
static String JOB_STATUS_JOBQ
          Deprecated. Attribute value indicating that the job is currently on a job queue.
static String JOB_STATUS_OUTQ
          Deprecated. Attribute value indicating that the job has completed running.
static String JOB_SUBTYPE
          Deprecated. Attribute ID for job subtype.
static String JOB_SUBTYPE_ALTERNATE_SPOOL_USER
          Deprecated. Attribute value indicating alternate spool user.
static String JOB_SUBTYPE_BLANK
          Deprecated. Attribute value indicating that the job has no special subtype or is not a valid job.
static String JOB_SUBTYPE_IMMEDIATE
          Deprecated. Attribute value indicating that the job is an immediate job.
static String JOB_SUBTYPE_MACHINE_SERVER_JOB
          Deprecated. Attribute value indicating that the job is a server Advanced 36 machine server job.
static String JOB_SUBTYPE_MRT
          Deprecated. Attribute value indicating that the job is a System/36 multiple requester terminal (MRT) job.
static String JOB_SUBTYPE_PRESTART
          Deprecated. Attribute value indicating that the job is a prestart job.
static String JOB_SUBTYPE_PRINT_DRIVER
          Deprecated. Attribute value indicating that the job is a print driver job.
static String JOB_SUBTYPE_PROCEDURE_START_REQUEST
          Deprecated. Attribute value indicating that the job started with a procedure start request.
static String JOB_SWITCHES
          Deprecated. Attribute ID for switch settings.
static String JOB_TYPE
          Deprecated. Attribute ID for job type.
static String JOB_TYPE_AUTOSTART
          Deprecated. Attribute value indicating that the job is an autostart job.
static String JOB_TYPE_BATCH
          Deprecated. Attribute value indicating that the job is a batch job.
static String JOB_TYPE_INTERACTIVE
          Deprecated. Attribute value indicating that the job is an interactive job.
static String JOB_TYPE_NOT_VALID
          Deprecated. Attribute value indicating that the job is not a valid job.
static String JOB_TYPE_SCPF_SYSTEM
          Deprecated. Attribute value indicating that the job is the SCPF system job.
static String JOB_TYPE_SPOOLED_READER
          Deprecated. Attribute value indicating that the job is a spooled reader job.
static String JOB_TYPE_SPOOLED_WRITER
          Deprecated. Attribute value indicating that the job is a spooled writer job.
static String JOB_TYPE_SUBSYSTEM_MONITOR
          Deprecated. Attribute value indicating that the job is a subsystem monitor job.
static String JOB_TYPE_SYSTEM
          Deprecated. Attribute value indicating that the job is a system job.
static String KEEP_DDM_CONNECTIONS_ACTIVE
          Deprecated. Attribute ID for keep DDM connections active.
static String KEEP_DDM_CONNECTIONS_ACTIVE_DROP
          Deprecated. Attribute value indicating that the system ends a DDM connection when there are no users.
static String KEEP_DDM_CONNECTIONS_ACTIVE_KEEP
          Deprecated. Attribute value indicating that the system keeps DDM connections active when there are no users.
static String LANGUAGE_ID
          Deprecated. Attribute ID for language ID.
static String LOCATION_NAME
          Deprecated. Attribute ID for location name.
static String LOG_CL_PROGRAMS
          Deprecated. Attribute ID for logging CL programs.
static String LOGGING_LEVEL
          Deprecated. Attribute ID for logging level.
static 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 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 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 String LOGGING_LEVEL_NONE
          Deprecated. Attribute value indicating that no messages are logged.
static 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 String LOGGING_SEVERITY
          Deprecated. Attribute ID for logging severity.
static String LOGGING_TEXT
          Deprecated. Attribute ID for logging text.
static String LOGGING_TEXT_MESSAGE
          Deprecated. Attribute value indicating that only the message is written to the job log.
static String LOGGING_TEXT_NO_LIST
          Deprecated. Attribute value indicating that if the job ends normally, there is no job log.
static 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 String MAX_CPU_TIME
          Deprecated. Attribute ID for maximum CPU time.
static String MAX_TEMP_STORAGE
          Deprecated. Attribute ID for maximum temporary storage.
static String MESSAGE_QUEUE_ACTION
          Deprecated. Attribute ID for message queue action.
static String MESSAGE_QUEUE_ACTION_NO_WRAP
          Deprecated. Attribute value indicating that the message queue does not wrap.
static 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 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 String MESSAGE_QUEUE_MAX_SIZE
          Deprecated. Attribute ID for message queue maximum size.
static String MODE
          Deprecated. Attribute ID for mode.
static String NETWORK_ID
          Deprecated. Attribute ID for network ID.
static String NO
          Deprecated. Attribute value for no.
static Date NO_DATE
          Deprecated. Attribute value for no date.
static String NONE
          Deprecated. Attribute value for none.
static String OUTPUT_QUEUE
          Deprecated. Attribute ID for output queue.
static String OUTPUT_QUEUE_PRIORITY
          Deprecated. Attribute ID for output queue priority.
static String PRINT_KEY_FORMAT
          Deprecated. Attribute ID for print key format.
static String PRINT_KEY_FORMAT_ALL
          Deprecated. Attribute value indicating that the border and header information is included with output from the Print key.
static String PRINT_KEY_FORMAT_BORDER
          Deprecated. Attribute value indicating that the border information is included with output from the Print key.
static String PRINT_KEY_FORMAT_HEADER
          Deprecated. Attribute value indicating that the header information is included with output from the Print key.
static String PRINT_TEXT
          Deprecated. Attribute ID for print text.
static String PRINTER_DEVICE_NAME
          Deprecated. Attribute ID for printer device name.
static 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 String PRODUCT_LIBRARIES
          Deprecated. Attribute ID for product libraries.
static String PRODUCT_RETURN_CODE
          Deprecated. Attribute ID for product return code.
static String PROGRAM_RETURN_CODE
          Deprecated. Attribute ID for program return code.
static String ROUTING_DATA
          Deprecated. Attribute ID for routing data.
static String RUN_PRIORITY
          Deprecated. Attribute ID for run priority.
static String SCHEDULE_DATE
          Deprecated. Attribute ID for schedule date.
static Date SCHEDULE_DATE_CURRENT
          Deprecated. Attribute value indicating that the submitted job becomes eligible to run at the current date.
static Date SCHEDULE_DATE_FRIDAY
          Deprecated. Attribute value indicating that the submitted job becomes eligible to run on Friday.
static Date SCHEDULE_DATE_MONDAY
          Deprecated. Attribute value indicating that the submitted job becomes eligible to run on Monday.
static 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 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 Date SCHEDULE_DATE_SATURDAY
          Deprecated. Attribute value indicating that the submitted job becomes eligible to run on Saturday.
static Date SCHEDULE_DATE_SUNDAY
          Deprecated. Attribute value indicating that the submitted job becomes eligible to run on Sunday.
static Date SCHEDULE_DATE_THURSDAY
          Deprecated. Attribute value indicating that the submitted job becomes eligible to run on Thursday.
static Date SCHEDULE_DATE_TUESDAY
          Deprecated. Attribute value indicating that the submitted job becomes eligible to run on Tuesday.
static Date SCHEDULE_DATE_WEDNESDAY
          Deprecated. Attribute value indicating that the submitted job becomes eligible to run on Wednesday.
static String SEQUENCE_NUMBER
          Deprecated. Attribute ID for sequence number.
static String SERVER_TYPE
          Deprecated. Attribute ID for server type.
static String SIGNED_ON_JOB
          Deprecated. Attribute ID for signed on job.
static String SORT_SEQUENCE_TABLE
          Deprecated. Attribute ID for sort sequence table.
static String SPECIAL_ENVIRONMENT
          Deprecated. Attribute ID for special environment.
static String SPECIAL_ENVIRONMENT_NOT_ACTIVE
          Deprecated. Attribute value indicating that the job is not currently active.
static String SPECIAL_ENVIRONMENT_SYSTEM_36
          Deprecated. Attribute value indicating that the job is running in the System/36 environment.
static String STATUS_MESSAGE_HANDLING
          Deprecated. Attribute ID for status message handling.
static String STATUS_MESSAGE_HANDLING_NORMAL
          Deprecated. Attribute value indicating that this job displays status messages.
static String SUBMITTED_BY_JOB_NAME
          Deprecated. Attribute ID for submitted by job name.
static String SUBMITTED_BY_JOB_NUMBER
          Deprecated. Attribute ID for submitted by job number.
static String SUBMITTED_BY_USER
          Deprecated. Attribute ID for submitted by user.
static String SUBSYSTEM
          Deprecated. Attribute ID for subsystem.
static String SYSTEM_LIBRARY_LIST
          Deprecated. Attribute ID for system library list.
static String SYSTEM_POOL_ID
          Deprecated. Attribute ID for system pool ID.
static String SYSTEM_VALUE
          Deprecated. Attribute value for system value.
static String TEMP_STORAGE_USED
          Deprecated. Attribute ID for temporary storage used.
static String THREAD_COUNT
          Deprecated. Attribute ID for thread count.
static String TIME_SEPARATOR
          Deprecated. Attribute ID for time separator.
static String TIME_SEPARATOR_SYSTEM_VALUE
          Deprecated. Attribute value indicating that the system value QTIMSEP is used.
static String TIME_SLICE
          Deprecated. Attribute ID for time slice.
static String TIME_SLICE_END_POOL
          Deprecated. Attribute ID for time slice end pool.
static 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 String TOTAL_RESPONSE_TIME
          Deprecated. Attribute ID for total response time.
static String USER_LIBRARY_LIST
          Deprecated. Attribute ID for user library list.
static String USER_NAME
          Deprecated. Attribute ID for user name.
static String USER_PROFILE
          Deprecated. Attribute value for user profile.
static String USER_RETURN_CODE
          Deprecated. Attribute ID for user return code.
static String YES
          Deprecated. Attribute value for yes.
 
Constructor Summary
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, String name, String user, String number)
          Deprecated. Constructs an RJob object.
 
Method Summary
protected  void commitAttributeChanges(Object[] attributeIDs, Object[] values, int[] bidiStringTypes)
          Deprecated. Commits the specified attribute changes.
 void createResource(Object[] attributeIDs, 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 server.
protected  void freezeProperties()
          Deprecated. Freezes any property changes.
 Object getAttributeUnchangedValue(Object attributeID, int bidiStringType)
          Deprecated. Returns the unchanged value of an attribute.
 byte[] getInternalJobID()
          Deprecated. Returns the internal job identifier.
 String getName()
          Deprecated. Returns the job name.
 String getNumber()
          Deprecated. Returns the job number.
 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(String name)
          Deprecated. Sets the job name.
 void setNumber(String number)
          Deprecated. Sets the job number.
 void setUser(String user)
          Deprecated. Sets the user name.
 String toString()
          Deprecated. Returns the string representation in the format "number/user/name".
 
Methods inherited from class com.ibm.as400.resource.ChangeableResource
cancelAttributeChanges, commitAttributeChanges, commitAttributeChanges, fireAttributeChangesCanceled, fireAttributeChangesCommitted, fireAttributeValueChanged, fireResourceCreated, fireResourceDeleted, getAttributeUnchangedValue, getAttributeValue, getAttributeValue, hasUncommittedAttributeChanges, initializeAttributeValue, setAttributeValue, setAttributeValue
 
Methods inherited from class com.ibm.as400.resource.Resource
addActiveStatusListener, addPropertyChangeListener, addResourceListener, addVetoableChangeListener, arePropertiesFrozen, equals, fireAttributeValuesRefreshed, fireBusy, fireIdle, firePropertyChange, fireVetoableChange, getAttributeMetaData, getAttributeMetaData, getPresentation, getResourceKey, getSystem, isConnectionEstablished, removeActiveStatusListener, removePropertyChangeListener, removeResourceListener, removeVetoableChangeListener, setPresentation, setResourceKey, setSystem
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SYSTEM_VALUE

public static final String SYSTEM_VALUE
Deprecated. 
Attribute value for system value.

See Also:
Constant Field Values

USER_PROFILE

public static final String USER_PROFILE
Deprecated. 
Attribute value for user profile.

See Also:
Constant Field Values

YES

public static final String YES
Deprecated. 
Attribute value for yes.

See Also:
Constant Field Values

NO

public static final String NO
Deprecated. 
Attribute value for no.

See Also:
Constant Field Values

NONE

public static final String NONE
Deprecated. 
Attribute value for none.

See Also:
Constant Field Values

NO_DATE

public static final Date NO_DATE
Deprecated. 
Attribute value for no date.


ACCOUNTING_CODE

public static final String ACCOUNTING_CODE
Deprecated. 
Attribute ID for accounting code. This identifies a String attribute, which represents the identifier assigned to the job by the system to collect resource use information for the job when job accounting is active.

See Also:
Constant Field Values

ACTIVE_JOB_STATUS

public static final String ACTIVE_JOB_STATUS
Deprecated. 
Attribute ID for active job status. This identifies a read-only String attribute, which represents the active status of the initial thread.

See Also:
Constant Field Values

AUXILIARY_IO_REQUESTS

public static final String AUXILIARY_IO_REQUESTS
Deprecated. 
Attribute ID for auxiliary I/O requests. This identifies a read-only Integer attribute, which represents the number of auxiliary I/O requests for the initial thread of the job.

See Also:
Constant Field Values

BREAK_MESSAGE_HANDLING

public static final String BREAK_MESSAGE_HANDLING
Deprecated. 
Attribute ID for break message handling. This identifies a String attribute, which represents how this job handles break messages. Possible values are:

See Also:
Constant Field Values

BREAK_MESSAGE_HANDLING_NORMAL

public static final String BREAK_MESSAGE_HANDLING_NORMAL
Deprecated. 
Attribute value indicating that the message queue status determines break message handling.

See Also:
BREAK_MESSAGE_HANDLING, Constant Field Values

BREAK_MESSAGE_HANDLING_HOLD

public static final String BREAK_MESSAGE_HANDLING_HOLD
Deprecated. 
Attribute value indicating that the message queue holds break messages until a user or program requests them.

See Also:
BREAK_MESSAGE_HANDLING, Constant Field Values

BREAK_MESSAGE_HANDLING_NOTIFY

public static final String BREAK_MESSAGE_HANDLING_NOTIFY
Deprecated. 
Attribute value indicating that the system notifies the job's message queue when a message arrives.

See Also:
BREAK_MESSAGE_HANDLING, Constant Field Values

CCSID

public static final String CCSID
Deprecated. 
Attribute ID for coded character set identifier (CCSID). This identifies an Integer attribute.

The following special values can be used when setting the CCSID:

See Also:
Constant Field Values

CCSID_SYSTEM_VALUE

public static final int CCSID_SYSTEM_VALUE
Deprecated. 
Attribute value indicating that the CCSID specified in the system value QCCSID is used.

See Also:
CCSID, Constant Field Values

CCSID_INITIAL_USER

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

See Also:
CCSID, Constant Field Values

COMPLETION_STATUS

public static final String COMPLETION_STATUS
Deprecated. 
Attribute ID for completion status. This identifies a read-only String attribute, which represents the completion status of the job. Possible values are:

See Also:
Constant Field Values

COMPLETION_STATUS_NOT_COMPLETED

public static final String COMPLETION_STATUS_NOT_COMPLETED
Deprecated. 
Attribute value indicating that the job has not completed.

See Also:
COMPLETION_STATUS, Constant Field Values

COMPLETION_STATUS_COMPLETED_NORMALLY

public static final String COMPLETION_STATUS_COMPLETED_NORMALLY
Deprecated. 
Attribute value indicating that the job completed normally.

See Also:
COMPLETION_STATUS, Constant Field Values

COMPLETION_STATUS_COMPLETED_ABNORMALLY

public static final String COMPLETION_STATUS_COMPLETED_ABNORMALLY
Deprecated. 
Attribute value indicating that the job completed abnormally.

See Also:
COMPLETION_STATUS, Constant Field Values

CONTROLLED_END_REQUESTED

public static final String CONTROLLED_END_REQUESTED
Deprecated. 
Attribute ID for controlled end requested. This identifies a read-only String attribute, which indicates whether or not the system issued a controlled cancelation. Possible values are:

See Also:
Constant Field Values

CONTROLLED_END_REQUESTED_CANCELED

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

See Also:
CONTROLLED_END_REQUESTED, Constant Field Values

CONTROLLED_END_REQUESTED_NOT_CANCELED

public static final String CONTROLLED_END_REQUESTED_NOT_CANCELED
Deprecated. 
Attribute value indicating that the system, subsystem, or job is not canceled.

See Also:
CONTROLLED_END_REQUESTED, Constant Field Values

CONTROLLED_END_REQUESTED_NOT_RUNNING

public static final String CONTROLLED_END_REQUESTED_NOT_RUNNING
Deprecated. 
Attribute value indicating that the job is not running.

See Also:
CONTROLLED_END_REQUESTED, Constant Field Values

COUNTRY_ID

public static final String COUNTRY_ID
Deprecated. 
Attribute ID for country ID. This identifies a String attribute.

The following special values can be used when setting the country ID:

See Also:
Constant Field Values

CPU_TIME_USED

public static final String CPU_TIME_USED
Deprecated. 
Attribute ID for CPU time used. This identifies a read-only Integer attribute, which represents the amount of processing unit time (in milliseconds) that the job used.

See Also:
Constant Field Values

CURRENT_LIBRARY

public static final String CURRENT_LIBRARY
Deprecated. 
Attribute ID for current library. This identifies a read-only String attribute, which represents the name of the current library for the initial thread of the job.

See Also:
Constant Field Values

CURRENT_LIBRARY_EXISTENCE

public static final String CURRENT_LIBRARY_EXISTENCE
Deprecated. 
Attribute ID for current library existence. This identifies a read-only Boolean attribute, which indicates if a current library exists.

See Also:
Constant Field Values

CURRENT_SYSTEM_POOL_ID

public static final String CURRENT_SYSTEM_POOL_ID
Deprecated. 
Attribute ID for current system pool ID. This identifies a read-only Integer attribute, which represents the identifier of the system-related pool from which main storage is currently being allocated for the job's initial thread.

See Also:
Constant Field Values

CURRENT_USER

public static final String CURRENT_USER
Deprecated. 
Attribute ID for current user. This identifies a read-only String attribute, which represents the user profile under which the initial thread of the current job is running.

See Also:
Constant Field Values

DATE_ENTERED_SYSTEM

public static final String DATE_ENTERED_SYSTEM
Deprecated. 
Attribute ID for date entered system. This identifies a read-only Date attribute, which represents the date and time when the job was placed on the system. The Date value is converted using the default Java locale.

See Also:
Constant Field Values

DATE_FORMAT

public static final String DATE_FORMAT
Deprecated. 
Attribute ID for date format. This identifies a String attribute, which represents the format in which dates are presented. Possible values are:

The following special values can be used when setting the date format:

See Also:
Constant Field Values

DATE_FORMAT_SYSTEM_VALUE

public static final String DATE_FORMAT_SYSTEM_VALUE
Deprecated. 
Attribute value indicating that the system value QDATFMT is used.

See Also:
DATE_FORMAT, Constant Field Values

DATE_FORMAT_YMD

public static final String DATE_FORMAT_YMD
Deprecated. 
Attribute value indicating the year, month, and day date format.

See Also:
DATE_FORMAT, Constant Field Values

DATE_FORMAT_MDY

public static final String DATE_FORMAT_MDY
Deprecated. 
Attribute value indicating the month, day, and year date format.

See Also:
DATE_FORMAT, Constant Field Values

DATE_FORMAT_DMY

public static final String DATE_FORMAT_DMY
Deprecated. 
Attribute value indicating the day, month, and year date format.

See Also:
DATE_FORMAT, Constant Field Values

DATE_FORMAT_JULIAN

public static final String DATE_FORMAT_JULIAN
Deprecated. 
Attribute value indicating the Julian date format.

See Also:
DATE_FORMAT, Constant Field Values

DATE_SEPARATOR

public static final String DATE_SEPARATOR
Deprecated. 
Attribute ID for date separator. This identifies a String attribute, which represents the value used to separate days, months, and years when presenting a date.

The following special value can be used when setting the date separator:

See Also:
Constant Field Values

DATE_SEPARATOR_SYSTEM_VALUE

public static final String DATE_SEPARATOR_SYSTEM_VALUE
Deprecated. 
Attribute value indicating that the system value QDATSEP is used.

See Also:
DATE_SEPARATOR, Constant Field Values

DATE_STARTED

public static final String DATE_STARTED
Deprecated. 
Attribute ID for date started. This identifies a read-only Date attribute, which represents the date and time when the job began to run on the system. The Date value is converted using the default Java locale.

See Also:
Constant Field Values

DBCS_CAPABLE

public static final String DBCS_CAPABLE
Deprecated. 
Attribute ID for DBCS capable. This identifies a read-only Boolean attribute, which indicates whether the job is DBCS capable.

See Also:
Constant Field Values

DECIMAL_FORMAT

public static final String DECIMAL_FORMAT
Deprecated. 
Attribute ID for decimal format. This identifies a String attribute, which represents the decimal format used for this job. Possible values are:

The following special value can be used when setting the decimal separator:

See Also:
Constant Field Values

DECIMAL_FORMAT_PERIOD

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

See Also:
DECIMAL_FORMAT, Constant Field Values

DECIMAL_FORMAT_COMMA_I

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

See Also:
DECIMAL_FORMAT, Constant Field Values

DECIMAL_FORMAT_COMMA_J

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

See Also:
DECIMAL_FORMAT, Constant Field Values

DEFAULT_CCSID

public static final String DEFAULT_CCSID
Deprecated. 
Attribute ID for default coded character set identifier (CCSID). This identifies a read-only Integer attribute, which represents the default CCSID for this job. The value will be 0 if the job is not active.

See Also:
Constant Field Values

DEFAULT_WAIT_TIME

public static final String DEFAULT_WAIT_TIME
Deprecated. 
Attribute ID for default wait time. This identifies an Integer attribute, which represents 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.

See Also:
Constant Field Values

DEVICE_RECOVERY_ACTION

public static final String DEVICE_RECOVERY_ACTION
Deprecated. 
Attribute ID for device recovery action. This identifies a String attribute, which represents the action taken for interactive jobs when an I/O error occurs for the job's requesting program device. Possible values are:

The following special values can be used when setting the device recovery action:

See Also:
Constant Field Values

DEVICE_RECOVERY_ACTION_MESSAGE

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

See Also:
DEVICE_RECOVERY_ACTION, Constant Field Values

DEVICE_RECOVERY_ACTION_DISCONNECT_MESSAGE

public static final String DEVICE_RECOVERY_ACTION_DISCONNECT_MESSAGE
Deprecated. 
Attribute value indicating the device recovery action that disconnects the job when an I/O error occurs.

See Also:
DEVICE_RECOVERY_ACTION, Constant Field Values

DEVICE_RECOVERY_ACTION_DISCONNECT_END_REQUEST

public static final 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. 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, Constant Field Values

DEVICE_RECOVERY_ACTION_END_JOB

public static final String DEVICE_RECOVERY_ACTION_END_JOB
Deprecated. 
Attribute value indicating the 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, Constant Field Values

DEVICE_RECOVERY_ACTION_END_JOB_NO_LIST

public static final 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. 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, Constant Field Values

ELIGIBLE_FOR_PURGE

public static final String ELIGIBLE_FOR_PURGE
Deprecated. 
Attribute ID for eligible for purge. This identifies a Boolean attribute, which 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.

See Also:
Constant Field Values

END_SEVERITY

public static final String END_SEVERITY
Deprecated. 
Attribute ID for end severity. This identifies a read-only Integer attribute, which represents 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.

See Also:
Constant Field Values

FUNCTION_NAME

public static final String FUNCTION_NAME
Deprecated. 
Attribute ID for function name. This identifies a read-only String attribute, which represents additional information about the function the initial thread is currently performing. This information is updated only when a command is processed.

See Also:
Constant Field Values

FUNCTION_TYPE

public static final String FUNCTION_TYPE
Deprecated. 
Attribute ID for function type. This identifies a read-only String attribute, which represents the high-level function type the initial thread is performing, if any. Possible values are:

See Also:
Constant Field Values

FUNCTION_TYPE_BLANK

public static final String FUNCTION_TYPE_BLANK
Deprecated. 
Attribute value indicating that the system is not performing a logged function.

See Also:
FUNCTION_TYPE, Constant Field Values

FUNCTION_TYPE_COMMAND

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

See Also:
FUNCTION_TYPE, Constant Field Values

FUNCTION_TYPE_DELAY

public static final String FUNCTION_TYPE_DELAY
Deprecated. 
Attribute value indicating that the initial thread of the job is processing a Delay Job (DLYJOB) command.

See Also:
FUNCTION_TYPE, Constant Field Values

FUNCTION_TYPE_GROUP

public static final String FUNCTION_TYPE_GROUP
Deprecated. 
Attribute value indicating that the Transfer Group Job (TFRGRPJOB) command suspended the job.

See Also:
FUNCTION_TYPE, Constant Field Values

FUNCTION_TYPE_INDEX

public static final String FUNCTION_TYPE_INDEX
Deprecated. 
Attribute value indicating that the initial thread of the job is rebuilding an index (access path).

See Also:
FUNCTION_TYPE, Constant Field Values

FUNCTION_TYPE_LOG

public static final String FUNCTION_TYPE_LOG
Deprecated. 
Attribute value indicating that the system logs history information in a database file.

See Also:
FUNCTION_TYPE, Constant Field Values

FUNCTION_TYPE_MRT

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

See Also:
FUNCTION_TYPE, Constant Field Values

FUNCTION_TYPE_MENU

public static final String FUNCTION_TYPE_MENU
Deprecated. 
Attribute value indicating that the initial thread of the job is currently at a system menu.

See Also:
FUNCTION_TYPE, Constant Field Values

FUNCTION_TYPE_IO

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

See Also:
FUNCTION_TYPE, Constant Field Values

FUNCTION_TYPE_PROGRAM

public static final String FUNCTION_TYPE_PROGRAM
Deprecated. 
Attribute value indicating that the initial thread of the job is running a program.

See Also:
FUNCTION_TYPE, Constant Field Values

FUNCTION_TYPE_PROCEDURE

public static final String FUNCTION_TYPE_PROCEDURE
Deprecated. 
Attribute value indicating that the initial thread of the job is running a procedure.

See Also:
FUNCTION_TYPE, Constant Field Values

FUNCTION_TYPE_SPECIAL

public static final String FUNCTION_TYPE_SPECIAL
Deprecated. 
Attribute value indicating that the function type is special.

See Also:
FUNCTION_TYPE, Constant Field Values

INQUIRY_MESSAGE_REPLY

public static final String INQUIRY_MESSAGE_REPLY
Deprecated. 
Attribute ID for inquiry message reply. This identifies a String attribute, which represents how the job answers inquiry messages. Possible values are:

See Also:
Constant Field Values

INQUIRY_MESSAGE_REPLY_REQUIRED

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

See Also:
INQUIRY_MESSAGE_REPLY, Constant Field Values

INQUIRY_MESSAGE_REPLY_DEFAULT

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

See Also:
INQUIRY_MESSAGE_REPLY, Constant Field Values

INQUIRY_MESSAGE_REPLY_SYSTEM_REPLY_LIST

public static final 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. 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, Constant Field Values

INSTANCE

public static final String INSTANCE
Deprecated. 
Attribute ID for instance. This identifies a read-only byte[] attribute, which further identifies the source that originated the APPC job. This attribute is part of the unit of work ID, which is used to track jobs across multiple systems. This is applicable only when the job is associated with a source or target system using advanced program-to-program communications (APPC).

See Also:
Constant Field Values

INTERACTIVE_TRANSACTIONS

public static final String INTERACTIVE_TRANSACTIONS
Deprecated. 
Attribute ID for interactive transactions. This identifies a read-only Integer attribute, which represents the number of interactive transactions.

See Also:
Constant Field Values

INTERNAL_JOB_ID

public static final String INTERNAL_JOB_ID
Deprecated. 
Attribute ID for internal job identifier. This identifies a read-only byte array attribute, which represents the internal job identifier of the job as identified to the system.

See Also:
Constant Field Values

JOB_DATE

public static final String JOB_DATE
Deprecated. 
Attribute ID for job date. This identifies a Date attribute, which represents the date to be used for the job. The value NO_DATE indicates that the job uses the system date. The Date value is converted using the default Java locale.

See Also:
Constant Field Values

JOB_DESCRIPTION

public static final String JOB_DESCRIPTION
Deprecated. 
Attribute ID for job description. This identifies a read-only String attribute, which represents the fully qualified integrated file system path name of the job description.

See Also:
QSYSObjectPathName, Constant Field Values

JOB_NAME

public static final String JOB_NAME
Deprecated. 
Attribute ID for job name. This identifies a read-only String attribute, which represents the name of the job as identified to the system.

See Also:
Constant Field Values

JOB_NUMBER

public static final String JOB_NUMBER
Deprecated. 
Attribute ID for job number. This identifies a read-only String attribute, which represents the system-generated job number.

See Also:
Constant Field Values

JOB_QUEUE

public static final String JOB_QUEUE
Deprecated. 
Attribute ID for job queue. This identifies a String attribute, which represents 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 currently active.

See Also:
QSYSObjectPathName, Constant Field Values

JOB_QUEUE_DATE

public static final String JOB_QUEUE_DATE
Deprecated. 
Attribute ID for job queue date. This identifies a read-only Date attribute, which represents the date and time when the job was put on the job queue. The Date value is converted using the default Java locale.

See Also:
Constant Field Values

JOB_QUEUE_PRIORITY

public static final String JOB_QUEUE_PRIORITY
Deprecated. 
Attribute ID for job queue priority. This identifies an Integer attribute, which represents 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.

See Also:
Constant Field Values

JOB_QUEUE_STATUS

public static final String JOB_QUEUE_STATUS
Deprecated. 
Attribute ID for job queue status. This identifies a read-only String attribute, which represents the status of the job on the job queue. Possible values are:

See Also:
Constant Field Values

JOB_QUEUE_STATUS_BLANK

public static final String JOB_QUEUE_STATUS_BLANK
Deprecated. 
Attribute value indicating that the job is not on a job queue.

See Also:
JOB_QUEUE_STATUS, Constant Field Values

JOB_QUEUE_STATUS_SCHEDULED

public static final String JOB_QUEUE_STATUS_SCHEDULED
Deprecated. 
Attribute value indicating that the job will run as scheduled.

See Also:
JOB_QUEUE_STATUS, Constant Field Values

JOB_QUEUE_STATUS_HELD

public static final String JOB_QUEUE_STATUS_HELD
Deprecated. 
Attribute value indicating that the job is being held on the job queue.

See Also:
JOB_QUEUE_STATUS, Constant Field Values

JOB_QUEUE_STATUS_RELEASED

public static final String JOB_QUEUE_STATUS_RELEASED
Deprecated. 
Attribute value indicating that the job is ready to be selected.

See Also:
JOB_QUEUE_STATUS, Constant Field Values

JOB_STATUS

public static final String JOB_STATUS
Deprecated. 
Attribute ID for job status. This identifies a read-only String attribute, which represents the status of the job. Possible values are:

See Also:
Constant Field Values

JOB_STATUS_ACTIVE

public static final String JOB_STATUS_ACTIVE
Deprecated. 
Attribute value indicating that the job is active.

See Also:
JOB_STATUS, Constant Field Values

JOB_STATUS_JOBQ

public static final String JOB_STATUS_JOBQ
Deprecated. 
Attribute value indicating that the job is currently on a job queue.

See Also:
JOB_STATUS, Constant Field Values

JOB_STATUS_OUTQ

public static final String JOB_STATUS_OUTQ
Deprecated. 
Attribute value indicating that the job has completed running.

See Also:
JOB_STATUS, Constant Field Values

JOB_SUBTYPE

public static final String JOB_SUBTYPE
Deprecated. 
Attribute ID for job subtype. This identifies a read-only String attribute, which represents additional information about the job type. Possible values are:

See Also:
Constant Field Values

JOB_SUBTYPE_BLANK

public static final String JOB_SUBTYPE_BLANK
Deprecated. 
Attribute value indicating that the job has no special subtype or is not a valid job.

See Also:
JOB_SUBTYPE, Constant Field Values

JOB_SUBTYPE_IMMEDIATE

public static final String JOB_SUBTYPE_IMMEDIATE
Deprecated. 
Attribute value indicating that the job is an immediate job.

See Also:
JOB_SUBTYPE, Constant Field Values

JOB_SUBTYPE_PROCEDURE_START_REQUEST

public static final String JOB_SUBTYPE_PROCEDURE_START_REQUEST
Deprecated. 
Attribute value indicating that the job started with a procedure start request.

See Also:
JOB_SUBTYPE, Constant Field Values

JOB_SUBTYPE_MACHINE_SERVER_JOB

public static final String JOB_SUBTYPE_MACHINE_SERVER_JOB
Deprecated. 
Attribute value indicating that the job is a server Advanced 36 machine server job.

See Also:
JOB_SUBTYPE, Constant Field Values

JOB_SUBTYPE_PRESTART

public static final String JOB_SUBTYPE_PRESTART
Deprecated. 
Attribute value indicating that the job is a prestart job.

See Also:
JOB_SUBTYPE, Constant Field Values

JOB_SUBTYPE_PRINT_DRIVER

public static final String JOB_SUBTYPE_PRINT_DRIVER
Deprecated. 
Attribute value indicating that the job is a print driver job.

See Also:
JOB_SUBTYPE, Constant Field Values

JOB_SUBTYPE_MRT

public static final String JOB_SUBTYPE_MRT
Deprecated. 
Attribute value indicating that the job is a System/36 multiple requester terminal (MRT) job.

See Also:
JOB_SUBTYPE, Constant Field Values

JOB_SUBTYPE_ALTERNATE_SPOOL_USER

public static final String JOB_SUBTYPE_ALTERNATE_SPOOL_USER
Deprecated. 
Attribute value indicating alternate spool user.

See Also:
JOB_SUBTYPE, Constant Field Values

JOB_SWITCHES

public static final String JOB_SWITCHES
Deprecated. 
Attribute ID for switch settings. This identifies a String attribute, which represents the current setting of the job switches used by this job.

See Also:
Constant Field Values

JOB_TYPE

public static final String JOB_TYPE
Deprecated. 
Attribute ID for job type. This identifies a read-only String attribute, which represents the job type. Possible values are:

See Also:
Constant Field Values

JOB_TYPE_NOT_VALID

public static final String JOB_TYPE_NOT_VALID
Deprecated. 
Attribute value indicating that the job is not a valid job.

See Also:
JOB_TYPE, Constant Field Values

JOB_TYPE_AUTOSTART

public static final String JOB_TYPE_AUTOSTART
Deprecated. 
Attribute value indicating that the job is an autostart job.

See Also:
JOB_TYPE, Constant Field Values

JOB_TYPE_BATCH

public static final String JOB_TYPE_BATCH
Deprecated. 
Attribute value indicating that the job is a batch job.

See Also:
JOB_TYPE, Constant Field Values

JOB_TYPE_INTERACTIVE

public static final String JOB_TYPE_INTERACTIVE
Deprecated. 
Attribute value indicating that the job is an interactive job.

See Also:
JOB_TYPE, Constant Field Values

JOB_TYPE_SUBSYSTEM_MONITOR

public static final String JOB_TYPE_SUBSYSTEM_MONITOR
Deprecated. 
Attribute value indicating that the job is a subsystem monitor job.

See Also:
JOB_TYPE, Constant Field Values

JOB_TYPE_SPOOLED_READER

public static final String JOB_TYPE_SPOOLED_READER
Deprecated. 
Attribute value indicating that the job is a spooled reader job.

See Also:
JOB_TYPE, Constant Field Values

JOB_TYPE_SYSTEM

public static final String JOB_TYPE_SYSTEM
Deprecated. 
Attribute value indicating that the job is a system job.

See Also:
JOB_TYPE, Constant Field Values

JOB_TYPE_SPOOLED_WRITER

public static final String JOB_TYPE_SPOOLED_WRITER
Deprecated. 
Attribute value indicating that the job is a spooled writer job.

See Also:
JOB_TYPE, Constant Field Values

JOB_TYPE_SCPF_SYSTEM

public static final String JOB_TYPE_SCPF_SYSTEM
Deprecated. 
Attribute value indicating that the job is the SCPF system job.

See Also:
JOB_TYPE, Constant Field Values

KEEP_DDM_CONNECTIONS_ACTIVE

public static final String KEEP_DDM_CONNECTIONS_ACTIVE
Deprecated. 
Attribute ID for keep DDM connections active. This identifies a String attribute, which represents whether connections using distributed data management (DDM) protocols remain active when they are not being used. Possible values are:

See Also:
Constant Field Values

KEEP_DDM_CONNECTIONS_ACTIVE_KEEP

public static final String KEEP_DDM_CONNECTIONS_ACTIVE_KEEP
Deprecated. 
Attribute value indicating that the system keeps DDM connections active when there are no users.

See Also:
KEEP_DDM_CONNECTIONS_ACTIVE, Constant Field Values

KEEP_DDM_CONNECTIONS_ACTIVE_DROP

public static final String KEEP_DDM_CONNECTIONS_ACTIVE_DROP
Deprecated. 
Attribute value indicating that the system ends a DDM connection when there are no users.

See Also:
KEEP_DDM_CONNECTIONS_ACTIVE, Constant Field Values

LANGUAGE_ID

public static final String LANGUAGE_ID
Deprecated. 
Attribute ID for language ID. This identifies a String attribute, which represents the language identifier associated with this job.

The following special values can be used when setting the language ID:

See Also:
Constant Field Values

LOCATION_NAME

public static final String LOCATION_NAME
Deprecated. 
Attribute ID for location name. This identifies a read-only String attribute, which represents the name of the source system that originated the APPC job. This attribute is part of the unit of work ID, which is used to track jobs across multiple systems. This is applicable only when the job is associated with a source or target system using advanced program-to-program communications (APPC).

See Also:
Constant Field Values

LOG_CL_PROGRAMS

public static final String LOG_CL_PROGRAMS
Deprecated. 
Attribute ID for logging CL programs. This identifies a Boolean attribute, which indicates whether messages are logged for CL programs.

See Also:
Constant Field Values

LOGGING_LEVEL

public static final String LOGGING_LEVEL
Deprecated. 
Attribute ID for logging level. This identifies a String attribute, which represents the type of information that is logged. Possible values are:

See Also:
Constant Field Values

LOGGING_LEVEL_NONE

public static final String LOGGING_LEVEL_NONE
Deprecated. 
Attribute value indicating that no messages are logged.

See Also:
LOGGING_LEVEL, Constant Field Values

LOGGING_LEVEL_MESSAGES_BY_SEVERITY

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

See Also:
LOGGING_LEVEL, Constant Field Values

LOGGING_LEVEL_REQUESTS_BY_SEVERITY_AND_ASSOCIATED_MESSAGES

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

See Also:
LOGGING_LEVEL, Constant Field Values

LOGGING_LEVEL_ALL_REQUESTS_AND_ASSOCIATED_MESSAGES

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

See Also:
LOGGING_LEVEL, Constant Field Values

LOGGING_LEVEL_ALL_REQUESTS_AND_MESSAGES

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

See Also:
LOGGING_LEVEL, Constant Field Values

LOGGING_SEVERITY

public static final String LOGGING_SEVERITY
Deprecated. 
Attribute ID for logging severity. This identifies an Integer attribute, which represents the minimum severity level that causes error messages to be logged in the job log.

See Also:
Constant Field Values

LOGGING_TEXT

public static final String LOGGING_TEXT
Deprecated. 
Attribute ID for logging text. This identifies a String attribute, which represents the level of message text that is written in the job log or displayed to the user. Possible values are:

See Also:
Constant Field Values

LOGGING_TEXT_MESSAGE

public static final String LOGGING_TEXT_MESSAGE
Deprecated. 
Attribute value indicating that only the message is written to the job log.

See Also:
LOGGING_TEXT, Constant Field Values

LOGGING_TEXT_SECLVL

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

See Also:
LOGGING_TEXT, Constant Field Values

LOGGING_TEXT_NO_LIST

public static final String LOGGING_TEXT_NO_LIST
Deprecated. 
Attribute value indicating that 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.

See Also:
LOGGING_TEXT, Constant Field Values

MAX_CPU_TIME

public static final String MAX_CPU_TIME
Deprecated. 
Attribute ID for maximum CPU time. This identifies a read-only Integer attribute, which represents 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 indicates that there is no maximum. A value of 0 indicates that the job is not active.

See Also:
Constant Field Values

MAX_TEMP_STORAGE

public static final String MAX_TEMP_STORAGE
Deprecated. 
Attribute ID for maximum temporary storage. This identifies a read-only Integer attribute, which represents 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 current routing step can use. 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 indicates that there is no maximum.

See Also:
Constant Field Values

MESSAGE_QUEUE_ACTION

public static final String MESSAGE_QUEUE_ACTION
Deprecated. 
Attribute ID for message queue action. This identifies a String attribute, which represents the action to take when the message queue is full. Possible values are:

See Also:
Constant Field Values

MESSAGE_QUEUE_ACTION_NO_WRAP

public static final String MESSAGE_QUEUE_ACTION_NO_WRAP
Deprecated. 
Attribute value indicating that the message queue does not wrap. This action causes the job to end when the message queue is full.

See Also:
MESSAGE_QUEUE_ACTION, Constant Field Values

MESSAGE_QUEUE_ACTION_WRAP

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

See Also:
MESSAGE_QUEUE_ACTION, Constant Field Values

MESSAGE_QUEUE_ACTION_PRINT_WRAP

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

See Also:
MESSAGE_QUEUE_ACTION, Constant Field Values

MESSAGE_QUEUE_MAX_SIZE

public static final String MESSAGE_QUEUE_MAX_SIZE
Deprecated. 
Attribute ID for message queue maximum size. This identifies a read-only Integer attribute, which represents the maximum size (in megabytes) of the job's message queue. The range is 2 to 64.

See Also:
Constant Field Values

MODE

public static final String MODE
Deprecated. 
Attribute ID for mode. This identifies a read-only String attribute, which represents the mode name of the advanced program-to-program communications (APPC) device that started the job.

See Also:
Constant Field Values

NETWORK_ID

public static final String NETWORK_ID
Deprecated. 
Attribute ID for network ID. This identifies a read-only String attribute, which represents the network name. This attribute is part of the unit of work ID, which is used to track jobs across multiple systems. This is applicable only when the job is associated with a source or target system using advanced program-to-program communications (APPC).

See Also:
Constant Field Values

OUTPUT_QUEUE

public static final String OUTPUT_QUEUE
Deprecated. 
Attribute ID for output queue. This identifies a String attribute, which represents the fully qualified integrated file system path name of the default output queue that is used for spooled output produced by this job.

See Also:
QSYSObjectPathName, Constant Field Values

OUTPUT_QUEUE_PRIORITY

public static final String OUTPUT_QUEUE_PRIORITY
Deprecated. 
Attribute ID for output queue priority. This identifies an Integer attribute, which represents the output priority for spooled output files that this job produces. The highest priority is 0 and the lowest is 9.

See Also:
Constant Field Values

PRINT_KEY_FORMAT

public static final String PRINT_KEY_FORMAT
Deprecated. 
Attribute ID for print key format. This identifies a String attribute, which represents whether border and header information is provided when the Print key is pressed. Possible values are:

The following special value can be used when setting the print key format:

See Also:
Constant Field Values

PRINT_KEY_FORMAT_BORDER

public static final String PRINT_KEY_FORMAT_BORDER
Deprecated. 
Attribute value indicating that the border information is included with output from the Print key.

See Also:
PRINT_KEY_FORMAT, Constant Field Values

PRINT_KEY_FORMAT_HEADER

public static final String PRINT_KEY_FORMAT_HEADER
Deprecated. 
Attribute value indicating that the header information is included with output from the Print key.

See Also:
PRINT_KEY_FORMAT, Constant Field Values

PRINT_KEY_FORMAT_ALL

public static final String PRINT_KEY_FORMAT_ALL
Deprecated. 
Attribute value indicating that the border and header information is included with output from the Print key.

See Also:
PRINT_KEY_FORMAT, Constant Field Values

PRINT_TEXT

public static final String PRINT_TEXT
Deprecated. 
Attribute ID for print text. This identifies a String attribute, which represents 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 when setting the print key format:

See Also:
Constant Field Values

PRINTER_DEVICE_NAME

public static final String PRINTER_DEVICE_NAME
Deprecated. 
Attribute ID for printer device name. This identifies a String attribute, which represents the printer device used for printing output from this job.

The following special values can be used when setting the printer:

See Also:
Constant Field Values

PRINTER_DEVICE_NAME_WORK_STATION

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

See Also:
PRINTER_DEVICE_NAME, Constant Field Values

PRODUCT_LIBRARIES

public static final String PRODUCT_LIBRARIES
Deprecated. 
Attribute ID for product libraries. This identifies a read-only String[] attribute, which represents the libraries that contain product information for the initial thread of this job.

See Also:
Constant Field Values

PRODUCT_RETURN_CODE

public static final String PRODUCT_RETURN_CODE
Deprecated. 
Attribute ID for product return code. This identifies a read-only Integer attribute, which represents the return code set by the compiler for Integrated Language Environment (ILE) languages.

See Also:
Constant Field Values

PROGRAM_RETURN_CODE

public static final String PROGRAM_RETURN_CODE
Deprecated. 
Attribute ID for program return code. This identifies a read-only Integer attribute, which represents the completion status of the last RPG, COBOL, data file utility (DFU), or sort utility program that has finished running.

See Also:
Constant Field Values

ROUTING_DATA

public static final String ROUTING_DATA
Deprecated. 
Attribute ID for routing data. This identifies a read-only String attribute, which represents the routing data that is used to determine the routing entry that identifies the program to start for the routing step.

See Also:
Constant Field Values

RUN_PRIORITY

public static final String RUN_PRIORITY
Deprecated. 
Attribute ID for run priority. This identifies an Integer attribute, which represents 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).

See Also:
Constant Field Values

SCHEDULE_DATE

public static final String SCHEDULE_DATE
Deprecated. 
Attribute ID for schedule date. This identifies a Date attribute, which represents the date and time the job is scheduled to become active. The Date value is converted using the default Java locale.

The following special values can be used when setting the schedule date:

See Also:
Constant Field Values

SCHEDULE_DATE_CURRENT

public static final Date SCHEDULE_DATE_CURRENT
Deprecated. 
Attribute value indicating that the submitted job becomes eligible to run at the current date.

See Also:
SCHEDULE_DATE

SCHEDULE_DATE_MONTH_START

public static final Date SCHEDULE_DATE_MONTH_START
Deprecated. 
Attribute value indicating that the submitted job becomes eligible to run on the first day of the month.

See Also:
SCHEDULE_DATE

SCHEDULE_DATE_MONTH_END

public static final Date SCHEDULE_DATE_MONTH_END
Deprecated. 
Attribute value indicating that the submitted job becomes eligible to run on the last day of the month.

See Also:
SCHEDULE_DATE

SCHEDULE_DATE_MONDAY

public static final Date SCHEDULE_DATE_MONDAY
Deprecated. 
Attribute value indicating that the submitted job becomes eligible to run on Monday.

See Also:
SCHEDULE_DATE

SCHEDULE_DATE_TUESDAY

public static final Date SCHEDULE_DATE_TUESDAY
Deprecated. 
Attribute value indicating that the submitted job becomes eligible to run on Tuesday.

See Also:
SCHEDULE_DATE

SCHEDULE_DATE_WEDNESDAY

public static final Date SCHEDULE_DATE_WEDNESDAY
Deprecated. 
Attribute value indicating that the submitted job becomes eligible to run on Wednesday.

See Also:
SCHEDULE_DATE

SCHEDULE_DATE_THURSDAY

public static final Date SCHEDULE_DATE_THURSDAY
Deprecated. 
Attribute value indicating that the submitted job becomes eligible to run on Thursday.

See Also:
SCHEDULE_DATE

SCHEDULE_DATE_FRIDAY

public static final Date SCHEDULE_DATE_FRIDAY
Deprecated. 
Attribute value indicating that the submitted job becomes eligible to run on Friday.

See Also:
SCHEDULE_DATE

SCHEDULE_DATE_SATURDAY

public static final Date SCHEDULE_DATE_SATURDAY
Deprecated. 
Attribute value indicating that the submitted job becomes eligible to run on Saturday.

See Also:
SCHEDULE_DATE

SCHEDULE_DATE_SUNDAY

public static final Date SCHEDULE_DATE_SUNDAY
Deprecated. 
Attribute value indicating that the submitted job becomes eligible to run on Sunday.

See Also:
SCHEDULE_DATE

SEQUENCE_NUMBER

public static final String SEQUENCE_NUMBER
Deprecated. 
Attribute ID for sequence number. This identifies a read-only String attribute, which represents the sequence number. This attribute is part of the unit of work ID, which is used to track jobs across multiple systems. This is applicable only when the job is associated with a source or target system using advanced program-to-program communications (APPC).

See Also:
Constant Field Values

SERVER_TYPE

public static final String SERVER_TYPE
Deprecated. 
Attribute ID for server type. This identifies a read-only String attribute, which represents the type of server represented by the job, if the job is part of a server.

See Also:
Constant Field Values

SIGNED_ON_JOB

public static final String SIGNED_ON_JOB
Deprecated. 
Attribute ID for signed on job. This identifies a read-only Boolean attribute, which indicates whether the job is to be treated like a signed-on user on the system.

See Also:
Constant Field Values

SORT_SEQUENCE_TABLE

public static final String SORT_SEQUENCE_TABLE
Deprecated. 
Attribute ID for sort sequence table. This identifies a String attribute, which represents the fully qualified integrated file system path name of the sort sequence table.

See Also:
QSYSObjectPathName, Constant Field Values

SPECIAL_ENVIRONMENT

public static final String SPECIAL_ENVIRONMENT
Deprecated. 
Attribute ID for special environment. This identifies a read-only String attribute, which indicates whether the job is running in a particular environment. Possible values are:

See Also:
Constant Field Values

SPECIAL_ENVIRONMENT_SYSTEM_36

public static final String SPECIAL_ENVIRONMENT_SYSTEM_36
Deprecated. 
Attribute value indicating that the job is running in the System/36 environment.

See Also:
SPECIAL_ENVIRONMENT, Constant Field Values

SPECIAL_ENVIRONMENT_NOT_ACTIVE

public static final String SPECIAL_ENVIRONMENT_NOT_ACTIVE
Deprecated. 
Attribute value indicating that the job is not currently active.

See Also:
SPECIAL_ENVIRONMENT, Constant Field Values

STATUS_MESSAGE_HANDLING

public static final String STATUS_MESSAGE_HANDLING
Deprecated. 
Attribute ID for status message handling. This identifies a String attribute, which indicates whether status messages are displayed for this job. Possible values are:

The following special values can be used when setting the status message handling:

See Also:
Constant Field Values

STATUS_MESSAGE_HANDLING_NORMAL

public static final String STATUS_MESSAGE_HANDLING_NORMAL
Deprecated. 
Attribute value indicating that this job displays status messages.

See Also:
STATUS_MESSAGE_HANDLING, Constant Field Values

SUBMITTED_BY_JOB_NAME

public static final String SUBMITTED_BY_JOB_NAME
Deprecated. 
Attribute ID for submitted by job name. This identifies a read-only String attribute, which represents the job name of the submitter's job.

See Also:
Constant Field Values

SUBMITTED_BY_JOB_NUMBER

public static final String SUBMITTED_BY_JOB_NUMBER
Deprecated. 
Attribute ID for submitted by job number. This identifies a read-only String attribute, which represents the job number of the submitter's job.

See Also:
Constant Field Values

SUBMITTED_BY_USER

public static final String SUBMITTED_BY_USER
Deprecated. 
Attribute ID for submitted by user. This identifies a read-only String attribute, which represents the user name of the submitter's job.

See Also:
Constant Field Values

SUBSYSTEM

public static final String SUBSYSTEM
Deprecated. 
Attribute ID for subsystem. This identifies a read-only String attribute, which represents the fully qualified integrated file system path name of the subsystem in which an active job is running.

See Also:
QSYSObjectPathName, Constant Field Values

SYSTEM_LIBRARY_LIST

public static final String SYSTEM_LIBRARY_LIST
Deprecated. 
Attribute ID for system library list. This identifies a read-only String[] attribute, which represents the system portion of the library list of the initial thread.

See Also:
Constant Field Values

SYSTEM_POOL_ID

public static final String SYSTEM_POOL_ID
Deprecated. 
Attribute ID for system pool ID. This identifies a read-only Integer attribute, which represents the identifier of the system-related pool from which the job's main storage is allocated.

See Also:
Constant Field Values

TEMP_STORAGE_USED

public static final String TEMP_STORAGE_USED
Deprecated. 
Attribute ID for temporary storage used. This identifies a read-only Integer attribute, which represents the amount of auxiliary storage (in megabytes) that is currently allocated to this job.

See Also:
Constant Field Values

THREAD_COUNT

public static final String THREAD_COUNT
Deprecated. 
Attribute ID for thread count. This identifies a read-only Integer attribute, which represents the current number of active threads in the process.

See Also:
Constant Field Values

TIME_SEPARATOR

public static final String TIME_SEPARATOR
Deprecated. 
Attribute ID for time separator. This identifies a String attribute, which represents the value used to separate hours, minutes, and seconds when presenting a time.

The following special value can be used when setting the time separator:

See Also:
Constant Field Values

TIME_SEPARATOR_SYSTEM_VALUE

public static final String TIME_SEPARATOR_SYSTEM_VALUE
Deprecated. 
Attribute value indicating that the system value QTIMSEP is used.

See Also:
TIME_SEPARATOR, Constant Field Values

TIME_SLICE

public static final String TIME_SLICE
Deprecated. 
Attribute ID for time slice. This identifies an Integer attribute, which represents 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.

See Also:
Constant Field Values

TIME_SLICE_END_POOL

public static final String TIME_SLICE_END_POOL
Deprecated. 
Attribute ID for time slice end pool. This identifies a String attribute, 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:

The following special value can be used when setting the time slice end pool:

See Also:
Constant Field Values

TIME_SLICE_END_POOL_BASE

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

See Also:
TIME_SLICE_END_POOL, Constant Field Values

TOTAL_RESPONSE_TIME

public static final String TOTAL_RESPONSE_TIME
Deprecated. 
Attribute ID for total response time. This identifies a read-only Integer attribute, which represents the total amount of response time (in milliseconds) for the initial thread.

See Also:
Constant Field Values

USER_LIBRARY_LIST

public static final String USER_LIBRARY_LIST
Deprecated. 
Attribute ID for user library list. This identifies a read-only String[] attribute, which represents the user portion of the library list of the initial thread.

See Also:
Constant Field Values

USER_NAME

public static final String USER_NAME
Deprecated. 
Attribute ID for user name. This identifies a read-only String attribute, which represents the user name of the job, which is the same as the name of the user profile under which the job was started.

See Also:
Constant Field Values

USER_RETURN_CODE

public static final String USER_RETURN_CODE
Deprecated. 
Attribute ID for user return code. This identifies a read-only Integer attribute, which represents the user-defined return code set by ILE high-level language constructs.

See Also:
Constant Field Values
Constructor Detail

RJob

public RJob()
Deprecated. 
Constructs an RJob object.


RJob

public RJob(AS400 system)
Deprecated. 
Constructs an RJob object.

Parameters:
system - The system.

RJob

public RJob(AS400 system,
            String name,
            String user,
            String number)
Deprecated. 
Constructs an RJob object.

Parameters:
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 "*".

RJob

public RJob(AS400 system,
            byte[] internalJobID)
Deprecated. 
Constructs an RJob object. This sets the job name to "*INT".

Parameters:
system - The system.
internalJobID - The internal job identifier.
Method Detail

commitAttributeChanges

protected void commitAttributeChanges(Object[] attributeIDs,
                                      Object[] values,
                                      int[] bidiStringTypes)
                               throws ResourceException
Deprecated. 
Commits the specified attribute changes.

Overrides:
commitAttributeChanges in class ChangeableResource
Parameters:
attributeIDs - The attribute IDs for the specified attribute changes.
values - The specified attribute changes
bidiStringTypes - The bidi string types as defined by the CDRA (Character Data Representataion Architecture). See BidiStringType for more information and valid values.
Throws:
ResourceException - If an error occurs.
See Also:
Subclass notes

createResource

public void createResource(Object[] attributeIDs,
                           Object[] values)
                    throws ResourceException
Deprecated. 
Creates the resource using the specified attribute values. This method is not supported for this class and always throws a ResourceException.

Throws:
ResourceException - If an error occurs.

end

public void end()
         throws ResourceException
Deprecated. 
Ends the job controlled. The program running in the job is allowed to perform some cleanup and end of job processing.

Throws:
ResourceException - If an error occurs.

end

public void end(int delayTime)
         throws ResourceException
Deprecated. 
Ends the job.

Parameters:
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.
Throws:
ResourceException - If an error occurs.

establishConnection

protected void establishConnection()
                            throws ResourceException
Deprecated. 
Establishes the connection to the server.

The method is called by the resource framework automatically when the connection needs to be established.

Overrides:
establishConnection in class Resource
Throws:
ResourceException - If an error occurs.

freezeProperties

protected void freezeProperties()
                         throws ResourceException
Deprecated. 
Freezes any property changes. After this is called, property changes should not be made. Properties are not the same thing as attributes. Properties are basic pieces of information which must be set to make the object usable, such as the system, job name, job number, and user name.

The method is called by the resource framework automatically when the properties need to be frozen.

Overrides:
freezeProperties in class Resource
Throws:
ResourceException - If an error occurs.

getAttributeUnchangedValue

public Object getAttributeUnchangedValue(Object attributeID,
                                         int bidiStringType)
                                  throws ResourceException
Deprecated. 
Returns the unchanged value of an attribute. If the attribute value has an uncommitted change, this returns the unchanged value. If the attribute value does not have an uncommitted change, this returns the same value as getAttributeValue().

Overrides:
getAttributeUnchangedValue in class ChangeableResource
Parameters:
attributeID - Identifies the attribute.
bidiStringType - The bidi string type as defined by the CDRA (Character Data Representataion Architecture). See BidiStringType for more information and valid values.
Returns:
The attribute value, or null if the attribute value is not available.
Throws:
ResourceException - If an error occurs.
See Also:
Subclass notes

getInternalJobID

public byte[] getInternalJobID()
Deprecated. 
Returns the internal job identifier.

Returns:
The internal job identifier, or null if none has been set.

getName

public String getName()
Deprecated. 
Returns the job name.

Returns:
The job name, or "*" if none has been set.

getNumber

public String getNumber()
Deprecated. 
Returns the job number.

Returns:
The job number, or "" if none has been set.

getUser

public String getUser()
Deprecated. 
Returns the user name.

Returns:
The user name, or "" if none has been set.

isBidiEnabled

protected boolean isBidiEnabled()
Deprecated. 
Indicates if this resource is enabled for bidirectional character conversion. This always returns true.

Overrides:
isBidiEnabled in class Resource
Returns:
Always true.
See Also:
Subclass notes

refreshAttributeValues

public void refreshAttributeValues()
                            throws ResourceException
Deprecated. 
Refreshes the values for all attributes. This does not cancel uncommitted changes. This method fires an attributeValuesRefreshed() ResourceEvent.

Overrides:
refreshAttributeValues in class ChangeableResource
Throws:
ResourceException - If an error occurs.

setInternalJobID

public void setInternalJobID(byte[] internalJobID)
                      throws PropertyVetoException
Deprecated. 
Sets the internal job identifier. This does not change the job on the server. Instead, it changes the job that this 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 server.

Parameters:
internalJobID - The internal job identifier.
Throws:
PropertyVetoException - If the property change is vetoed.

setName

public void setName(String name)
             throws PropertyVetoException
Deprecated. 
Sets the job name. This does not change the job on the server. Instead, it changes the job that this object references. This cannot be changed if the object has established a connection to the server.

Parameters:
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.
Throws:
PropertyVetoException - If the property change is vetoed.

setNumber

public void setNumber(String number)
               throws PropertyVetoException
Deprecated. 
Sets the job number. This does not change the job on the server. Instead, it changes the job that this object references. This cannot be changed if the object has established a connection to the server.

Parameters:
number - The job number. This must be blank if the job name is "*".
Throws:
PropertyVetoException - If the property change is vetoed.

setUser

public void setUser(String user)
             throws PropertyVetoException
Deprecated. 
Sets the user name. This does not change the job on the server. Instead, it changes the job that this object references. This cannot be changed if the object has established a connection to the server.

Parameters:
user - The user name. This must be blank if the job name is "*".
Throws:
PropertyVetoException - If the property change is vetoed.

toString

public String toString()
Deprecated. 
Returns the string representation in the format "number/user/name".

Overrides:
toString in class Resource
Returns:
The string representation.