You have a data set of 100 observations,how can you
restrict the output so that the output has only data from
row no. 10 to row no. 20
Answer Posted / monika
Data test;
input a 8. @@;
datalines;
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
;
run;
Data Result;
Set test(firstobs=10 obs=20);
Run;
Proc print data = Result;
Run;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Are you involved in writing the inferential analysis plan? Tables specifications?
What is the maximum length of the macro variable? : sas-macro
how does sas handle missing values in assignment statements? : Sas programming
What are the ways to do a “table lookup” in sas?
why is a stop statement needed for the point=option on a set statement? : Sas programming
What are common programming errors committed in sas
how sas deals with business intelligence? : Sas-bi
How do you control the number of observations and/or variables read or written?
Mention what are the data types does SAS contain?
What is the use of stop statement?
What are the new features included in the new version of SAS Programming Language?
What are SAS/ACCESS and SAS/CONNECT?
which features do you use to check the data validations and errors? : Sas-administrator
Mention common programming errors committed in sas ?
what is change analysis in sas di ? : Sas-di