CICS socket transaction CWXN suspended in SOCKET RECEIVE

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:

(0 users)Average rating

Add comments

Document information


More support for:

CICS Transaction Server
CICS Web support

Software version:

3.2, 4.1, 4.2, 5.1

Operating system(s):

z/OS

Reference #:

1609482

Modified date:

2012-11-15

Translate my page

Machine Translation

Content navigation