On Thu, 18 Nov 2010 03:21:52 -0600 Ravi Kumar <[email protected]> wrote:
:>Before I talk to SAS thought to cross post here.. :>I am exploiting mailing service using SAS however on particular lpar only :>it seems to be not working ..below is my JCL. :>//SENDMAIL EXEC SASMSTR, :>// OPTIONS='EMAILSYS=SMTP EMAILHOST=xxx.xxx.xxx.xxx' :>//SYSIN DD * :> Filename emp email :> From='[email protected]' :> To='[email protected]' :> Subject='TEST' :> Attach ='xxxxx.TEMPFTP.TEXT'; :> Data _Null_ ; :> File emp; :> put ; :> run; :>I have checked the SMTP Mailer address in SMTP Config :>EZA5348I IP Mailer Address : xxx.xxx.xxx.xxx ==same as used :>in job. :>I get below error :- :>ERROR: Unable to connect to SMTP server. :>ERROR: Unable to connect to SMTP server. :>ERROR: Unable to connect to SMTP server. :>ERROR: inet_addr failed, cannot convert address 'LOCALHOST'. :>ERROR: inet_addr failed, cannot convert address 'LOCALHOST'. :>ERROR: inet_addr failed, cannot convert address 'LOCALHOST'. :>Now not able to crack it down to find why it's not able to resolve the SMTP :>mailing server address... :>One of the diagnostic step I took was to start the packet trace on address :>= xxx.xxx.xxx.xxx and port 25(smtp) however seems my job when ran could not :>even hit this hence nothing was captured in the Packet tracing... :>Does anyone has any kind of thought or ideas to crack it down ...Thanks Don't know SAS much, but as the error message is referring to LOCALHOST, it would appear that it was not picking up the IP address. Perhaps a comma should be used instead of a space? -- Binyamin Dissen <[email protected]> http://www.dissensoftware.com Director, Dissen Software, Bar & Grill - Israel Should you use the mailblocks package and expect a response from me, you should preauthorize the dissensoftware.com domain. I very rarely bother responding to challenge/response systems, especially those from irresponsible companies. ---------------------------------------------------------------------- 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

