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


Please Help Members By Posting Answers For Below Questions

If you use a symput in a data step, when and where can you use the macro variable? : sas-macro

701


Which command is used to perform sorting in sas program?

676


what is change analysis in sas di ? : Sas-di

686


Describe the function and untility of the most difficult SAS macro that you have written.

1680


what is the difference between: x=a+b+c+d; and x=sum (of a, b, c ,d);? : Sas programming

719






What is the SAS data set?

772


how does sas handle missing values in procs? : Sas programming

744


Describe what are the different levels of administrative users in sas? : sas-grid-administration

679


how can you put a "trace" in your program? : Sas programming

681


how do you pull data from equifax?tell me the process?

1466


Describe the function and untility of the most difficult SAS macro that you have written.

1813


How many data types are there in SAS?

727


What’s the difference between var b1 – b3 and var b1 — b3?

943


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.

1914


What does P-value signify about the statistical data?

971