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 (January 2008, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 9 Jan 2008 09:27:17 -0600
Reply-To:     "data _null_," <datanull@GMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "data _null_," <datanull@GMAIL.COM>
Subject:      Re: Strange macro behaviour
Comments: To: EsaV <Esa.Virtala@gmail.com>
In-Reply-To:  <478ae037-1832-481b-be7f-d35dcfbadf3b@v29g2000hsf.googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1

But if you didn't have the MACRO with all that superfluous quoting then you would'nt have the problem.

Pehaps you could rethink the problem and remove the macro and quoting. Maybe you could use ...

data work.TF / view=work.TF; set sashelp.class; array _t[*] age height weight; trans = '1 '; output; trans = 'LOG'; do _n_ = 1 to dim(_t); _t[_n_] = log(_t[_n_]); end; output; run; proc sort data=work.tf out=work.class; by trans; run; proc print; run;

On Jan 9, 2008 9:16 AM, EsaV <Esa.Virtala@gmail.com> wrote: > Sorry about the confusion. > > The main point is the strange behaviour of parameter S1: > > S1=%STR(_LOG=LOG%() does not work > vs. > S1=_LOG%STR(=LOG%() works > > -Esa >


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