All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.as400.access.Job

java.lang.Object
   |
   +----com.ibm.as400.access.Job

public class Job
extends Object
implements Serializable
The Job class represents an AS/400 job.

See Also:
JobList

Method Index

 o getAuxiliaryIORequests()
Returns the number of auxiliary storage input/output requests.
 o getCPUUsed()
Returns the amount of processing time that the job used, in milliseconds.
 o getDate()
Returns the date and time when the job was placed on the system.
 o getFunctionName()
Returns the information about the function that the job is currently performing.
 o getFunctionType()
Returns the function type, if the job is performing a high-level function.
 o getInteractiveTransactions()
Returns the number of interactive transactions.
 o getName()
Returns the job name.
 o getNumber()
Returns the job number
 o getOutputQueuePriority()
Returns the output priority for spooled files that this job produces.
 o getPoolIdentifier()
Returns the identifier of the system-related pool from which the job's main storage is allocated.
 o getQueue()
Returns the fully-qualified integrated file system path name of the job queue that the job is currently on, of that the job is on when it is active.
 o getQueuePriority()
Returns the scheduling priority of the job compared to other jobs on the same job queue.
 o getRunPriority()
Returns the priority at which the job is currently running, relative to other jobs on the system.
 o getStatus()
Returns the job status.
 o getSubsystem()
Returns the fully-qualified integrated file system path name of the subsystem description in which the job is running.
 o getSubtype()
Returns additional information about the job type.
 o getTotalResponseTime()
Returns the total amount of response time for the job, in milliseconds.
 o getType()
Returns the job type.
 o getUser()
Returns the user profile under which the job runs.
 o toString()
Returns the text representing the job.

Methods

 o getAuxiliaryIORequests
 public int getAuxiliaryIORequests()
Returns the number of auxiliary storage input/output requests.

Returns:
The number of auxiliary storage input/output requests.
 o getCPUUsed
 public int getCPUUsed()
Returns the amount of processing time that the job used, in milliseconds.

Returns:
The amount of processing time that the job used, in milliseconds.
 o getDate
 public Date getDate()
Returns the date and time when the job was placed on the system.

Returns:
Returns the date and time when the job was placed on the system.
 o getFunctionName
 public String getFunctionName()
Returns the information about the function that the job is currently performing.

Returns:
The information about the function that the job is currently performing.
See Also:
getFunctionType
 o getFunctionType
 public String getFunctionType()
Returns the function type, if the job is performing a high-level function.

Returns:
The function type, possible values are:
  • "" - The system is not doing a logged function.
  • "C" - A command is running interactively, or it is in a batch input stream, or it was requested from a system menu.
  • "D" - The job is processing a Delay Job (DLYJOB) command. The function name contains the number of seconds the job is delayed, or the time when the job is to resume processing, depending on how the command was specified.
  • "G" - The Transfer Group Job (TFRGRPJOB) command suspended the job. The function name contains the group job name.
  • "I" - The job is rebuilding an index (access path). The function name contains the name of the logical file whose index is rebuilt.
  • "L" - The system logs history information in a database file. The function name contains the name of the log.
  • "M" - The job is a multiple requester terminal (MRT) job or an interactive job attached to an MRT job.
  • "N" - The job is currently at a system menu. The function name contains the name of the menu.
  • "O" - The job is a subsystem monitor that is performing input/output operations to a workstation. The function name contains the name of the workstation device.
  • "P" - The job is running a program. The function name contains the name of the program.
  • "R" - The job is running a procedure. The function name contains the name of the procedure.
  • "*" - This is a special function. The function name contains an entry that further describes the special function.
See Also:
getFunctionName
 o getInteractiveTransactions
 public int getInteractiveTransactions()
Returns the number of interactive transactions.

Returns:
The number of interactive transactions.
 o getName
 public String getName()
Returns the job name.

Returns:
The job name.
 o getNumber
 public String getNumber()
Returns the job number

Returns:
The job number.
 o getOutputQueuePriority
 public int getOutputQueuePriority()
Returns the output priority for spooled files that this job produces.

Returns:
The output priority for spooled files that this job produces.
 o getPoolIdentifier
 public int getPoolIdentifier()
Returns the identifier of the system-related pool from which the job's main storage is allocated.

Returns:
The identifier of the system-related pool from which the job's main storage is allocated.
 o getQueue
 public String getQueue()
Returns the fully-qualified integrated file system path name of the job queue that the job is currently on, of that the job is on when it is active.

Returns:
The fully-qualified integrated file system path name of the job queue, or "" if the job is not on a job queue.
 o getQueuePriority
 public int getQueuePriority()
Returns the scheduling priority of the job compared to other jobs on the same job queue.

Returns:
The scheduling priority of the job.
 o getRunPriority
 public int getRunPriority()
Returns the priority at which the job is currently running, relative to other jobs on the system.

Returns:
The priority at which the job is currently running.
 o getStatus
 public String getStatus()
Returns the job status.

Returns:
The job status.
 o getSubsystem
 public String getSubsystem()
Returns the fully-qualified integrated file system path name of the subsystem description in which the job is running.

Returns:
The fully-qualified integrated file system path name of the subsystem description, or "" if the job is not active.
 o getSubtype
 public String getSubtype()
Returns additional information about the job type.

Returns:
The additional information about the job type, possible values are:
  • "" - The job has no special subtype.
  • "D" - The job is an immediate job.
  • "E" - The job started with a procedure start request.
  • "F" - The job is an Advanced 36 server (M36) job.
  • "J" - The job is a prestart job.
  • "P" - The job is a print driver job.
  • "T" - The job is a System/36 multiple requester terminal (MRT) job.
  • "U" - Alternate spool user.
 o getTotalResponseTime
 public int getTotalResponseTime()
Returns the total amount of response time for the job, in milliseconds.

Returns:
The total amount of response time for the job, in milliseconds.
 o getType
 public String getType()
Returns the job type.

Returns:
The job type, possible values are:
  • "" - The job is not a valid job.
  • "A" - The job is an autostart job.
  • "B" - The job is a batch job.
  • "I" - The job is an interactive job.
  • "M" - The job is a subsystem monitor job.
  • "R" - The job is a spooled reader job.
  • "S" - The job is a system job.
  • "W" - The job is a spooled writer job.
  • "X" - The job is a SCPF system job.
 o getUser
 public String getUser()
Returns the user profile under which the job runs.

Returns:
The user profile under which the job runs.
 o toString
 public String toString()
Returns the text representing the job. This is in the format "number/user/name".

Returns:
The text representing the job.
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index