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
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;
array _t[*] age height weight;
trans = '1 ';
trans = 'LOG';
do _n_ = 1 to dim(_t);
_t[_n_] = log(_t[_n_]);
proc sort data=work.tf out=work.class;
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
> S1=_LOG%STR(=LOG%() works