How would you keep from overlaying the a SAS set with its
sorted version?
Answers were Sorted based on User's Feedback
Answer / hsong001
I agree that we can use the out= options in proc sort to
create a new data set for the sorted version. However,
sometimes we just forgot it. To prevent overwritten the
original data set that in a permanent library, we can specify:
options noreplace;
This will prevent accidentally overlaying the original data
set in case out= option is not specified.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / 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 |
sas implementing companies in pune implementing clinical projects if anyone knows plz send ans immediately
what is scheduling and how will u implement it. In scheduling 5 jobs r running if there is an error occured at 3rd job and how will u check and waht necessary steps will u take not to repeat the same mistake
Hi All.I am looking for Good Institute who could Provide the online SAS BI+DI Training along with software.Primarily in Delhi/NCR or in Hyderabad Please help with name and contact number of concerned person!! Thanks in Advance! :)
what are validation tools that are used in sas? : Sas-administrator
In which format does Date stores in sas..? What is the use of DATE in SAS.?
For what purposes have you used sas macros? : sas-macro
what is SAS OPTIMIZATION?
What is the order of evaluation of the following operators + - * / ** () ???
how to rearrange the data as our wish by using dataset block?
how can you put a "trace" in your program? : 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?
What are the joins,types of joins and thier functions?