There are 200 observations in a dataset, i want to pull out
the observation no's 100, 150,180,190 by using Proc SQL? How
you can get it?
Answer Posted / jim
* Setup test data;
data test;
do i=1 to 200;
j=ranuni(i);
output;
end;
run;
Proc Sql;
Select *,monotonic ()as c from test
having c in (100,150,180,190);
quit;
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
How do you convert basic cube to transaction cube and transaction cube to basic cube?
What is slibref?
Explain what is the use of proc gplot?
Differentiate between proc means and proc summary.
: and & modifiers.
what is sas metadata server? : Sas-di
what is information maps?
what is sas data set?
what is sas business intelligence? : Sas-bi
what is the purpose of _error_? : Sas programming
What is SAS? What are the functions does it performs?
What was the last computer book you purchased? Why?
What is interleaving in SAS?
What is the use of %include statement?
What are pdv and it functions?