Starting all sockets to a node *START,TCP,NODE=
Function
Use the *START,TCP,NODE=nodename command to start all sockets to a particular node. Then the particular node can begin communication with that node using TCP/IP protocol.
Parameters
- NODE=node
- Specifies the name of the node that is to be started.
Rules
- At least one socket must be defined with the NODE= keyword that specifies the node to be started.
- All such sockets must define the NETSERV and HOSTNAME parameters.
- The Netservs for the sockets in question must be first started by the *CALL,TCP command. Because all sockets for a particular node do not necessarily reside in the same Netserv, this might mean that more than one Netserv must be started.
- All affected sockets must be available on the remote node. If the remote node is JES2 or JES3, the socket becomes available when the Netserv starts and connects to TCP/IP.
Results
- The sockets that are defined for the requested node are started by an internally generated *S,TCP,SOCKET= command. See the results for the Starting a TCP/IP/NJE Socket *START,TCP,SOCKET= command.
Examples
Using the same definitions as the ones for the *S,TCP,SOCKET= example,
the following command is issued on NODE1:
*s tcp node=node4
The following response is received on NODE1:
SY1 IEESYSAS IAZ0543I JES3S1 TCP/IP connection with IP Addr: ALPS4197.POK.IBM.COM Port: 175 Initiated
SY1 IEESYSAS IAZ0543I JES3S1 TCP/IP connection with IP Addr: ALPS4197.POK.IBM.COM Port: 175 Successful
SY1 IEESYSAS IAT9305 NODE NODE4 SIGNED ON NETSERV JES3S1 SOCKET S4
SY1 IEESYSAS IAZ0544I JES3S1 S4 NJE connection with IP Addr: alps4197.pok.ibm.com Port: 175 Successful
The following response is received on NODE4:
SY1 IEESYSAS IAZ0543I JES3S4 TCP/IP connection with IP Addr: alps4216.pok.ibm.com Port: 1027 successful
SY1 IEESYSAS IAT9305 NODE NODE1 SIGNED ON NETSERV JES3S4 SOCKET @0000001
SY1 IEESYSAS IAZ544I JES3S4 NJE connection with IP Addr: alps4216.pok.ibm.com Port: 1027 successful