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 dominic

Before saying answer is not correct, please try this
Data f;
do i=1 to 200;
output;
end;
run;

Proc Sql;
Select *,monotonic ()as c from f
group by i having c in (100,150,180,190);
quit;

Proc print;
run;

Is This Answer Correct ?    15 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How would you define the end of a macro?

1145


What is proc sort?

1305


in the flow of data step processing, what is the first action in a typical data step? : Sas programming

1110


what are _numeric_ and _character_ and what do they do? : Sas programming

1192


What are the different versions of sas that you have used until now? : sas-grid-administration

1389


what is sas application server? : Sas-di

1135


If you use a symput in a data step, when and where can you use the macro variable? : sas-macro

1136


Describe what are the different levels of administrative users in sas? : sas-grid-administration

1082


Explain the purpose of retain statement.

1105


what can you learn from the sas log when debugging? : Sas programming

1140


what is sas olap server? : Sas-di

1293


what is the primary data source for the wrs? : Sas-bi

1332


What’s the difference between var b1 – b3 and var b1 — b3?

1437


How would you code a macro statement to produce information on the sas log? This statement can be coded anywhere? : sas-macro

1102


what do the pad and dim functions do? : Sas programming

1072