what is the difference between SET and MERGE?
Answer Posted / pari
Set and merge statement perform similar function, in case
of set statement, the two data sets are merged under
unconditional criteria, but while using merge, it works
under conditional criteria by applying the PROC SORT
procedure ., i.e., by statement used.
Is This Answer Correct ? | 2 Yes | 7 No |
Post New Answer View All Answers
If you use a symput in a data step, when and where can you use the macro variable? : sas-macro
Which command is used to perform sorting in sas program?
what is change analysis in sas di ? : Sas-di
Describe the function and untility of the most difficult SAS macro that you have written.
what is the difference between: x=a+b+c+d; and x=sum (of a, b, c ,d);? : Sas programming
What is the SAS data set?
how does sas handle missing values in procs? : Sas programming
Describe what are the different levels of administrative users in sas? : sas-grid-administration
how can you put a "trace" in your program? : Sas programming
how do you pull data from equifax?tell me the process?
Describe the function and untility of the most difficult SAS macro that you have written.
How many data types are there in SAS?
What’s the difference between var b1 – b3 and var b1 — b3?
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 P-value signify about the statistical data?