How would you keep from overlaying the a SAS set with its
sorted version?
Answer Posted / ganesh
first create the dataset by giving some name after that
sort the data by specifying out option by giving new
dataset name. The dataset can be sorter either ascending or
descending by default it going to be an ascending.
Data god;
input name no sal;
datalines;
ab 12 3500
bc 13 4500
;
run;
proc sort data=god out=man;
by name;
run;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the basic structure of a sas program?
How we can create SAS USER DEFINED CODE?
What is the role of sas grid administrator? : sas-grid-administration
What is the good sas programming practices for processing large data sets?
What is the difference between using drop = data set option in data statement and set statement?
What are the implications?
Mention common programming errors committed in sas ?
Tell e how how dealt with..
If you use a symput in a data step, when and where can you use the macro variable? : sas-macro
Do we follow ADAM in analysis dataset development?How? Usually which version? Why is it necessary?
what is transformation in sas data integration? : Sas-di
how to change the execute of macro
What is Linear Regression?
I need level 2 to 5 sas using companies in india
What is the use of %include statement?