z/OS JES2 Commands
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Controlling jobs and output

z/OS JES2 Commands
SA32-0990-00

This describes the JES2 commands you use to start and stop jobs and to control the flow of work through the system and the network. It also describes the JES2 commands you use to control the output of jobs. These commands allow you to display job information.

The following tables list the tasks discussed in this and provide a cross reference to detailed descriptions of the corresponding commands.

Table 1. Displaying JES2 Job Information
Task Command Location
Display job queue information $D N $D N - Display job queue information
Display the number of jobs queued $D Q $D Q - Display the number of jobs queued
Display the job output forms queue $D F $D F - Display the job output forms queue
Display jobs on the rebuild queue $D REBLD $D REBLD - Display rebuild queue information
Display information about active jobs $D A $D A - Display information about currently active jobs
Display information about specified jobs $D job $D Job - Display information about specified jobs
Display count of output group information $L job $L Job - List job output information
Display information about specified output groups $DO Job $D O Job - Display output characteristics
Display information for a job at another node $G D $G D - Display job information for a job at another node
Display a message at another operator console or send a message to an executing job's JES2 job log $D M $D M - Send a message
Table 2. Specifying Job Execution Characteristics
Task Command Location
Set the JES2 internal job numbers $T NUM $T NUM - Set the JES2 internal job numbers
Specify the JES2 job characteristics $T JOBDEF $T JOBDEF - Set job processing characteristics
Specify the JES2 job scheduling priority $T JOBPRTY(n) $T JOBPRTY(n) - Set job scheduling characteristics
Specify the estimated execution time for jobs $T ESTIME $T ESTIME - Control the default execution time
Table 3. Controlling Initiators
Task Command Location
Start an initiator $S I $S I[vvvv] - Start an initiator
Display initiator information $D I $D I[nnmm] - Display initiator information
Assign initiator classes $T I $T Init(nnmm) - Control initiators
Halt an initiator $Z I $Z I[vvvv] - Halt initiator activity
Stop an initiator $P I $P I[nnmm] - Stop an initiator
Start initiation of batch jobs into execution $S XEQ $S XEQ - Allow JES2 and WLM-controlled initiators to select work
Stop initiation of batch jobs into execution $P XEQ $P XEQ - Prevents JES2 and WLM-controlled initiators from selecting work
Table 4. Controlling Job Execution
Task Command Location
Route specified jobs for execution $R XEQ, D= $R XEQ - Route specific jobs for execution
Cancel a job $C job $C Job - Cancel a job
Purge a job $P job $P Job - Purge a job
Drain a spool volume (process/cancel remaining jobs) $P SPOOL $P SPOOL - Drain a spool volume
Restart a currently executing job $E Job $E Job - Restart a job
Change 's class, scheduling priority, or member affinity $T job $T Job - Change a job's class, scheduling priority, or affinity
Initiate a batch job into execution $S Job $S Job - Initiate a batch job into execution
Specify an XBM procedure to be used for jobs in a selected class. $T JOBCLASS(n) $T JOBCLASS - Set job class characteristics
Table 5. Holding and Releasing Jobs
Task Command Location
Hold all jobs $H A $H A - Hold all jobs
Release all jobs $A A $A A - Release all jobs
Hold specified jobs $H job $H Job - Hold specific jobs
Release specified jobs $A job $A Job - Release held jobs
Hold job queues $T JOBCLASS(x),QHELD=Y $T JOBCLASS - Set job class characteristics
Release job queues $T JOBCLASS(x),QHELD=N $T JOBCLASS - Set job class characteristics
Table 6. Controlling Jobs at Another Node
Task Command Location
Hold a job at another node $G H $G H - Hold a job at another node
Release a job at another node $G A $G A - Release a job at another node
Cancel a job at another node $G C $G C - Cancel a job at another node
Request another node to route a job for execution $G R $G R, XEQ - Request another node to route a job for execution
Request another node to route job output $G R $G R, OUT - Request another node to route job output
Table 7. Specifying Job Output Characteristics
Task Command Location
Set output characteristics $TO Job $T O Job - Set output characteristics
Specify JES2 job output characteristics $T OUTDEF $T OUTDEF - Set job output characteristics
Set job class characteristics $T JOBCLASS(n) $T JOBCLASS - Set job class characteristics
Set SYSOUT class characteristics output classes $T OUTCLASS(n) $T OUTCLASS(n) - Set SYSOUT class characteristics
Specify JES2 output scheduling priority $T OUTPRTY(n) $T OUTPRTY(n) - Set output scheduling priorities
Specify the estimated amount of spool space needed for a job output $T ESTBYTE $T ESTBYTE - Control the default spool space utilization per job
Specify the estimated print line count for job output $T ESTLNCT $T ESTLNCT - Control the default print line count per job
Specify the estimated page count for job output $T ESTPAGE $T ESTPAGE - Control the default page count per job
Specify the estimated number of punched cards for job output $T ESTPUN $T ESTPUN - Control the default punched card output per job
Table 8. Controlling Output
Task Command Location
Release or cancel held output data sets $O $O Job - Release or cancel held output groups
Cancel output groups $PO Job $P O Job - Purge a job's output
Route job output $R ,D= $R - Route job output
Cancel output groups $CO Job $C O Job - Cancel output

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014