This article describes how to determine the high water mark of bulk PTERMS used in TCP/IP Lines.
CA IDMS, all supported releases.
There are two possibilities:
Use the output of DCMT D TCPIP STAT to get the fields "HWM of concurrent open sockets (global)" (HWM across the whole CV) and/or "HWM of concurrent open sockets (1 LTERM)" (most under any one listener).
Write a program to walk the PLEs for TCPIP lines, then walk the BULK PTERMs, go to PTESTATA, and count how many have non-zero values for either STRPTRCT or STRPTWCT.
The attached program, SAMPTCHW, is an example of this.