How would you code the criteria to restrict the output to be
produced?

Answer Posted / dupe

Various datestep options, can be use to restrict number of
observations
obs=;
firstobs=;
point=obsnum

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is hierarchy flattening? : Sas-di

622


how do you want missing values handled? : Sas programming

538


Briefly explain input and put function?

638


what is factor analysis? : Sas-administrator

617


What is a method to debug and test your SAS program?

726






Explain the use of proc gplot? : sas-grid-administration

556


how do you debug and test your sas programs? : Sas programming

567


What are the ways to do a “table lookup” in sas?

595


how to debug and test the sas program? : Sas-administrator

574


what is the use of sas management console? : Sas-di

615


What is data _null_?

701


what are 5 ways to perform a table lookup in sas? : Sas-administrator

772


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.

1803


what is intially documentation in sas?

4335


What are the different servers in sas? : sas-grid-administration

605