NetBatch Manual

Job Planning, Submission, and Management
NetBatch Manual522460-004
4-42
Managing Jobs
Managing Jobs
This subsection describes various tasks for managing jobs:
Displaying Job Status
You can display the status of all jobs or specified jobs only by using the STATUS JOB
command. The command displays the number, name, owner, processing state, and
class for each job listed. It also displays the spooler-job number of the log file of jobs
whose OUT attributes specify spooler locations. For example:
32} STATUS JOB *
JOB JOBNAME USERID LOG STATE CLASSNAME
---- ---------------- ------- ---- ----------- ---------
755 COBOL-COMPILE 255,205 23:30:00 COMPILES
756 SPOOLER-CLEANUP 205,70 184 EXECUTING DEFAULT
757 USERS 133,2 186 EXECUTING DEFAULT
You can display the jobs’ SELPRI attributes instead of their log file numbers by
including the SELPRI qualifier in the command. For example:
33} STATUS JOB *, SELPRI
JOB JOBNAME USERID SEL STATE CLASSNAME
---- ---------------- ------- ---- ----------- ---------
755 COBOL-COMPILE 255,205 1 23:30:00 COMPILES
756 SPOOLER-CLEANUP 205,70 6 EXECUTING DEFAULT
757 USERS 133,2 5 EXECUTING DEFAULT
Processing States
The State column of the STATUS JOB display shows job states. These states (see
Table 4-7) indicate whether jobs are running and, if not, why. For detailed information
on the states, see STATUS JOB Command on page 6-165.
Topic Page
Displaying Job Status
4-42
Altering Job Attributes 4-44
Overriding Job Dependencies, Timing Attributes, and Selection Priority 4-44
Suspending and Reactivating Job Processes 4-45
Stopping and Deleting Jobs 4-46
Dealing With Job Output 4-47
Table 4-7. Job State (page 1 of 2)
State Description
EVENT The job has the WAITON attribute and does not run until released.
EXECUTING The job is running.
OVER LIMIT The job exceeded its execution time limit but is still running.