$P - Stop JES2 processing

Function

To stop all system initiators, printers, punches, job transmitters, and SYSOUT transmitters after they complete their current activity.

Syntax

Read syntax diagramSkip visual syntax diagram$P

Authority Required

This command requires system 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 control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.

Processing considerations

Although JES2 discontinues scheduling of work, it continues to accept new jobs through input devices.

The $DMEMBER command indicates if a $P is in effect.

Scope

Single member. This command is in effect for this member only.

However, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.

Messages

The $HASP623 message indicates the member is draining. When all functions are complete, JES2 issues the $HASP099 message.

Example

 1   $p 

  $HASP623 MEMBER DRAINING
  $HASP099 ALL AVAILABLE FUNCTIONS COMPLETE

JES2 discontinues scheduling of work and does not start any new functions.