Code a PROC SORT on a data set containing State, District
and County as the primary variables, along with several
numeric variables?
Answer Posted / sassss
THE PREVIOUS ANSWER IS WRONG; THE SYNTAX OF PROC SORT IS AS
FOLLOWS
PROC SORT DATA=<DNAME>;
BY <VARNAME/S>;
RUN;
HENCE THE CORRECT ANSWER TO THE QUESTION IS:
proc sort data=x;
BY state district county;
run;
| Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
What is substr function?
Which date function advances a date, time or datetime value by a given interval?
what are informats in sas? : Sas-administrator
How would you identify a macro variable? : sas-macro
what versions of sas have you used (on which platforms)? : Sas programming
Explain the difference between informat and format with an example.
What is PROC in SAS?
which date function advances a date, time or datetime value by a given interval? : Sas programming
how are numeric and character missing values represented internally? : Sas programming
Name types of category in which SAS Informats are placed?
Difference between informat and format?
Give some examples where proc report’s defaults are different than proc print’s defaults?
Explain by-group processing?
Explain the use of proc print and proc contents?
i have a dataset with 100 obs i want to generate title from 20th obs onwards with total observations. that should contain 100 obs.dont use firstobs and dnt split the data. use dataset block or proc report? how can we genarate;