In the SAS Data step what is the difference between the
subsetting done by Where and subsetting done by If?
Answer Posted / s.s.suresh
WHERE Statement can be only be used with variables in the
existing dataset where as IF statement can also be used raw
data as well
Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
What are the statements in proc sql?
What are SAS/ACCESS and SAS/CONNECT?
what is the difference between infile and input? : Sas-administrator
What are the difference between sas functions and procedures?
what are the categories that sas informats are used to the place the data? : Sas-administrator
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 does proc print, and proc contents are used for?
hi here is a problem can anybody solve this? i want to report the data through third party file. by using data _null_ or proc report or macro automation process. but i want to insert the 'titles and footnotes' in between the data and also starting of 2nd and ending of 2nd and starting of 3rd and ending of the 3rd page. tell me how and write the code?
what is sas enterprise intelligence architecture? : Sas-bi
Differentiate input and infile.
What is slibref?
What are the difficulties u faced while doing vital signs table or dataset?
What is the difference between match merge and one to one merge?
Explain proc sort?
what is the use of proc sql? : Sas programming