Hi there- I have 4 different terms as Q1, Q2, Q3 Q4, for each subject . ID TERMS id1 Q1 id1 Q1 id1 Q2 id1 Q3 id1 Q4 id1 Q4 id2 Q1 id2 Q1 id2 Q2 id3 Q4 I want them like: Id Terms id1 Q1 Q2 Q3 Q4 id2 Q1 Q2 id3 Q4 I need a basic array code, here what I drafted does not give the output I need. data new; set old; array T(4) TermsQ1-TermsQ4 Do i=1 to 4; end; Any advice? This is a simple array but the out put is not what I wanted.
... View more