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
What is a put statement?
What is the purpose of _character_ and _numeric_?
What are the difficulties u faced while doing vital signs table or dataset?
How to create a permanent sas data set?
Explain the difference between using drop = data set option in set and data statement?
what is the limit of the number of the rows and columns available in the worksheet? : Sas-bi
What is the maximum and minimum length of macro variable
How would you identify a macro variable?
Can you execute macro within another macro? If so, how would sas know where the current macro ended and the new one began? : sas-macro
How do dates work in sas?
How would you define the end of a macro? : sas-macro
Hi, Does anybody has lastest SAS certification(base, adv., clinical)dumps,if anybody has please email me at mailtorajani76@gmail.com. Thanks
explain the main difference between the nodup and nodupkey options? : Sas-administrator
Are you sensitive to code walk-throughs peer review or QC review?
How does proc sql work?