Giovanni, If LSTWORK is going to perform the TAKESOCKET, then "LSTWORK " must be specified as the NAME value in the CLIENT structure for the GIVESOCKET call in LSTSERVE. The way you have it currently assumes that the TAKESOCKET is going to be performed by a subtask within the LSTSERVE address space....
>From the information you have provided, please also check that the following is true : (o) On the INITAPI call in LSTSERVE, you have assigned a SUBTASK value of "SRVR0001" (o) On the INITAPI call in LSTWORK, you have assigned a SUBTASK value of "TASK0001" 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: 15 June 2006 08:41 To: [email protected] Subject: Re: Writing a Listener and receive the takesocket in other address space Hello Rob, Thanks for your question, this what I have..... What have you specified for : The NAME and TASK for the CLIENT structure on the GIVESOCKET ? LSTSERVE TASK0001 The NAME and TASK for the CLIENT structure on the TAKESOCKET ? LSTSERVE SRVR0001 The INITAPI call for the handler and listener address spaces ? TCPIP The address space names of the handler and listener address spaces ? LSTWORK LSTSERVE Thanks a lot for 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

