$D A - Display information about currently active jobs
Function
- Information about active batch jobs.
- Information about active started tasks.
- Information about active time-sharing users.
- Information about jobs being processed on unit record devices or spool offload devices.
Syntax
Parameters
- A
- JES2 displays the job number, job name, status, class, priority,
and active member name for all jobs of the requested job type that
are active in the JES2 process requested (if one is specified), on
the requested member. Note: If you do not specify any other operands, JES2 displays information for batch jobs that are active on the member to which the entering console is attached.
- J|JOB
- JES2 displays information for active batch jobs.
- S|STC
- JES2 displays information for active started tasks.
- T|TSU
- JES2 displays information for active time-sharing users.
- X|XEQ
- JES2 displays information for active jobs currently in execution or conversion processing.
- D|DEV
- JES2 displays information for jobs currently being processed on a unit-record device or spool offload device.
- If neither XEQ nor DEV is specified and JOB is specified, both are assumed.
- If JOB, STC, or TSU is not specified, but XEQ or DEV is specified, then JOB, STC, and TSU are assumed.
- If nothing is specified, then JOB, XEQ, and DEV are assumed.
- memname
- The one to four characters using A-Z, 0-9, $, #, and @ identifier of a member in a multi-access spool configuration. JES2 displays the above information for the specified member based on the selected groups (JOB, STC, TSU, DEV, XEQ).
- ALL
- JES2 displays the above information for all members in the multi-access spool configuration based on the selection groups (JOB, STC, TSU, DEV, XEQ) or defaults.
- V=volser
- JES2 displays job information for all jobs that have data on the spool volume specified by volser.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure that the authority of the appropriate MVS™ system command group is assigned.
This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
MAS-wide. This command can display information about jobs on any or all members of the MAS, depending on the parameters you provide.
Messages
The $HASP890 message displays the current status of the indicated job.
Examples
1 $da,dev,all
JOB00013 $HASP890 JOB(OUT3000)
$HASP890 JOB(OUT3000) STATUS=(ON PRT2/SPL2),CLASS=A,
$HASP890 PRIORITY=1,SYSAFF=(ANY),HOLD=(NONE)
2 $da,all,v=spool3
JOB00007 $HASP890 JOB(SPINLOOP)
$HASP890 JOB(SPINLOOP) STATUS=(EXECUTING/SPL2),CLASS=A,
$HASP890 PRIORITY=9,SYSAFF=(ANY),HOLD=(NONE)
3 $da,s,all
STC00002 $HASP890 JOB(SYSLOG)
$HASP890 JOB(SYSLOG) STATUS=(EXECUTING/SPL2),CLASS=STC,
$HASP890 PRIORITY=15,SYSAFF=(SPL2),HOLD=(NONE)
STC00004 $HASP890 JOB(INIT)
$HASP890 JOB(INIT) STATUS=(EXECUTING/SPL2),CLASS=STC,
$HASP890 PRIORITY=15,SYSAFF=(SPL2),HOLD=(NONE)
STC00005 $HASP890 JOB(VTAM)
$HASP890 JOB(VTAM) STATUS=(EXECUTING/SPL2),CLASS=STC,
$HASP890 PRIORITY=15,SYSAFF=(SPL2),HOLD=(NONE)
STC00008 $HASP890 JOB(INIT)
$HASP890 JOB(INIT) STATUS=(EXECUTING/SPLB),CLASS=STC,
$HASP890 PRIORITY=15,SYSAFF=(SPLB),HOLD=(NONE)
4 $da,s,splb
STC00008 $HASP890 JOB(INIT)
$HASP890 JOB(INIT) STATUS=(EXECUTING/SPLB),CLASS=STC,
$HASP890 PRIORITY=15,SYSAFF=(SPLB),HOLD=(NONE)
5 $da
JOB00010 $HASP890 JOB(SPINTWO)
$HASP890 JOB(SPINTWO) STATUS=(EXECUTING/SPLB),CLASS=A,
$HASP890 PRIORITY=9,SYSAFF=(SPLB),HOLD=(NONE)
6 $da,all
JOB00007 $HASP890 JOB(SPINLOOP)
$HASP890 JOB(SPINLOOP) STATUS=(EXECUTING/SPL2),CLASS=A,
$HASP890 PRIORITY=9,SYSAFF=(SPL2),HOLD=(NONE)
JOB00010 $HASP890 JOB(SPINTWO)
$HASP890 JOB(SPINTWO) STATUS=(EXECUTING/SPLB),CLASS=A,
$HASP890 PRIORITY=9,SYSAFF=(SPLB),HOLD=(NONE)
7 $da,xeq
STC00008 $HASP890 JOB(INIT)
$HASP890 JOB(INIT) STATUS=(EXECUTING/SPLB),CLASS=STC,
$HASP890 PRIORITY=15,SYSAFF=(SPLB),HOLD=(NONE)
JOB00010 $HASP890 JOB(SPINTWO)
$HASP890 JOB(SPINTWO) STATUS=(EXECUTING/SPLB),CLASS=A,
$HASP890 PRIORITY=9,SYSAFF=(SPLB),HOLD=(NONE)
8 $da,xeq,all
STC00002 $HASP890 JOB(SYSLOG)
$HASP890 JOB(SYSLOG) STATUS=(EXECUTING/SPL2),CLASS=STC,
$HASP890 PRIORITY=15,SYSAFF=(SPL2),HOLD=(NONE)
STC00004 $HASP890 JOB(INIT)
$HASP890 JOB(INIT) STATUS=(EXECUTING/SPL2),CLASS=STC,
$HASP890 PRIORITY=15,SYSAFF=(SPL2),HOLD=(NONE)
STC00005 $HASP890 JOB(VTAM)
$HASP890 JOB(VTAM) STATUS=(EXECUTING/SPL2),CLASS=STC,
$HASP890 PRIORITY=15,SYSAFF=(SPL2),HOLD=(NONE)
STC00008 $HASP890 JOB(INIT)
$HASP890 JOB(INIT) STATUS=(EXECUTING/SPLB),CLASS=STC,
$HASP890 PRIORITY=15,SYSAFF=(SPLB),HOLD=(NONE)
JOB00007 $HASP890 JOB(SPINLOOP)
$HASP890 JOB(SPINLOOP) STATUS=(EXECUTING/SPL2),CLASS=A,
$HASP890 PRIORITY=9,SYSAFF=(SPL2),HOLD=(NONE)
JOB00010 $HASP890 JOB(SPINTWO)
$HASP890 JOB(SPINTWO) STATUS=(EXECUTING/SPLB),CLASS=A,
$HASP890 PRIORITY=9,SYSAFF=(SPLB),HOLD=(NONE)
9 $da,all,x,dev,v=spool1
STC00002 $HASP890 JOB(SYSLOG)
$HASP890 JOB(SYSLOG) STATUS=(EXECUTING/SPL2),CLASS=STC,
$HASP890 PRIORITY=15,SYSAFF=(SPL2),HOLD=(NONE)
STC00004 $HASP890 JOB(INIT)
$HASP890 JOB(INIT) STATUS=(EXECUTING/SPL2),CLASS=STC,
$HASP890 PRIORITY=15,SYSAFF=(SPL2),HOLD=(NONE)
Use this command to determine which jobs are active and have space on the SPOOL volume. The ALL parameter displays all jobs in the MAS; the X parameter displays all the types of jobs (JOBs, TSUs, and STCs) that are running; the DEV parameter displays all jobs on a device.