CICS socket transaction CWXN suspended in SOCKET RECEIVE
CWXN transactions are suspended for a long time in a "SOCKET RECEIVE " wait in your CICS Transacton Server for z/OS (CICS TS) regions.
SOCKETCLOSE=NO is in your TCPIPService definition and CICS is validly waiting for more data from the client.
Diagnosing the problem
When you enter CEMT I TASK TRAN(CWXN), you see the following:
Tas(0051988) Tra(CWXN) Sus Tas Pri( 001 ) Sta(U ) Use(xxxxxxxx )
Uow(C9D5F2EE2DEE8499) Hty(SOCKET) Hva(RECEIVE) Hti(200841) Bac Wai
The AIOCBs show RECEIVED command is being issued and the process is EINPROGRESS.
AIOCMD + x'30' =x'86'
AIORC + x'44' =x'0000044F'
The SO domain shows the task is waiting for Recv ECB to be posted.
TOKEN FLAGS Recv ECB I/O Remote IPAddr Port
0141002E GT NS 800197CB Receive xxx.xxx.xxx.xxx nnnn
Resolving the problem
Consider coding a non-zero value for SOCKETCLOSE on your TCPIPService definition if that suits your CICS and your client applications better than SOCKETCLOSE NO. Choose a value that is long enough to allow the client to send all of the data that your CICS application expects. This will prevent CWXN tasks from becoming suspended forever if the client never sends the remaining data.
CICS/TS CICS TS CICS Transaction Server