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 do the mod and int function do? What do the pad and dim functions do? : Sas programming
How to sort in descending order?
what is metadata? : Sas-bi
what are validation tools that are used in sas? : Sas-administrator
what are some good sas programming practices for processing very large data sets? : Sas programming
Give an example where SAS fails to convert character value to numeric value automatically?
how will you locate the sas platform applications? : Sas-bi
What are the table names in oracle database...?
Explain by-group processing?
What do the PUT and INPUT functions do?
Explain the special input delimiters used in sas programming.
Name few SAS functions?
What are the data types does SAS contain?
if the Id has more then two transcatiion then show the first observation, IF Id has only two observation then It show both the observation
what are input dataset and output dataset options? : Sas programming