Controlling a network
Through network job entry (NJE), a user located at a node, or remotely attached to a node by a remote job entry (RJE) line, can use the capabilities of any other reachable node in the network. This topic describes the JES2 commands you use to control a network. (For an overview of NJE and RJE, refer to z/OS JES2 Initialization and Tuning Guide.)
The following tables list the tasks discussed in this topic and provide a cross reference to the detailed descriptions of the corresponding NJE commands.
| Task | Command | Location |
|---|---|---|
| Display the network activity | $D NETWORK | $D NETWORK - Display network activity |
| Reset networking devices | $E NETWORK | $E NETWORK - Reset current network devices |
| Purge networking devices | $P NETWORK | $P NETWORK - Purge current network devices |
| Start automatic device restart and NJE connection processing | $S NETWORK | $S NETWORK - Start automatic device restart and NJE connection processing |
| Halt automatic network connection and device processing | $Z NETWORK | $Z NETWORK - Halt automatic network connection and device processing and drain NJE devices |
| Task | Command | Location |
|---|---|---|
| Specify the JES2 network environment for message, command, and data transmission among nodes | $T NJEDEF | $T NJEDEF - Control JES2 network environment |
| Display the JES2 network environment for message, command, and data transmission among nodes | $D NJEDEF | $D NJEDEF - Display the JES2 Network Environment |
| Define a symbolic destination name | $ADD DEStid | $ADD DESTID - Define a symbolic destination |
| Change the route code associated with a symbolic destination name | $T DEStid | $T DEStid - Control a JES2 symbolic destination |
| Delete a symbolic destination name | $DEL DEStid | $DEL DEStid - Delete a symbolic destination |
| Display subnets and node names | $D SUBNET | $D SUBNET - Display subnet connections |
| Display node attributes | $D U,LINEn or $D NODE |
$D U - Display the status of JES2-controlled devices |
| Change node characteristics | $T NODE | $T NODE(jnnnnnnn) - Set the characteristics of a node |
| Task | Command | Location |
|---|---|---|
| Start an NJE line | $S LINExx | $S LINE(nnnn) - Start a line |
| Establish an NJE connection with an adjacent node | $SN,LINExx, N=nodename |
$S N - Start node communication on a BSC line |
| Task | Command | Location |
|---|---|---|
| Start the JES2/VTAM interface | $S LOGON(n) | $S LOGON - Start the JES2/VTAM interface |
| Start an NJE line | $S LINExx | $S LINE(nnnn) - Start a line |
| Start an SNA application-to-application session with another node | $S N,A= | $S N - Start node communication on an SNA line |
| Task | Command | Location |
|---|---|---|
| Start the JES2-TCP/IP interface | $S NETSRV | $S NETSRV(nnn) - Start a network server |
| Start an NJE line | $SLINE | $S LINE(nnnn) - Start a line |
| Start a TCP/IP session with another node | $SN,S= | $S N - Start node communication on a TCP/IP line |
| Task | Command | Location |
|---|---|---|
| Define the JES2/VTAM interface | $ADD LOGON(n) | $ADD LOGON(nn) - Add a logon |
| Start the JES2/VTAM interface | $S LOGON(n) | $S LOGON - Start the JES2/VTAM interface |
| Assign a password to the JES2/VTAM interface and diagnose SNA problems | $T LOGON(n) | $T LOGON(nnn) - Control the JES2/VTAM interface |
| Stop the JES2/VTAM interface | $P LOGON(n) | $P LOGON(nnnnn) - Stop the JES2/VTAM interface |
| Restart the JES2/VTAM interface | $E LOGON(n) | $E LOGON(nn) - Restart the JES2/VTAM interface |
| Task | Command | Location |
|---|---|---|
| Define the JES2-TCP/IP interface | $ADD NETSRV | $ADD NETSRV(nnn) - Add a network server |
| Start the JES2-TCP/IP interface | $S NETSRV | $S NETSRV(nnn) - Start a network server |
| Indicate which STACK or SOCKET to use | $T NETSRV | $T NETSRV(nnnnn) - Modify the attributes of a network server |
| Stop the JES2-TCP/IP interface | $P NETSRV | $P NETSRV(nnnnn) - Stop a network server |
| Restart the JES2-TCP/IP interface | $E NETSRV | $E NETSRV(nnn) - Restart a network server |
| Task | Command | Location |
|---|---|---|
| Define a new JES2 application | $ADD APPL | $ADD APPL - Define a VTAM application to JES2 |
| Change an application's characteristics | $T APPL | $T APPL - Control JES2 applications |
| Task | Command | Location |
|---|---|---|
| Define a new socket | $ADD SOCKET | $ADD SOCKET(xxxxxxxx) - Add a socket |
| Change a socket's attributes | $T SOCKET | $T SOCKET (xxxxxxxx) - Control a socket |
| Task | Command | Location |
|---|---|---|
| Define an NJE line | $ADD LINE(nnnn) | $ADD LINE(nnnn) - Add line |
| Start an NJE line | $S LINE(nnnn) | $S LINE(nnnn) - Start a line |
| Disconnect an NJE line, assign a password, or diagnose NJE line problems | $T LINE(nnnn) | $T LINE(nnnnn) - Control a line |
| Restart NJE line activity | $E LINE(nnnn) | $E LINE(nnnnn) - Restart line activity |
| Stop an NJE line | $P LINE(nnnn) | $P LINE(nnnnn) - Stop a line |
| Task | Command | Location |
|---|---|---|
| Add static network connections | $ADD CONNECT | $ADD CONNECT - Dynamically add network connections |
| Display network connections that are defined to JES2 | $D CONNECT | $D CONNECT - Display network connections |
| Change static network connections that have been previously defined | $T CONNECT | $T CONNect - Change static network connections |
| Delete static connections | $DEL CONNECT | $DEL CONNect - Delete network connections |
| Task | Command | Location |
|---|---|---|
| Start an NJE device | $S L(nnnn).JR(n) L(nnnn).JT(n) |
$S Lnnnn.xxn - Start an NJE device |
| Restart NJE device activity | $E L(nnnn).JR(n) L(nnnn).JT(n) |
$E Lnnnn.xxn - Restart NJE device activity |
| Control work selection on an NJE device | $T L(nnnn).ST(n) | $T L(nnnn).ST(n) - Specify network SYSOUT transmitter characteristics |
| Cancel NJE device activity | $C L(nnnn).JR(n) L(nnnn).JT(n) |
$C Lnnnn.xxn - Cancel NJE device activity |
| Stop an NJE device | $P L(nnnn).JR(n) L(nnnn).JT(n) |
$P Lnnnn.xxn - Stop an NJE device |
| Task | Command | Location |
|---|---|---|
| Send messages through the network | $D M | $D M - Send a message |
| Send commands to another MAS member | $M n | $Mnn - Send commands to other MAS members |
| Send commands to another RJE node | $N n | $Nnnnn - Send commands through the network |
| Display information about a job at another node | $G D | $G D - Display job information for a job at another node |