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...

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 / limnesh

Proc Sql;
Select *,monotonic ()as c from <datasetname>
group by a having c in (100,150,180,190);
quit;

Is This Answer Correct ?    20 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is proc sort?

1305


How many ways to overcome a missing values???

2865


How substr function works in sas?

1271


What is the basic syntax of a sas program?

1261


what is scheduling and how will u implement it. In scheduling 5 jobs r running if there is an error occured at 3rd job and how will u check and waht necessary steps will u take not to repeat the same mistake

2419


In sas admin differentiate between roles and capabilities? : sas-grid-administration

1050


where are dashboard components are created and maintained? : Sas-bi

1058


what is factor analysis? : Sas-administrator

1144


what is intially documentation in sas?

5125


Can you execute macro within another macro? : sas-macro

1047


describe the interaction table in sas di? : Sas-di

1072


: and & modifiers.

1445


How to read an input file in sas?

1191


How can you limit the variables written to output dataset in data step?

1374


What are the difference between sas functions and procedures?

1201