This sounds like a mis-match with the address space and task names
specified in the CLIENT structure on the GIVESOCKET and TAKESOCKET
calls.
What have you specified for :
The NAME and TASK for the CLIENT structure on the GIVESOCKET ?
The NAME and TASK for the CLIENT structure on the TAKESOCKET ?
The INITAPI call for the handler and listener address spaces ?
The address space names of the handler and listener address
spaces ?
Rob Scott
Rocket Software, Inc
275 Grove Street
Newton, MA 02466
617-614-2305
[EMAIL PROTECTED]
http://www.rs.com/portfolio/mxi/
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Giovanni L Bozzetti
Sent: 13 June 2006 17:21
To: [email protected]
Subject: Writing a Listener and receive the takesocket in other address
space
I have a listener working with MVS subtask were I use the TAKESOCKET.
For a change in my project I try to use this takesocket in another MVS
address space not a subtask, that is, instead of the use of ATTACH I
will use a start of another address space and do the takesocket there.
I received EACCES (return code 13) in takesocket or EBADF (return code
113) in takesocket.
I'd like to found a good solution to do this and know if really work.
I write my listener in assembler language and use EZASMI macros.
Thanks a lot any idea
Giovanni Bozzetti
System Programmer
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html