A very basic question.
How come I cannot change a variable in a datastep like this?
data want;
aaaaa='[';
aaaaa=cats(aaaaa,'hello');
aaaaa=cats(aaaaa,']');
put aaaaa;
run;
aaaaa will be equal to '[' , I expect '[hello]'
I need to define aaaaa
in multiple steps because I need to construct aaaaa
with do loops (with unpredictable length), I can't define aaaaa
in just one step.
Thanks!