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 set to a second data set, and the non-matches of the
right-most data set to a third data set.
Answer Posted / padma
The above proc sql is not working. it is throwing up error.
Please verify. If anybody give proc sql code for the above
question that would be great.
padma
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Why double trailing @@ is used in input statement?
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.
Mention the difference between ceil and floor functions in sas?
what is the limit of the number of the rows and columns available in the worksheet? : Sas-bi
Mention the validation tools used in SAS?
what is the use of sas management console? : Sas-di
Tell me about % include and % eval? : sas-macro
How long can a macro variable be? A token? : sas-macro
What are the data types that sas contain?
what is the difference between floor and ceil functions in sas? : Sas-administrator
How do you test for missing values?
How do you delete duplicate observations in sas?
In SAS explain which statement does not perform automatic conversions in comparisons?
: and & modifiers.
Hi, Does anybody has lastest SAS certification(base, adv., clinical)dumps,if anybody has please email me at mailtorajani76@gmail.com. Thanks