Date: Fri, 21 Jun 2002 13:55:54 -0400
Reply-To: "Balint, Jess" <JBalint@ALLDATA.NET>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Balint, Jess" <JBalint@ALLDATA.NET>
Subject: Using Variable Values in New Variables Names
Content-Type: text/plain; charset="iso-8859-1"
I tried this:
data test;
x = 1;
y&x = 2;
run;
But that doesn't work. Could somebody point me in the right direction here?
I have values in a dataset that I am trying to transforms and don't feel
like writing a page full of if statements. Thanks.
[Jess]
|