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 / na
Options Firstobs=10 obs
=20;
Proc print data = xxx;
Run;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
data data1; input dt account; format dt date9.; cards; 1745 1230 1756 1120 1788 1130 1767 1240 ; data data2; input startdt enddt total; format startdt date9. enddt date9.; cards; 1657 1834 12300 1557 1758 16800 1789 1789 12300 1788 1345 12383 1899 1899 13250 ; proc sql; create table data3 as select * from data1 as x left join data2 as y on x.dt>=y.startdt and x.dt<=y.enddt; quit; Here, we are getting cartision product. But,I want left join report consisting of this program. It should not get duplicate values. you can modify the program also.
What is program data vector (pdv) and what are its functions?
it will become easy if uuu provide website linkssss and list of consultanciessssss
In proc transpose and data step with arrays which one you pick?
sas implementing companies in pune implementing clinical projects if anyone knows plz send ans immediately
explain the proc in sas? : Sas-administrator
What are the differences between proc means and proc summary?
why is sas data integration studio important? : Sas-di
Briefly explain input and put function?
What is PDV?
What makes sas stand out to be the best over other data analytics tools?
Explain how merging helps to combine data sets.
what is sas database server? : Sas-di
What is the use of function Proc summary?
what is the difference between calculating the 'mean' using the mean function and proc means? : Sas programming