Technote (troubleshooting)
Problem(Abstract)
CWXN transactions are suspended for a long time in a "SOCKET RECEIVE " wait in your CICS Transacton Server for z/OS (CICS TS) regions.
Cause
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.
Product Alias/Synonym
CICS/TS CICS TS CICS Transaction Server
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.