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