$P LINE(nnnnn) - Stop a line

Function

To stop the RJE or NJE line after it completes its current activity. When the $P is issued on a line, depending on where the work is in the NJE transmission, the $P can cause the job to be put into HELD. You must release the job using the $A command.

Syntax

Read syntax diagramSkip visual syntax diagram$P LINELNE nnnnn-nnnnn*(,nnnnn*-nnnnn*) Selection limiting keywordsModification keywords
Modification keywords
Read syntax diagramSkip visual syntax diagram,RESTART=YESNO(YESNO,interval)
Selection limiting keywords
Read syntax diagramSkip visual syntax diagram,/RESTART=¬=YESNO(YESNO,interval)

Parameters

nnnnn
Specifies the subscript that defines the stopped RJE or NJE lines. The subscript can specify a specific value or a range of values. For information about entering a range of values for this subscript, see Command syntax conventions.
RESTART=(Yes|No,interval)
Specifies whether this line will be restarted if it is drained. The interval is the approximate time (in minutes) between attempted restarts. The valid range for interval is 0 to 1440. An interval value of 0 indicates that the default interval (from NJEDEF CONNECT=) is used.

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 control 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 $HASP880 message displays the current status of the specified lines.

Examples

 1   $p line(2-*)

  $HASP880 LINE2     UNIT=0023,STATUS=DRAINED
  $HASP880 LINE3     UNIT=0024,STATUS=DRAINED
  $HASP880 LINE4     UNIT=0025,STATUS=DRAINED
  $HASP880 LINE5     UNIT=0026,STATUS=DRAINED
  $HASP880 LINE6     UNIT=0027,STATUS=DRAINED
  $HASP880 LINE7     UNIT=0021,STATUS=DRAINED
  $HASP880 LINE8     UNIT=0020,STATUS=DRAINED/RMT5
     .            .           .
     .            .           .
     .            .           .
  $HASP880 LINE24    UNIT=0C45,STATUS=DRAINED

JES2 stops all defined lines that are numbered 2 and higher after they complete their current activity.

 2   $pline15,restart=no
  
  $HASP880 LINE15     UNIT=SNA,STATUS=DRAINING,DISCON=NO