Date: Mon, 17 Sep 2007 16:59:58 -0400
Reply-To: Paul Walker <walker.627@OSU.EDU>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Paul Walker <walker.627@OSU.EDU>
Subject: How to get SAROOT into a macro variable?
I am trying to identify the location of SAS.Exe on a PC on-the-fly during
a SAS program. I think it is stored in the so-called SASROOT! location,
but I am not sure how to retrieve SASROOT! into a macro variable. Does
anyone know how to do this? I am hoping there is something like:
%let SasLoc = %GetPath(SasRoot!);
|