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 

EZASOCKET, writing MVS Listener

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
bauer
Intermediate


Joined: 10 Oct 2003
Posts: 315
Topics: 49
Location: Germany

PostPosted: Thu Aug 06, 2009 3:29 am    Post subject: EZASOCKET, writing MVS Listener Reply with quote

Hi all,

I have a listener batch program using EZASOKET calls. This program has non IMS, DB2 calls, so it runs under mvs control.

This listener starts an additional batch job (using internal reader) and likes to pass a socket to an program executed by the new, additional started job (GIVESOCKET, TAKESOKET).

GIVESOKET returns with returncode 0, ok.
TAKESOKET returns with errorcode 13, permission denied.

My question now is:

What could be the reason for the error:

a) mentioned szenario in genral possible ?
b) Possible Error in the coding ?
c) Something missing in the ip installation ?

Any remarks?

regards,
bauer
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Thu Aug 06, 2009 11:48 am    Post subject: Reply with quote

bauer,

I am not sure if you already looked up error code of 13 but looks like

Code:
The other application (listener) did not give the socket to your application. Permission denied,  caller not authorized.   


Check this link for explanation and resolution of the error

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/F1A1G150/B.1?

Kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bauer
Intermediate


Joined: 10 Oct 2003
Posts: 315
Topics: 49
Location: Germany

PostPosted: Thu Aug 06, 2009 2:39 pm    Post subject: Reply with quote

Thank you for your reply. This manual is known to me. Givesocket returns with zero.

I'm not sure, if the szenario in general works ?!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming 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