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 specfications?
In sas admin differentiate between roles and capabilities? : sas-grid-administration
What is the length assigned to the target variable by the scan function?
what is change analysis in sas di ? : Sas-di
How we can call macros with in data step? : sas-macro
How is character variable converted into numeric variable and vice versa?
For what purposes have you used sas macros? : sas-macro
What do you know about sas and what we do? : sas-grid-administration
Mention what is SAS data set?
how many types prompting framework can be broken down to? : Sas-bi
how to read the variables in sas? : Sas-administrator
Mention sas system options to debug sas macros.
how do the in= variables improve the capability of a merge? : Sas programming
what is data integration? : Sas-di
What does PROC print, and PROC contents do?