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

You have a data set of 100 observations,how can you
restrict the output so that the output has only data from
row no. 10 to row no. 20

Answer Posted / suri

output window

1)proc print data=ds1(firstobs=10 obs=2);
run;

2)data ds1;
set ds(firstobs=10 obs=20);
run;
3)data ds1;
set ds;
where _n_ in(10:20);
run;

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does the trace option do?

1114


Describe a time when you were really stuck on a problem and how you solved it?

2553


How would you determine the number of missing or nonmissing values in computations?

1072


Describe the function and untility of the most difficult SAS macro that you have written.

2110


Tell e how how dealt with..

2226


How would you define the end of a macro? : sas-macro

1095


What is a macro routine?

2729


I need level 2 to 5 sas using companies in india

2382


Do we follow ADAM in analysis dataset development?How? Usually which version? Why is it necessary?

2414


Give e an example of..

2105


Did you used proc test? when?

2044


describe how to adjust the performance of data integrator? : Sas-di

1011


What is the difference between class statement and by statement in proc means?

1302


What are the automatic variables for macro? : sas-macro

1258


Mention sas system options to debug sas macros.

1177