I assume you mean q1,q2,q3 are 3 questions, with categoric values disagree, agree or stronly.
1.create 3 new variable to represent your category for q1,q2,q3. sicne there are only 3 categories, you may use agree='100',disagree='010',strongly='001'.
2.use proc transpose to get a verticle layout of the original data, for the 3 new variables.
3.parse new values into 3 category vars, ie. agree, disagree, strongly, eg. by using substr.