Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

One way of creating a new variable in Macros is by % Let....What is the other way..?

5 Answers   TCS,


Differentiate input and infile.

0 Answers  


How will you react when, while consulting a SAS documentation manual to get an answer to a problem, someone says hey, I thought you were supposed to know all that stuff already, and not have to look it up in a book?

0 Answers   Oracle,


How would you code a merge that will keep only the observations that have matches from both sets?

5 Answers  


what is broad cast agent? : Sas-bi

0 Answers  


what is sas business intelligence? : Sas-bi

0 Answers  


i have multiple .csv files in a unix directory. every file is having variable names as header.even for empty file also. suppose take 3 files a.csv b.csv c.csv a.csv contains data as name;age,salary; raja;34;4000; ravi;33;5000; kumar;25;3000; b.csv contains data as name;age,salary; ajay;40;4500; and c.csv contains name;age,salary; (only headers) Now i want to import and append all these files in to a single dataset. i tried infile statement with *.csv to import all at a time. but i m not getting correct data. please help me . its urgent. thank you in advance

2 Answers   Tech Mahindra,


SAS using companies in chennai

1 Answers  


how many types of MERGE?

17 Answers   CitiGroup,


how could you generate test data with no input data? : Sas programming

0 Answers  


Explain append procedure?

0 Answers  


what are 5 ways to perform a table lookup in sas? : Sas-administrator

0 Answers  


Categories