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

how do you test for missing values? : Sas programming

1063


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

1071


What is the difference between input and infile statement?

1178


What are the default statistics for means procedure?

1259


how to debug and test the sas program? : Sas-administrator

1045


what has been your most common programming mistake? : Sas programming

1119


How is character variable converted into numeric variable and vice versa?

1183


for report generation which one you used proc report or data_null_?

7806


What are the automatic variables for macro? : sas-macro

1264


how does sas handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, procs? : Sas programming

1041


how do the in= variables improve the capability of a merge? : Sas programming

1441


How would you code a macro statement to produce information on the sas log? This statement can be coded anywhere? : sas-macro

1054


Define run-group processing?

1047


Where do you use proc means over proc freq?

1129


What do you know about sas data set?

1126