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 |
What is the difference between an informat and a format. Name three informats or formats.
what is sas and what are the functions? : Sas-administrator
what do the pad and dim functions do? : Sas programming
What is the role of administrative users? : sas-grid-administration
What is the size of PDV?
What is the difference between verification and validation?
How necessary is it to be creative in your work?
How to find out no. of business days in a month using macros.???(excluding weekends and holidays).
How to import the Zip files into SAS? If it is possible in SAS? If it is posible write the code...
Hi,by usining ptf how we have to combine (likr merge)10 datasets at a time in the oracle database(and write a macro code also)?Like this i have a douts a lot if you dont mind may please send one text mail for me(madhusudhanap16@gmail.com)?
do you need to know if there are any missing values? : Sas programming
Write a SAS macro to calculate number of numbers in an email address