You are trying to find a way to count the number of WSS connections you have with the INET DISPLAY ACTIVE command. Do you count the READ/WRITE that is for the same IP address as one connection?
Release: All Releases ESP Workload Automation
When you log on to a workstation there are 2 connections per workstation user. The list of the open connections of ESPWSS could be independently verified at any time by issuing the following TSO command: NETSTAT CO (CLI stcname
STCNAME is your Workstation Server Started Task Name
EXAMPLE:
NETSTAT CO (CLI ESPWSS
MVS TCP/IP NETSTAT CO V2R2 TCPIP Name: TCPIPxx 12:01:52
User Id Conn State
------- ---- -----
ESPWSS 0002D13A Establsh
Local Socket: ::ffff:192.0.2.1..8995
Foreign Socket: ::ffff:192.0.2.255..64603
ESPWSS 0001A08A Listen
Local Socket: ::..6166
Foreign Socket: ::..0
ESPWSS 0002D13C Establsh
Local Socket: ::ffff:192.0.2.1..8995
Foreign Socket: ::ffff:192.0.2.255..64604
ESPWSS 0001A08B Listen
Local Socket: ::..8995
Foreign Socket: ::..0