I cannot figure out why but this new code does not work CODE: data want (keep=people item:); set data; array data_in(*) a--dq; array item(116); people=data_in(1);; do i=1 to 116; item(i)=data_in(i-1); end; run; ERROR: All variables in array list must be the same type, i.e., all numeric or character. ERROR: All variables in array list must be the same type, i.e., all numeric or character Instead I just added this( rename A=people; label A=people) did this and worked except...: But I have another problem on my hand now. after renaming the data I've noticed that one of the variables' value,"item 8 " is recorded as "8" not its real value. why is that? thanks
... View more