When a server-based task requests services from an IDMS CV, the IP address is stored in the IDMS control blocks. In debugging a task that fails, it may be helpful to identify the IP address from which that task originated.
Release: All supported releases.
The short answer is, the IP address is at PTELSOC4+4 for r18.5 (PTE+174 in 18.0). Here is the long explanation:
The PTE* fields belong to a LISTENER type PTE. When a new task is started by generic listening, it runs under control of a BULK PTE/LTE pair. The following fields from a BULK PTE can be examined:
The IP address is stored in the control blocks as a fullword; each byte of the fullword represents a value that would normally be separated by a period.
For example: