I do not believe that this is set at the product level (PARMLIB), but is for 
the API(?) call.

My reasoning and sorry for the "Round About" way I am getting to it.

Let's take an example of a TCP/IP commands that accept both a Host Name and a 
IP Address.

I think this because NSLOOKUP which accepts either Host Name or IP Address 
without specifying anything to distinguish it, although you used to a LONG LONG 
time ago.  NSLOOKUP is depreciated, so may go away at some point.

NSLOOKUP's replacement is called DIG (dig under USS)
When you invoke DIG, you have to tell it if you are sending a Host Name (no 
parm): dig www.ufl.edu 
Or if you are using an IP address: dig -x 128.227.9.98
If you did the above without the "-x" you will not get an answer.

Al Nims
Systems Admin/Programmer 3
UFIT
University of Florida
(352) 273-1298

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Jake Anderson
Sent: Monday, September 18, 2017 11:42 AM
To: [email protected]
Subject: Re: Unable to resolve server name function= GETADDRINFO

Hi

Is the 'AI_NUMERICHOST' flag set from the product perspective which is trying 
to use SMTP ?

Sorry being ignorant as I haven't seen this being set in TCPIP service



On 18-Sep-2017 9:06 PM, "Nims,Alva John (Al)" <[email protected]> wrote:

> Do you have, AI_NUMERICHOST, flag set?
>
> For, GETADDRINFO, from: "z/OS Communications Server: IP Sockets 
> Application Programming Interface Guide and Reference"
> SC27-3660-00
>
> " node          The host name or IP address. If the value of the node
> parameter is an IP address, you also must issue the AI_NUMERICHOST flag.
> The value of the node parameter can be up to 255 bytes in length."
>
> I am thinking if that flag is set, then if you put in a host name, it 
> would be rejected because a numeric was expected.
>
> Al Nims
> Systems Admin/Programmer 3
> UFIT
> University of Florida
> (352) 273-1298
>
> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[email protected]] 
> On Behalf Of Jake Anderson
> Sent: Monday, September 18, 2017 1:37 AM
> To: [email protected]
> Subject: Re: Unable to resolve server name function= GETADDRINFO
>
> Hi
>
>
> We share the same resolver TCPDATA dataset between two LPAR and 
> IPNODES are specified. We get a correct response for NSLOOKUP HOSTNAME as 
> well.
>
> Why is it only IP address of SMTP server is honored whereas the Domain 
> name is not ? Could anyone please explain me on this so that i can 
> research further on this.
>
> Also, Can we have Just one SMTP address for a PLEX(in a 
> MAS(Multiaccess spool)). So that the products running running in any 
> of the LPAR within the SYSPLEX can use the SMTP service ?
>
> On 18-Sep-2017 10:48 AM, "Salva Carrasco" <[email protected]> wrote:
>
> > Alloc a SYSTCPT sysout to see the resolver trace.
> >
> > --------------------------------------------------------------------
> > -- For IBM-MAIN subscribe / signoff / archive access instructions, 
> > send email to [email protected] with the message: INFO 
> > IBM-MAIN
> >
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions, send 
> email to [email protected] with the message: INFO IBM-MAIN
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions, send 
> email to [email protected] with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to