Error 1027 on CICS Sockets Connect

0 pts.
Tags:
Networking
zSeries
I receive return code 1027 from connect API. My client application can connect lot of times, but some times I receive the 1027. The conccurent server is an UNIX system that remains working and accepting new connections. How can I do the connect work? I try the connect again, in the same task, but the result was the same 1027 on return code.
ASKED: September 17, 2006  11:36 AM
UPDATED: September 18, 2006  1:33 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

RogerRabbit. One thought that comes to mind is that you may not have specified a valid socket number on the CONNECT call via the S parm. Prior to doing the CONNECT call you must issue a SOCKET call to get a socket number assigned to your task. The socket number assigned by the SOCKET call must then be specified via the S parm on the CONNECT call. Are you doing this?

Discuss This Question: 5  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • 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?
    0 pointsBadges:
    report
  • 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
    0 pointsBadges:
    report
  • 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??
    0 pointsBadges:
    report
  • 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??
    0 pointsBadges:
    report
  • 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...
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following