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


Starting node communication using TCP/IP

z/OS JES2 Commands
SA32-0990-00

To start node communication using TCP/IP:
  1. Enter the MVS™ commands necessary to start TCP/IP.
  2. Enter the $S NETSRV(n) command to start the JES2-TCP/IP interface.
  3. Enter the $S LINE command to start the specified NJE line(s).
  4. 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.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014