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
What are the 3 components in sas programming?
What function CATX syntax does?
what is enterprise guide? What is the use of it? : Sas programming
explain the difference between alternate key, business key, foreign key, generated key, primary key, retained key and surrogate key ? : Sas-di
In ARRAY processing, what does the DIM function do?
what are the scrubbing procedures in sas? : Sas programming
what are some problems you might encounter in processing missing values? In data steps? Arithmetic? Comparisons? Functions? Classifying data? : Sas programming
What is the role of administrative users? : sas-grid-administration
what are some good sas programming practices for processing very large data sets? : Sas programming
For a user to have access to a standard workspace server, is internal authentication alone is sufficient? : sas-grid-administration
where are dashboard components are created and maintained? : Sas-bi
What do the mod and int function do? : Sas programming
Explain by-group processing?
Why and when do you use proc sql?
How does the internal authentication work in sas? : sas-grid-administration