MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

EZASOKET error

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
infoman123
Beginner


Joined: 02 Nov 2004
Posts: 57
Topics: 20

PostPosted: Tue Mar 24, 2009 11:17 pm    Post subject: EZASOKET error Reply with quote

I have posted the below topic in another site but no luck. Can anyone help me 'Crying or Very sad''Crying or Very sad''Crying or Very sad'

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 Crying or Very sad Crying or Very sad
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Wed Mar 25, 2009 12:41 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group