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
why is a stop statement needed for the point=option on a set statement? : Sas programming
how to change the execute of macro
Describe crosslist option in tables statement?
Define run-group processing?
Give some examples where proc report’s defaults are same as proc print’s defaults?
What are the difference between ceil and floor functions in sas?
what other sas products have you used and consider yourself proficient in using? : Sas programming
What is the basic structure of a sas program?
How to specify variables to be processed by the freq procedure?
what is sas metadata server? : Sas-di
Explain how merging helps to combine data sets.
describe about physical data integration? : Sas-di
What is slibref?
How would you define the end of a macro?
What are the best sas programming practices for handling very large datasets? : sas-grid-administration