Displaying a TCP/IP/NJE Network Server *INQUIRY,NETSERV=

Function

Use the *INQUIRY,NETSERV= command to display information about a Netserv or all Netservs.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-+-*INQUIRY-+--,NETSERV=--+-ntsvname-+-----------------------><
   '-*I-------'             '-ALL------'   

Parameters

NETSERV=ntsvname
Specifies the name of the Netserv to be displayed.

Results

  • Information for the requested Netserv, or all Netservs, 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 NETSERV=JES3S1
IAT8707 NETSERV INQUIRY RESPONSE
   INFORMATION FOR NETSERV JES3S1
   SYSTEM=SY1, HOST=, PORT=      0, STACK=, JTRACE=NO, VTRACE=NO,
   ITRACE=NO, TLS=NO, ACTIVE=YES
   SOCKETS DEFINED IN THIS NETSERV
   SOCKET   ACTIVE   NODE     SERVER
   S3       NO       NODE3    NO
   S4       YES      NODE4    NO
   S6       NO       NODE6    NO
   WSC      NO       WSC      NO
END OF NETSERV INQUIRY RESPONSE
In the same network, the following command is issued on NODE4 with the shown response.
*i netserv=jes3s4
IAT8707 NETSERV INQUIRY RESPONSE
INFORMATION FOR NETSERV JES3S4
  SYSTEM=SY1, HOST=, PORT=    0, STACK=, JTRACE=NO, VTRACE=NO,
  ITRACE=NO, TLS=NO, ACTIVE=YES
  SOCKETS DEFINED IN THIS NETSERV
  SOCKET   ACTIVE   NODE     SERVER
  S1       NO       NODE1    NO
  S3       NO       NODE3    NO
  S5       NO       NODE5    NO
  S6       NO       NODE6    NO
  @0000001 YES      NODE1    YES
END OF NETSERV INQUIRY RESPONSE