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


$Nnnnn - Send commands through the network

z/OS JES2 Commands
SA32-0990-00

Function

To send any command acceptable to the appropriate node or node member through the network to the indicated system.

Read syntax diagramSkip visual syntax diagram
>>-$N--+-------------------+--,'command'-----------------------><
       +-nnnn--(--M--mm--)-+               
       '-,D=--+-N--nnnn-+--'               
              '-name----'                  

Parameters

,‘command'
Specifies the command to be transmitted. The command is preceded by a comma and enclosed in single quotation marks. The command will be transmitted as it appears and should be in the same format as it would be if entered from the local console of the receiving system. If the command is a JES2 command, be sure to begin it with the appropriate remote/reader command character (usually a dollar sign) or, optionally, the valid JES2 command character of the receiving system.
Note:
  1. If one of the commands listed below originates from another node in the network and the operand does not specify a node (first-level destination), the receiving node defaults the first-level destination to the node where the command originated.
  2. If one of the commands listed below is sent to another node in the network using the $N command, be aware that the receiving node will default the node (first-level destination) of the operand to the sending node. If another node is desired, specify a destination on the operand that will resolve to the desired node (first level destination) at the receiving node.
    These rules apply to the following commands and operands:
    • $COJ,R=
    • $D F, R=
    • $D M, D=
    • $D N, R=
    • $D N, XMTnnnn
    • $O J, R=
    • $POJ,R=
    • $R, R=
    • $R, D=
    • $T O, D=
D=Nnnnn|name
Identifies the node (by number or installation-defined name) to which the command text is to be sent.
nnnn[Mnn]
Identifies the node and, optionally, the specific multi-access spool member of that node to which the command text is to be sent.

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

Network-wide. This command only needs to be issued from a single member; the command has an effect across the entire MAS.

Messages

  • The $HASP000 message indicates the command was accepted.
  • The $HASP249 message echoes the command you issued, indicating that the command was received from a remote job entry (RJE) workstation or another JES2 node.

Example

 1 $n 2,'$d q'

  $HASP000 OK
  $HASP249 N1     $DQ

A JES2 command to display the number of queued jobs is sent to node 2, acted upon by JES2 in node 2, and the resulting display is transmitted back through the network and appears at the active MCS console of the entry node. If the entry node is not defined as having network authority at node 2, the resulting display includes only a count of those jobs owned by the entry node.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014