Steps for diagnosing hung CICS tasks
Determine why CICS® application tasks hang.
Procedure
Perform the following steps:
- While a task is hung, request an SVC dump of CICS and TCP/IP.
- If the problem can be re-created, re-create with CICS auxtrace and component trace turned on.
- Issue a NETSTAT SOCKET command to determine whether the task is waiting for a particular socket call to be posted. If it is waiting, you can issue the NETSTAT DROP command to end it.
- If the application is hung while waiting for the completion of a READ command, consider issuing a SELECT or SELECTEX command prior to the READ command. The SELECT command returns either the number of sockets that are ready to be read or 0 if it times out. The SELECTEX command also returns either the number of sockets that are ready to be read or 0 if it times out and it also returns an ECB or a list of ECBs.