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 / harshal r

data air;
set sashelp.air nobs=tot;
if _n_ gt( tot-10) then output;
run;

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the 3 components in sas programming?

1238


What function CATX syntax does?

1258


what is enterprise guide? What is the use of it? : Sas programming

1066


explain the difference between alternate key, business key, foreign key, generated key, primary key, retained key and surrogate key ? : Sas-di

1142


In ARRAY processing, what does the DIM function do?

1231


what are the scrubbing procedures in sas? : Sas programming

1323


what are some problems you might encounter in processing missing values? In data steps? Arithmetic? Comparisons? Functions? Classifying data? : Sas programming

1294


What is the role of administrative users? : sas-grid-administration

1136


what are some good sas programming practices for processing very large data sets? : Sas programming

973


For a user to have access to a standard workspace server, is internal authentication alone is sufficient? : sas-grid-administration

1059


where are dashboard components are created and maintained? : Sas-bi

1058


What do the mod and int function do? : Sas programming

1305


Explain by-group processing?

1039


Why and when do you use proc sql?

1286


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

1168