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


$JDSTATUS - Display current status

z/OS JES2 Commands
SA32-0990-00

Function

To display the current status of the JES2 address space. This is the primary monitor command that you should use to diagnose problems with JES2. This command displays all current alerts and any notices that are outstanding.

JES2 generates an alert is generated when a condition, such as a loop, persists for a long enough interval that the monitor considers it abnormal. The monitor generates a highlighted message and creates an element that is displayed in response to the $JDSTATUS and $JDJES commands. Messages displayed through these commands are refreshed with the current conditions and might be different from the highlighted message previously issued.

Some conditions, which might be considered normal in some situations, might be the cause of JES2 problems. These conditions are not considered time related. JES2 displays notices in response to the $JDSTATUS and $JDJES commands to describe these conditions.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-$JD--STATUS-------------------------------------------------><

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.

Processing Considerations

The following restrictions apply to all monitor commands. They:
  • Can only be issued through the MVS command interface (consoles or MGCRE) or JES2 automatic commands
  • Cannot be issued from the JES2 initialization data set, NJE/RJE, $M commands, or through a reader (INTRDR)
  • Can be the object of a $VS command
  • Are not limited by CONDEF CMDNUM=
  • Are not limited by CONDEF DISPMAX=
  • Support L= for directing the output but do not honor CONDEF RDIRAREA= or REDIRECT= parameters
  • Cannot use the JES2 command separator, semicolon (;), to separate monitor commands unless it is also the MVS command separator.

Scope

Single member. This response to this command displays information about this member only.

Messages

Examples

 1 $JD STATUS

$HASP9120 D STATUS  
$HASP9121 NO OUTSTANDING ALERTS

This indicates that JES2 is functioning normally.

 2 $JD STATUS

   $HASP9120 D STATUS                                
   $HASP9121 OUTSTANDING ALERTS                                
   $HASP9201 JES2 MAIN TASK WAIT DETECTED AT HASPSXIT+01F626   
   DURATION-000:02:04.05 PCE-COMM     EXIT-NONE JOB ID-NONE    
   COMMAND-$TJOBDEF,JOBNUM=3000                                     
   $HASP9150 NO JES2 NOTICES 

Message $HASP9201 indicates that alerts have been issued for JES2. The main task appears to be MVS waiting in JES2 module HASPSXIT and and the current PCE is a $TJOBDEF command.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014