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
Hi Friends, Am Priya,new to your forum. am looking for Interview questions on SAS Platform Administration. I searched everywhere but I couldn't find them,please can anyone help me with complete interview questions normally everyone will face in the interviews on SAS Administration. am really facing problems in the interviews,am not able to answer any of their questions. I would really appreciate all your help if you can email the complete Interview Questions to priyafeb84@gmail.com Kindly awaiting for your reply with eager
List down the reasons for choosing sas over other data analytics tools.
What is proc sort?
what are several options for creating reports in web report studio? : Sas-bi
What is the use of function Proc summary?
What are all the problems you faced while validating tables and reports?
What are the new features included in the new version of SAS Programming Language?
What do the mod and int function do? : Sas programming
Explain the difference between using drop = data set option in set and data statement?
Describe the function and untility of the most difficult SAS macro that you have written.
What areas of SAS are you most interested in?
Describe what are the different levels of administrative users in sas? : sas-grid-administration
Give some examples where proc report’s defaults are different than proc print’s defaults?
how to remove duplicates using proc sql?
What is the use of divide function?