LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (May 2003, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 22 May 2003 08:59:24 -0400
Reply-To:     "Pleasant, David (CAP, CARD)" <David.Pleasant@GECAPITAL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Pleasant, David (CAP, CARD)" <David.Pleasant@GECAPITAL.COM>
Subject:      Re: ping from SAS (MVS)?
Comments: To: Sterling Price <Sterling.Price@WAL-MART.COM>
Content-Type: text/plain; charset="iso-8859-1"

This one has me scared. Why in the world would you need to ping, several thousand computers?

-----Original Message----- From: Sterling Price [mailto:Sterling.Price@WAL-MART.COM] Sent: Thursday, May 22, 2003 8:37 AM To: SAS-L@LISTSERV.UGA.EDU Subject: ping from SAS (MVS)?

Greetings all,

I need to write a program to ping a large number of sites (several thousand) and save the ones that were pinged successfully to a dataset. Writing a macro program to do this should be no problem, but I have no clue how to actually execute a ping from SAS and pick up the success or failure result. It doesn't seem like there's anything built into base SAS specifically to do this (please note that I don't have SAS/Intrnet available to me). I'm guessing I would need to write a socket program, but have no clue where to begin and would appreciate any help or pointers to documentation. I know that probably the easiest thing would be to do this in Perl and then pick up the results from the Perl program in SAS, but unfortunately I'm on MVS and have no Perl available. I do have REXX available, but I'm not too experienced with it and would just as soon keep the whole thing in SAS if possible. Any ideas?

One thing I forgot to mention - I'm not sure if it matters, but this would be a batch program, not interactive.


Sterling Price

********************************************************************** This email and any files transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed. If you have received this email in error destroy it immediately. ********************************************************************** Wal-Mart Stores, Inc. Confidential **********************************************************************

Back to: Top of message | Previous page | Main SAS-L page