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
how does sas handle missing values in a merge? : Sas programming
Mention the difference between ceil and floor functions in sas?
what is function of retain statment
what are several options for creating reports in web report studio? : Sas-bi
What are the difference between the sas data step and sas procs?
which date functions advances a date time or date/time value by a given interval? : Sas programming
what is ae onset date n what is RDS
What is the differnce between SDTM 3.1.2 to 3.1.1 version
How we can call macros with in data step? : sas-macro
If money were no object, what would you like to do?
What does the RUN statement do?
Do you need to know if there are any missing values?
Explain the use of proc gplot? : sas-grid-administration
Explain the purpose of substr functions in sas programming.
for what purpose would you use the retain statement? : Sas programming