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

Explain translate function?

1256


Mention sas system options to debug sas macros.

1236


what are the softwares and applications that are used most frequently used by sas bi applications developers? : Sas-bi

1061


What are the implications?

1785


what is the Population you used in your project, is it ITT or PP?

2801


What is the length assigned to the target variable by the scan function?

1204


How does the internal authentication work in sas? : sas-grid-administration

1168


do you prefer proc report or proc tabulate? Why? : Sas programming

1031


Did you used proc test? when?

2088


what is program data vector? : Sas-administrator

1124


How would you identify a macro variable? : sas-macro

1064


Enlist the syntax rules followed in sas statements.

1127


How we can call macros with in data step? : sas-macro

1176


what is information maps?

2280


Explain the main difference between the sas procedures and functions? : Sas-administrator

1112