what is the difference between SET and MERGE?

Answer Posted / mallikarjuna reddy

set statement joins two datasets vertically, like set
operators in PROC SQL and proc append. merge statements
joins 2 datasets horizontally, like joins in PROC SQL.

Is This Answer Correct ?    34 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create list output for cross-tabulations in proc freq?

721


how many display types available in sas bi dashboard? : Sas-bi

725


Explain the purpose of substr functions in sas programming.

671


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 is interleaving in SAS?

768






I am preparing SAS Certified Advanced Programmer for SAS 9 in 2014. If anybody has the latest dumps for this exam, please mail me at dhiman.mukherjee@gmail.com

2363


What is the difference between where and if statement?

718


what is data access? : Sas-di

744


What is the difference between input and infile statement?

774


What are the data types that sas contain?

769


What is SAS informats?

732


Which date function advances a date, time or datetime value by a given interval?

763


Give some examples where proc report’s defaults are same as proc print’s defaults?

764


What are the automatic variables for macro? : sas-macro

765


what is factor analysis? : Sas-administrator

722