On Tue, 27 Mar 2007 14:01:59 -0400, Carol Srna 
<[EMAIL PROTECTED]> wrote:

Carol,
This is sort of an "I don't know" answer to your questions, but with a 
few "Maybe"s scattered throughout.

>... Where do I find the "GetAddrInfo
>Failed:  RetVal = -1, RC = 1, Reason = 0x78AE1004 " message 
explanation?
>...

The short answer is "In the Unix System Services Messages and 
Codes" manual.  The last 2 bytes are a reason code; the first 2 are a
reason qualifier.  Unfortunately I can't find 1004, but I may have been
looking in an old manual.

>... 
>Has anyone seen this?  If so what is it telling me?
>...

Uh, yup.  I've seen it before.  I searched on it and up popped 

PQ70749: TCPIP SUPPLIED SOCKET API'S GETADDRINFO CALL FAILS TO 
RESOLVE PROVIDED NAME TO IP ADDRESS
...
GetAddrInfo Failed:  RetVal = -1, RC = 1, Reason = 0x78AE1004

Are you by any chance still on z/OS 1.2 or 1.4?  If so, you might be
running into this.   There's a LOT not said in the APAR; something else
is needed to cause this error.  (We never ran into it on either 1.2 or 
1.4.)  I suspect there are other non-bug reasons to get this. 


>...
> BPX1SOC:  RetVal = 0, RC = 0, Reason = 0x00000000
> BPX1IOC:  RetVal = 0, RC = 0, Reason = 0x00000000
>GetAddrInfo Opened Socket 0x00000000
>GetAddrInfo Only IPv4 Interfaces Exist
>GetAddrInfo Searching Local Tables for IPv4 Address
> Unable to find any local host table
>GetAddrInfo Closing IOCTL Socket 0x00000000
> BPX1CLO:  RetVal = 0, RC = 0, Reason = 0x00000000
>GetAddrInfo Failed:  RetVal = -1, RC = 1, Reason = 0x78AE1004
>GetAddrInfo Ended: 2007/03/27 12:45:53.195911
>...

This says that the Resolver first looked for local host tables and didn't
find any.  It doesn't mention trying looking for a remote name server
before it fails.  That seems odd.  There should have been a bunch of
stuff prior to the lines you included that relate to your RESOLVER parms
in TCPDATA.  It would be helpful to see these.  They will say whether
you are trying to use name servers or not, what order you search, etc.
Could you show those?  Feel free to obscure dataset names, IP addrs, 
etc, but please include the lines containing that info.  It should look
something like

res_init Resolver values:                                      
 Global Tcp/Ip Dataset  = None                                 
 Default Tcp/Ip Dataset = None                                 
 Local Tcp/Ip Dataset   = SYS1.TCPPARMS(TCPDATA)               
 Translation Table      = SYS1.TCPIP.STANDARD.TCPXLBIN         
 UserId/JobName         = zzzzzzzz                              
 Caller API             = TCP/IP Sockets Extended              
 Caller Mode            = EBCDIC                               
 (L) DataSetPrefix = SYS1.TCPIP                                
 (L) HostName      = SYSA                                      
 (L) TcpIpJobName  = TCPIP                                     
 (L) Search        = abcde.COM                                                  
               
 (L) NameServer    = aaa.bbb.ccc.ddd
          
 (L) NsPortAddr    = 53            (L) ResolverTimeout    = 10 
 (L) ResolveVia    = UDP           (L) ResolverUdpRetries = 2  
 (*) Options NDots = 1                                         
 (*) SockNoTestStor                                            
 (*) AlwaysWto     = NO            (L) MessageCase        = MIX
 (*) LookUp        = DNS LOCAL                                 
res_init Succeeded                                             

Pat O'Keefe

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