| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| bauer Intermediate
 
 
 Joined: 10 Oct 2003
 Posts: 317
 Topics: 50
 Location: Germany
 
 | 
			
				|  Posted: Thu Aug 06, 2009 3:29 am    Post subject: EZASOCKET, writing MVS Listener |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		| kolusu Site Admin
 
  
 
 Joined: 26 Nov 2002
 Posts: 12394
 Topics: 75
 Location: San Jose
 
 | 
			
				|  Posted: Thu Aug 06, 2009 11:48 am    Post subject: |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		| bauer Intermediate
 
 
 Joined: 10 Oct 2003
 Posts: 317
 Topics: 50
 Location: Germany
 
 | 
			
				|  Posted: Thu Aug 06, 2009 2:39 pm    Post subject: |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		|  | 
	
		|  |