This article describes how to determine the high water mark of bulk PTERMS used in TCP/IP Lines.
Environment
CA IDMS, all supported releases.
Resolution
There are two possibilities:
1. 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).
2. 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.