
oxtsd04 |
RogerRabbit, After some further research I have some more questions for you.
1. On your INITAPI call what do you specify for MAXSOC or do you take the default or minimum value of 50?
2. Is your client transaction a long running client that establishes multiple connections and issues multiple SOCKET calls? If so does it issue a CLOSE call when it is done with a SOCKET? If not you might be hitting your limit of open SOCKETS as specified via MAXSOC on the INITAPI call.
3. What programming language are you using?
4. Are you using the original CICS Sockets interface where you issue CALLS to EZACICAL, or are you using the new sockets extended API where you issue CALLS to EZASOKET? It is highly recommended that you use EZASOKET.
5. What release of CICS are you running?
6. What release of MVS or z/OS are you running?

RogerRabbit |
1. I specify for MAXSOC=1
2. My client transaction establishes one connections by task and issues only one SOCKET calls, write and read the socket and close the socket. We are running more than one task ate the same time, connecting on the same server and port.
3. I’m using COBOL and issue CALLS to EZASOKET.
5. What release of CICS are you running?
I’m asking for my client
6. What release of MVS or z/OS are you running?
I’m asking for my client

RogerRabbit |
My program issue a call to SOCKET:
CALL ‘EZASOKET’ USING SOKET-SOCKET AF-INET SOCTYPE
PROTO ERRNO RETCODE.
The RETCODE return = 0, so I move IPADDR, PORT and issue a call to CONNECT:
CALL ‘EZASOKET’ USING SOKET-CONNECT SOCKID NAME
ERRNO RETCODE.
I did not move nothing to SOCKID, Is that correct?
In the server program TAKESOCKET give me a SOCKID in the return code.
In the client program I need move some value to SOCKID??

RogerRabbit |
My program issue a call to SOCKET:
CALL ‘EZASOKET’ USING SOKET-SOCKET AF-INET SOCTYPE
PROTO ERRNO RETCODE.
The RETCODE return = 0, so I move IPADDR, PORT and issue a call to CONNECT:
CALL ‘EZASOKET’ USING SOKET-CONNECT SOCKID NAME
ERRNO RETCODE.
few times I receive RETCODE=1027, allmost always calls return 0.
I did not move nothing to SOCKID, Is that correct?
In the server program TAKESOCKET give me a SOCKID in the return code.
In the client program I need move some value to SOCKID??

RogerRabbit |
CICS Version TS 2.3
Z/OS Verison 1.4
I’ve been using CICS sockets since 2003.
And I think that is the best feature in the CICS environment.
Thank you…