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
Describe a time when you were really stuck on a problem and how you solved it?
What does proc print, and proc contents are used for?
What would you change about your job?
How can you limit the variables written to output dataset in data step?
Name some categories in sas 9? : sas-grid-administration
What Proc glm does?
Hello Friends, am new to this forum and am not good at sas progarmming. please can any one of you send me couple of sample large sample SAS Jobs which can you use 200 MB of data and other sas job upto 25GB of data. am doing a performance testing on our legacy systems and new upgraded system. I would really appreciate if you can do me this favor Thank you Priya
Mention how to limit decimal places for the variable using proc means?
how many types prompting framework can be broken down to? : Sas-bi
Briefly explain input and put function?
What is the maximum and minimum length of macro variable
For what purpose would you use the RETAIN statement?
What is the length assigned to the target variable by the scan function?
Approximately what date is represented by the SAS date value of 730?
What is the use of the %include statement?