Date: Fri, 2 Feb 2001 11:32:42 -0500
Reply-To: Scott Carl <scott.carl@TRICISION.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Scott Carl <scott.carl@TRICISION.COM>
Subject: Re: Compiling Sas Programs
On Fri, 2 Feb 2001 14:56:55 GMT, Gary Ross <gary_ross@MGIC.COM> wrote:
>We have a long, convoluted, tested macro routine that we call within Sas
>programs frequently to auto-generate statistics on Sas datasets. The Sas
>macro and calling programs currently run on the Unix platform.
>I have a couple of questions:
>1. Is there any value to compiling the program such that when Sas is
>invoked, the compiled macro call can simply be called?
>2. If the answer to 1 above is yes, can someone get me pointed in the right
>direction on how to do this?
You might want to consider using an autocall library. I have found this to
be a good way to manage and share often used macros.
1. name each file the same as the macro name.
2. Use this syntax, or you will overwrite the existing libraries:
options sasautos=(sasautos "\\server\develop\sasmacro");
Hope this helps.