View previous topic :: View next topic |
Author |
Message |
infoman123 Beginner
Joined: 02 Nov 2004 Posts: 57 Topics: 20
|
Posted: Tue Mar 24, 2009 11:17 pm Post subject: EZASOKET error |
|
|
I have posted the below topic in another site but no luck. Can anyone help me ' '' '' '
Hi All,
We are having a issue when writing the message using EZASOKET
The program logic is as below Code: |
CALL 'EZASOKET' USING WS-SF-SELECT
WS-MAX-SOCKETS
WS-TIMEOUT-INTERVAL
WS-READ-SND-MASK
WS-WRITE-SND-MASK
WS-EXCPTN-SND-MASK
WS-READ-RTN-MASK
WS-WRITE-RTN-MASK
WS-EXCPTN-RTN-MASK
WS-ERRNO
WS-RETCODE.
IF WS-RETCODE LESS THAN ZERO
MOVE 'SELECT ERROR: WRITE ' to WS-ERR-MSG
END-IF
IF WS-EXCPTN-RTN-MASK GREATER THAN LOW-VALUES
MOVE 'EXCPTN RTN MASK ERROR2' TO WS-ERR-MSG
END-IF
|
Sometimes we can see that in cics there is message EXCPTN RTN MASK ERROR2
and makes the socket getting closed immediately.
This is causing issues that socket getting closed and not able to send any messages.
Could anyone highlight what could be the issue and what all need to be checked for solving this issue.
In application side we are sure that there is no issue in this.
Please help as we are clueless and its happening our prod region  |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Wed Mar 25, 2009 12:41 am Post subject: |
|
|
infoman123,
I would start checking if the definitions of the variables are defined correctly for a select call. Check this link for an example of the The SELECT Call
After every call I would check the return code and Errno and cross check against these Sockets Extended Return Codes
Kolusu |
|
Back to top |
|
 |
|
|