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
Can you explain the process of calendar?
How would you code a merge that will write the matches of both to one data set, the non-matches from the left-most data?
if you were told to create many records from one record, show how you would do this using array and with proc transpose? : Sas programming
Explain the main difference between the sas procedures and functions? : Sas-administrator
What are the automatic variables for macro? : sas-macro
what is data access? : Sas-di
Hi Jeevan/Akshara I have tried to contact SASI Vats for latest Advanced SAS Programming Certification Dumps (A00-212) but have not got any response. I would highly and gratefully appreciate your assistance in this regard. If you guys have access to this, would you be kind enough to forward it to me ? I would abide by all the terms you have for this. Please, note my email id: upretigopi@yahoo.com Preti Sharma
what is intially documentation in sas?
What is the difference between using drop = data set option in data statement and set statement?
what is sas and what are the functions? : Sas-administrator
What is the role of sas grid administrator? : sas-grid-administration
how do the in= variables improve the capability of a merge? : Sas programming
What is connection profile? : sas-grid-administration
Do you need to compute new variables? If so,should you do this before you execute the report-writing procedure?
What are the data types does SAS contain?