How would you keep from overlaying the a SAS set with its
sorted version?

Answers were Sorted based on User's Feedback



How would you keep from overlaying the a SAS set with its sorted version?..

Answer / tangyoulei

proc sort data=*** out=###;
by;
run;

Is This Answer Correct ?    5 Yes 0 No

How would you keep from overlaying the a SAS set with its sorted version?..

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

How would you keep from overlaying the a SAS set with its sorted version?..

Answer / siri

keep a new dataset name to the sorted version.

Is This Answer Correct ?    1 Yes 0 No

How would you keep from overlaying the a SAS set with its sorted version?..

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

Post New Answer

More SAS Interview Questions

What is LOGICAL VARIABLES in SAS.And how it can be used..Can anyone support..???

3 Answers  


how does sas handle missing values in sort order? : Sas programming

0 Answers  


how to write code for left outer join in SAs using datastep?

8 Answers   CitiGroup,


Are you involved in writing the inferential analysis plan? Tables specfications?

0 Answers  


Which are the statements whose placement in the data step is critical?

0 Answers  


What is the maximum length of the macro variable?

0 Answers  


What is the good sas programming practices for processing large data sets?

0 Answers  


what is the primary data source for the wrs? : Sas-bi

0 Answers  


what is _error_?

2 Answers   Axis Bank, Cognizant, JPMorgan Chase,


what is the use of proc contents and proc print in sas? : Sas-administrator

0 Answers  


Diff between proc sql merge and join?

1 Answers   HSBC, Sristek,


What is factor analysis?

0 Answers  


Categories