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

how do i get last 10obs from a dataset when we don't know
about the number of obsevations in that dataset?

Answer Posted / its me

Shiva, ur answer is also correct . and here goes another
one dear..

data W;
set X;
if _n_ > 95 then output;
run;


As the total no. of obs are 100, the last five observations
will be be in ur output dataset..
Cheers!!!

Is This Answer Correct ?    1 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

why a stop statement is needed for the point= option on a set statement?

1086


explain the function of substr in sas? : Sas-administrator

1017


what is sas business intelligence? : Sas-bi

1184


how could you generate test data with no input data? : Sas programming

1195


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

3115


what is change analysis in sas di ? : Sas-di

1062


What would be the value of month at the end of data step execution and how many observations would be there?

1165


what is sas data set?

1109


What is the differnce between SDTM 3.1.2 to 3.1.1 version

5078


How substr function works in sas?

1228


i have a dataset with 100 obs i want to generate title from 20th obs onwards with total observations. that should contain 100 obs.dont use firstobs and dnt split the data. use dataset block or proc report? how can we genarate;

2495


What is slibref?

1287


What are the functions which are used for character handling functions?

1147


How to test the debugging in sas?

1184


What was the last computer book you purchased? Why?

2378