$P RDRnn and $P Rnnnn.RDm - Stop a reader

Function

To stop a reader after it completes its current work and then free the associated system resources.

Syntax

Read syntax diagramSkip visual syntax diagram$P RDRnnRnnnn.RDm ,RDRnn,Rnnnn.RDm

Parameters

RDRnn
The local reader that is stopped.
Rnnnn.RDm
The remote reader that is stopped.

Authority Required

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

Scope

Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.

Messages

The $HASP097 message is issued after the device has drained.

Example

 1   $p rdr1, rdr2, rdr3

  $HASP097 RDR1 IS DRAINED
  $HASP097 RDR2 IS DRAINED
  $HASP097 RDR3 IS DRAINED

JES2 stops readers 1, 2, and 3 after they complete their current activity and then frees the associated system resources.