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 (January 2010, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 20 Jan 2010 07:30:43 -0500
Reply-To:     "Nallapeta1, Kiran (GE Capital, consultant)"
              <Kiran.Nallapeta1@GE.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Nallapeta1, Kiran (GE Capital, consultant)"
              <Kiran.Nallapeta1@GE.COM>
Subject:      Re: Capture MAC address into SAS
Comments: To: Arthur Tabachneck <art297@NETSCAPE.NET>
In-Reply-To:  A<201001191655.o0JGhdZA028700@malibu.cc.uga.edu>
Content-Type: text/plain; charset="us-ascii"

Hi Art,

I can use X statement or system() function to run getmac command. But how can I capture the output that getmac throws into SAS variable?

Thanks, Kiran

-----Original Message----- From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Arthur Tabachneck Sent: Tuesday, January 19, 2010 10:26 PM To: SAS-L@LISTSERV.UGA.EDU Subject: Re: Capture MAC address into SAS

Kiran,

If your machines are all windows-based, you could get SAS to simply run the dos system command 'getmac'.

HTH, Art ------- On Tue, 19 Jan 2010 07:46:34 -0500, Nallapeta1, Kiran (GE Capital, consultant) <Kiran.Nallapeta1@GE.COM> wrote:

>Hi, > > > >I need to capture MAC address of a machine from SAS... I tried to search >it in the list of environment variables using %sysget function, but in >vain. Can someone please help me on this? > > > >Thanks in advance. > > > >Regards, > >Kiran > > > >


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