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