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 / vipin choudhary
Proc Sql;
Select * from <dataset name>
where _n_ in (100,150,180,190);
quit;
| Is This Answer Correct ? | 12 Yes | 29 No |
Post New Answer View All Answers
what is proc Index? and what is proc document?
What are the uses of sas?
What is proc sort?
What are the different servers in sas? : sas-grid-administration
What does the trace option do?
What was the last computer book you purchased? Why?
what is data integration? : Sas-di
What do you know about symput and symget?
how can you create zero observation dataset? : Sas programming
which date functions advances a date time or date/time value by a given interval? : Sas programming
What would be the value of month at the end of data step execution and how many observations would be there?
what is sas enterprise intelligence architecture? : Sas-bi
what are informats in sas? : Sas-administrator
Mention few capabilities of sas framework.
In proc transpose and data step with arrays which one you pick?