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

name the scheduler for scheduling job and explain the scheduler? : Sas-di

1092


What do you know about sas and what we do? : sas-grid-administration

1234


What is the difference between input and infile statement?

1224


Approximately what date is represented by the SAS date value of 730?

1269


Name few SAS functions?

1143


Explain the difference between using drop = data set option in set and data statement?

1192


For clinical entire study how many tables will create approx?

2018


What is PDV?

1204


What is SAS informats?

1160


What does PROC print, and PROC contents do?

1275


what is the function of catx syntax? : Sas-administrator

1152


what is PhaseIII, ODS, TLG, Macro and Proc in SAS

4591


In proc transpose and data step with arrays which one you pick?

3171


How to include or exclude specific variables in a data set?

1163


This entry was posted in General. Bookmark the permalink. Post a comment or leave

4623