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

explain about various caches available in data integrator? : Sas-di

1014


why is sas considered self-documenting? : Sas programming

1096


Where do you use proc means over proc freq?

1076


Explain substr function?

1049


name some data transformation used in sas di? : Sas-di

928


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

1045


Tell me about % include and % eval? : sas-macro

1112


if the Id has more then two transcatiion then show the first observation, IF Id has only two observation then It show both the observation

1577


What is the difference between reading data from an external file and reading data from an existing data set?

1140


Differentiate between format and informat? : sas-grid-administration

1023


In ARRAY processing, what does the DIM function do?

1128


Explain translate function?

1151


Mention the category in which sas informats are placed?

986


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

1058


How do dates work in SAS data?

1140