Date: Fri, 30 Sep 2005 07:05:56 -0700
Reply-To: ranjan <ranjan.rao@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: ranjan <ranjan.rao@GMAIL.COM>
Organization: http://groups.google.com
Subject: Re: Problem with Macro
In-Reply-To: <1128087075.842675.172650@o13g2000cwo.googlegroups.com>
Content-Type: text/plain; charset="iso-8859-1"
The macro is
%macro treatname (var=) ;
..
....some operations...
...
data mylib.std_names ;
set mylib.std_names ;
..
..
std_&n= compress(new2_&n) ; /* new2_&n i s also created in between
*/
....
%mend treatname ;
%treatname(First_name surname ) ;
Now whats happening is that in the std_names only std_surname is coming
If i change order then first_name comes out
Please help friends
|