Explain the message 'Merge has one or more datasets with
repeats of by variables'.
Answer Posted / vishal
if pid is the by variable in data1 and data2
and if pid 101 have 2 or more obs in both dataset then
this warning occur
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the difference between INPUT and INFILE ?
explain about various caches available in data integrator? : Sas-di
What is the role of unrestrictive users? : sas-grid-administration
what are the component of range? : Sas-bi
Tell e how how dealt with..
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 are the difficulties u faced while doing vital signs table or dataset?
what is the use of proc contents and proc print in sas? : Sas-administrator
What is the work of tranwrd function?
What are the difference between sas functions and procedures?
What is the difference between the proc sql and data step?
What are the statements that are executed only?
: and & modifiers.
Are you sensitive to code walk-throughs peer review or QC review?
What are the default statistics for means procedure?