How about a default route? It may have DNS entries but if it can't find the way to them, it will still come up empty.


Nick W Mart wrote:

Thank you for the response. I believe that you are correct in the DNS entries or perhaps a host table entry. After I sent the initial email, I looked at the job log of the client system as well as a similar job log on our internal system.

I found that client system does not have its system identified in the host table entries. When I selected option 12, there were DNS entries but nothing else entered on that screen.

Thanks again for the response,

Nick W Mart

----- Original Message ----- From: "Bradley V. Stone" <bvstone@xxxxxxxxxxxx>
To: "RPG programming on the IBM i / System i" <rpg400-l@xxxxxxxxxxxx>
Sent: Thursday, July 30, 2009 4:30 PM
Subject: Re: Problem sending email from RPG program


You didn't mention what you're using, but the problem would appear that
your DNS entries are not set up properly on your system. This is in
CFGTCP option 12. Make sure you have one or more DNS servers listed where

Bradley V. Stone
BVSTools, Inc.

Nick W Mart wrote:

On one of our client machine, we are getting the following error when attempting to send an email from an RPG program.

Command failed. reason -202 Failed to lookup IP address from host name

Any assistance would be greatly appreciated.

Nick W Mart


Visible links
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].