Use the TRACE SOCKET statement to have a complete trace of all calls to TCP/IP through the C socket library.
Requirement: The colon is required.
TRACE SOCKET
The TRACE SOCKET statement is used for debugging purposes only.
The output from the TRACE SOCKET command is sent to the data set referred to by the SYSPRINT DD statement.