The following is a little code to help explain my problem:
DATA T;
LENGTH S $10 A B C $2;
A='01';
B='02';
C='A';
S=???(C);
RUN;
When C takes on the value 'A' then I want S to take on the value of '01' (The value of the variable A). When C takes on the value 'B' then I want S to take on the value of '02' (The value of the variable B).
Any ideas on how I can do this?
Thanks,
khomer
... View more