Dean, First, you'll get a better response if you send your question to the listserv rather than the mirrored newsgroup. See the note at the bottom of this email for instructions to do that. Second, this call can only return 0 or -1. Check that you're really looking at RETCODE. Also, gethostbyname isn't going to send email, no matter what the return code.
In article <900b076e-2a96-47ef-80d9-6d45507cc...@googlegroups.com> you wrote: > I need help....I'm not fimilar with socket prgramming and can't find these > codes documented anywhere....anything would be aprreciated. This is holding > up a migration to Exchange 2010. > Thanks > On Wednesday, March 19, 2014 11:37:33 AM UTC-4, snipe...@gmail.com wrote: > > Hi, > > > > > > > > On this socket call: > > > > > > > > CALL EZASOKET(SOC_GETHOSTBYNAME, > > > > HNAMELEN, > > > > HOSTNAME, > > > > HOSTENT_PTR, > > > > RETCODE); > > > > > > > > I get a RETCODE=21 or 43 depending on what DNS host is passed to the call. > > I can't find these codes anywhere. The RETCODE=21 is sending an email with > > 'no body', the RETCODE=43 is successful. Can anyone help me with these > > RETCODES? > > > > > > > > Thanks, > > > > Dean -- Don Poitras - SAS Development - SAS Institute Inc. - SAS Campus Drive sas...@sas.com (919) 531-5637 Cary, NC 27513 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN