Displaying a TCP/IP/NJE Socket *INQUIRY,SOCKET=
Function
Use the *INQUIRY,SOCKET= command to display information about a socket or all sockets.
Parameters
- SOCKET=sockname
- Specifies the name of the socket to be displayed.
Results
- Information for the requested socket, or all sockets, is displayed.
Example
After the *S,TCP,SOCKET=S4 command in the example for that command
is entered, the following command is issued on NODE1 with the shown
response.
*i socket=s4
IAT8709 SOCKET INQUIRY RESPONSE
INFORMATION FOR SOCKET S4
NETSERV=JES3S1, HOST=ALPS4146.POK.IBM.COM, PORT= 0,
NODE=NODE4, JTRACE=NO, VTRACE=NO, ITRACE=NO, TLS=NO,
ACTIVE=YES, SERVER=NO
END OF SOCKET INQUIRY RESPONSE
In the same network the following command is issued on NODE4 with the shown response.
*i socket=@0000001
IAT8709 SOCKET INQUIRY RESPONSE
INFORMATION FOR SOCKET @0000001
NETSERV=JES3S4, HOST=, PORT= 0, NODE=NODE1, JTRACE=NO
VTRACE=NO, ITRACE=NO, TLS=NO, ACTIVE=YES, SERVER=YES
END OF SOCKET INQUIRY RESPONSE
The assigned IP address and port are not displayed in the JES3 inquiry response message IAT8709. These values can be displayed by using the MVS™ command D TCPIP,,NETSTAT,ALLCONN.