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 / suri
output window
1)proc print data=ds1(firstobs=10 obs=2);
run;
2)data ds1;
set ds(firstobs=10 obs=20);
run;
3)data ds1;
set ds;
where _n_ in(10:20);
run;
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What does the trace option do?
Describe a time when you were really stuck on a problem and how you solved it?
How would you determine the number of missing or nonmissing values in computations?
Describe the function and untility of the most difficult SAS macro that you have written.
Tell e how how dealt with..
How would you define the end of a macro? : sas-macro
What is a macro routine?
I need level 2 to 5 sas using companies in india
Do we follow ADAM in analysis dataset development?How? Usually which version? Why is it necessary?
Give e an example of..
Did you used proc test? when?
describe how to adjust the performance of data integrator? : Sas-di
What is the difference between class statement and by statement in proc means?
What are the automatic variables for macro? : sas-macro
Mention sas system options to debug sas macros.