Prev: Moving Character from date
Next: SAS Calculates the number of days between 31DEC9999 and 01JAN1960
From: Claus Yeh on 14 Jan 2010 22:48 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 14 Jan 2010 23:11 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
|
Pages: 1 Prev: Moving Character from date Next: SAS Calculates the number of days between 31DEC9999 and 01JAN1960 |