i have a data set with 20 observations i want label from
8 to 15 observations ? how you create this one.
Answer Posted / krishna
data class;
set sashelp.class(firstobs=8 obs=15);
label name='surname';
run;
| Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
How to read an input file in sas?
where are dashboard components are created and maintained? : Sas-bi
Mention some common errors that are usually committed in sas programming.
Difference between sum function and using “+” operator?
What is a method to debug and test your SAS program?
How would you identify a macro variable?
Give some examples where proc report’s defaults are same as proc print’s defaults?
what is treatment emergent events and treatment emregent adverse event
Explain what is SAS informats?
What is the difference between match merge and one to one merge?
Explain the use of proc gplot? : sas-grid-administration
explain the difference between alternate key, business key, foreign key, generated key, primary key, retained key and surrogate key ? : Sas-di
How would you code a merge that will write the matches of both to one data set, the non-matches from the left-most data?
i have a dataset with 100 obs i want to generate title from 20th obs onwards with total observations. that should contain 100 obs.dont use firstobs and dnt split the data. use dataset block or proc report? how can we genarate;
What is the role of unrestrictive users? : sas-grid-administration