NOTICE:
All information in and attached to the e-mail(s) below may be proprietary, 
confidential, privileged and otherwise protected from improper or erroneous 
disclosure.  If you are not the sender's intended recipient, you are not 
authorized to intercept, read, print, retain, copy, forward, or disseminate 
this message.  If you have erroneously received this communication, please 
notify the sender immediately by phone (704-758-1000) or by e-mail and destroy 
all copies of this message (electronic, paper, or otherwise).  Thank you.

I believe the EZASOKET routines do not properly clear R15 on return, so
when you program ends the COBOL program propagates the value back.  Just
set RETURN CODE to 0 in your COBOL program. 


Larry Gray
Large Systems Engineering
Lowe's Companies
336-658-7944

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Simons
Sent: Tuesday, October 09, 2007 6:24 PM
To: [email protected]
Subject: Cobol calling EZASOKET gets RC 2912

What does CC 2912 mean?  My Cobol test program returns CC 2912 when I
add these EZASOKET calls:

  SOCKET
  CONNECT
  WRITE
  READ
  CLOSE

FWIW, the EZASOKET calls are working - tcpdump at the other end of the
connection shows the outbound & inbound blocks.

----------------------------------------------------------------------
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

----------------------------------------------------------------------
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

Reply via email to