From: Claus Yeh on
Hi guys,

I have been running compiled macro on windows SAS without any issues.
However, when I tried to access my compiled macro on Unix SAS, it did
not work.

Here is my code for unix sas

OPTIONS MSTORED SASMSTORE=test;
libname test '/home/sas_stuff/';

%macro analysis (var1, var2, var3) / store secure ;
...
...
...
% mend ;

I think it compiled fine, but then I could not get it to run. here is
my macro call

OPTIONS MSTORED SASMSTORE=test;
libname test '/home/sas_stuff/';

%analysis (x, y, z) ;

Please let me what I am doing wrong on Unix SAS.

thank you!!

claus
From: Tom Abernathy on
Perhaps it is as simple as the extra space between the percent sign
and MEND in your %mend statement?

On Jan 14, 10:48 pm, Claus Yeh <phoebe.caulfiel...(a)gmail.com> wrote:
> Hi guys,
>
> I have been running compiled macro on windows SAS without any issues.
> However, when I tried to access my compiled macro on Unix SAS, it did
> not work.
>
> Here is my code for unix sas
>
> OPTIONS MSTORED SASMSTORE=test;
> libname test '/home/sas_stuff/';
>
> %macro analysis (var1, var2, var3)  / store secure ;
> ..
> ..
> ..
> % mend ;
>
> I think it compiled fine, but then I could not get it to run.  here is
> my macro call
>
> OPTIONS MSTORED SASMSTORE=test;
> libname test '/home/sas_stuff/';
>
> %analysis (x, y, z) ;
>
> Please let me what I am doing wrong on Unix SAS.
>
> thank you!!
>
> claus