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 (September 2005, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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
Comments: To: sas-l@uga.edu
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


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