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 / guest
you can also use arrays to shift rows into columns.
Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
How can you limit the variables written to output dataset in data step?
I am preparing SAS Certified Advanced Programmer for SAS 9 in 2014. If anybody has the latest dumps for this exam, please mail me at dhiman.mukherjee@gmail.com
explain the concepts and capabilities of business object? : Sas-bi
What are the different operating system platforms in which we can use sas? : sas-grid-administration
what techniques and/or procs do you use for tables? : Sas programming
Explain bmdp procedure?
what are the benefits of data integration? : Sas-di
what are the considerations when picking a SAS/STAT procedure?
Explain what is the use of proc gplot?
Describe the function and utility of the most difficult SAS macro that you have written?
how the sas basic syntax style described? : Sas-administrator
What can you learn from the SAS log when debugging?
describe about metadata object? : Sas-di
Mention some common errors that are usually committed in sas programming.
If you need the value of a variable rather than the variable itself what would you use to load the value to a macro variable? : sas-macro