Date: Fri, 8 Aug 2003 19:24:20 -0400
Reply-To: Richard Graham <richardwgraham@earthlink.net>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Richard Graham <richardwgraham@EARTHLINK.NET>
Organization: Glencairn Consulting Group
Subject: Re: Is there a way to carry entire macros over to the local
session from a remote session?
Content-Type: text/plain; charset="iso-8859-1"
Stephen,
You can make the remote sashelp library available to your local session
libname rsashelp slibref=sashelp server=servername;
Then, you can access the remote vmacro view which contains all of the
_global_ macro variables and their values.
rsashelp.vmacro
HTH
Richard Graham
Vice President
Glencairn Consulting Group, Inc.
----- Original Message -----
From: "SUBSCRIBE SAS-L Stephen W. Hunt" <caraone1@YAHOO.COM>
To: <SAS-L@LISTSERV.VT.EDU>
Sent: Friday, August 08, 2003 3:01 PM
Subject: Is there a way to carry entire macros over to the local session
from a remote session?
> I'm looking for the equivalent of %sysrput, except for entire SAS macros
> instead of individual macro variables. What I've done so far is just save
> the macro as a sas program, make the path to it a macro variable and carry
> that over to the local session using %sysrput, after which I can include
it
> in the local session, but it seems like there should be a more direct
route.
>
> thanks in advance,
> Stephen
>
|