To start node communication using TCP/IP:
- Enter the MVS™ commands necessary to start TCP/IP.
- Enter the $S NETSRV(n) command to start the JES2-TCP/IP interface.
- Enter the $S LINE command to start the specified NJE line(s).
- Enter the $SN command to start a session with another node, specifying
the name of the socket that specifies IP address and port on the SOCKET= parameter.
The following describes each of these commands in more detail:
- Starting TCP/IP
- Issue the commands to start TCP/IP at your installation.
- Starting the JES2-TCP/IP interface
- Issuing the $S NETSRV(n) command allows JES2 to begin processing
connection requests through TCP/IP. Use the value of n specified in the NETSRV(n)
initialization parameter for the interface to be started.
- Starting the specified NJE line(s)
- Use the $S LINE(nnnn) command to start the specified NJE line(s).
You must know how the systemprogrammer
defined your NJE network in the JES2 initialization procedure; that is, you
must know which workstations can use which lines. Ask your system programmer
for this information. JES2 cannot be withdrawn from the system until all lines
are drained. All lines need to have UNIT=TCP.
- Starting a TCP/IP session
- Use the $SN,S= command to start a TCP/IP session with another node.
The optional LINE= parameter identifies the started logical TCP/IP line to
be used for the session. TCP/IP manages the physical lines involved. If you
do not identify the line to be used, a TCP/IP logical line will be selected
from a pool of available, idle TCP/IP lines. At least one TCP/IP line must
be available to establish a TCP/IP session. If you specify a line that is
currently in use or drained, the command will be rejected. Use the S= parameter
to provide the name of the SOCKET(xxxx) definition on this node that defines
the TCP/IP address (or host name) and port to of the peer node with which
a connection is to be established. This TCP/IP address an port corresponds
to the TCP/IP address an PORT associated with an active NETSRV device on the
node with which the connection is to be established.