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 (November 2006, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Mon, 27 Nov 2006 00:32:09 -0800
Reply-To:   Jagadish <jagadishkr@GMAIL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Jagadish <jagadishkr@GMAIL.COM>
Organization:   http://groups.google.com
Subject:   Re: Compiling SAS Macro
Comments:   To: sas-l@uga.edu
Content-Type:   text/plain; charset="us-ascii"

If you know the path of the macro file you can use %include statement. If the macro is stored compiled macro, you can use mstored and sasmstore option. For example,

libname maclib 'c:/cmacros' ; *Assign library to the location where compiled macros are stored;

options mstored sasmstore=maclib; *This option statement tells maclib is the library for stores compiled macros.

%callyourmacro; *This is to invoke your macro.

I din't undesrand wht you mean by "without vieving the content of the macro". I always suggest you to view/go through the contents, it helps you to understand the source code of the macro, how to invoke it, what are the default argument values etc.


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