how to shift the rows to cols?
eg:
i have like
field1 field2 field3
10 20 20
this should be displayed as
field1 10
field2 20
field3 30
(without the obs col)

how do this?can i use transpose or tell me suitable way to
do this?

Answer Posted / luclyl

proc transpose data=hyd out=mum (drop=_NAME_);
var a b c;
run;

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are symget and symput? : sas-macro

733


What are the different versions of sas that you have used until now? : sas-grid-administration

733


what is broad cast agent? : Sas-bi

595


What is proc sort?

719


How do dates work in sas?

645






what versions of sas have you used (on which platforms)? : Sas programming

584


How do you debug and test your SAS programs?

1048


what is program data vector? : Sas-administrator

614


what are some differences between proc summary and proc means? : Sas programming

507


What is Linear Regression?

687


How we can call macros with in data step? : sas-macro

617


Differentiate between format and informat? : sas-grid-administration

580


how can you create zero observation dataset? : Sas programming

639


Can you execute macro within another macro? : sas-macro

530


For clinical entire study how many tables will create approx?

1520