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
name the scheduler for scheduling job and explain the scheduler? : Sas-di
What do you know about sas and what we do? : sas-grid-administration
What is the difference between input and infile statement?
Approximately what date is represented by the SAS date value of 730?
Name few SAS functions?
Explain the difference between using drop = data set option in set and data statement?
For clinical entire study how many tables will create approx?
What is PDV?
What is SAS informats?
What does PROC print, and PROC contents do?
what is the function of catx syntax? : Sas-administrator
what is PhaseIII, ODS, TLG, Macro and Proc in SAS
In proc transpose and data step with arrays which one you pick?
How to include or exclude specific variables in a data set?
This entry was posted in General. Bookmark the permalink. Post a comment or leave