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


$D A - Display information about currently active jobs

z/OS JES2 Commands
SA32-0990-00

Function

To display the following information:
  • 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

Read syntax diagramSkip visual syntax diagram
>>-$D--A--+------------+--+------------+--+------------+-------->
          '-,J--|--JOB-'  '-,S--|--STC-'  '-,T--|--TSU-'   

>--+------------+--+------------+------------------------------->
   '-,X--|--XEQ-'  '-,D--|--DEV-'   

>--+-----------------------------+--+-------------+------------><
   +-,memname--(--,memname--)---+  '-,V=--volser-'   
   '-,ALL------------------------'                    

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.
Defaults:
  • 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 1 to 4 character alphanumeric 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.
Default: If neither ALL nor the memname is specified, the member to which the entering console is attached is assumed as the memname.
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, SA32-0991.

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)
JES2 displays all active jobs on a device. In the message, job OUT30000 on printer 2 has a JES2 scheduling priority of 1 on member SPL2.
 2   $da,all,v=spool3

   JOB00007  $HASP890 JOB(SPINLOOP)
   $HASP890 JOB(SPINLOOP)  STATUS=(EXECUTING/SPL2),CLASS=A,
   $HASP890                PRIORITY=9,SYSAFF=(ANY),HOLD=(NONE)
JES2 displays all active jobs that have space on the specified spool volume (3).
 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)
JES2 displays information for all active started tasks in the MAS configuration.
 4   $da,s,splb

  STC00008  $HASP890 JOB(INIT)
  $HASP890 JOB(INIT)      STATUS=(EXECUTING/SPLB),CLASS=STC,
  $HASP890                PRIORITY=15,SYSAFF=(SPLB),HOLD=(NONE)
JES2 displays information for all started tasks active on the member identified AS SPLB.
 5   $da

  JOB00010  $HASP890 JOB(SPINTWO)
  $HASP890 JOB(SPINTWO)   STATUS=(EXECUTING/SPLB),CLASS=A,
  $HASP890                PRIORITY=9,SYSAFF=(SPLB),HOLD=(NONE)
JES2 displays information for batch jobs on member 2 (SPLB).
 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)
JES2 displays information for batch jobs in the MAS configuration.
 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)
JES2 displays information for all STCs, TSUs, and batch jobs executing on member 2 (SPLB).
 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)
JES2 displays information for all STCs, TSUs, and batch jobs executing on all members of the MAS configuration.
 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.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014