What is the difference between reading data from an external file and reading data from an existing data set?
No Answer is Posted For this Question
Be the First to Post Answer
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.
Describe the ways in which you can create a macro variable?
is there any difference between proc summary and proc means?
describe the interaction table in sas di? : Sas-di
What is _n_?
How do you add a number to a macro variable?
Give an example where SAS fails to convert character value to numeric value automatically?
What is substr function?
I need level 2 to 5 sas using companies in india
data voter; input Age Party : $1. (Ques1-Ques4)($1. + 1); datalines; 23 D 1 1 2 2 45 R 5 5 4 1 67 D 2 4 3 3 39 R 4 4 4 4 19 D 2 1 2 1 75 D 3 3 2 3 57 R 4 3 4 4 ; Idont understand what the (Ques1-Ques4)($1. + 1) means. I have seen (Ques1-Ques4)(4*$1.), but what is (Ques1-Ques4)($1. + 1)? Appreciate all help Thanks
What do the mod and int function do? : Sas programming
When looking for data contained in a character string of 150 bytes, which function is the best to locate that data: scan, index, or indexc?