what is the difference between SET and MERGE?
Answer Posted / pratik
Set statments are used to copy the data from existing
database to new database.
where merge is used to join two dataset and both should
have common varaible and same number of observation.
IN mearging we have two type one is
Vertically-we have three process concate,interleaving and
append.
in concate and interleaving we use set option.
Horazentally-we use Merge option.
| Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
I have a dataset concat having a variable a b & c. How to rename a b to e & f?
Describe what are the different levels of administrative users in sas? : sas-grid-administration
Can you execute macro within another macro? : sas-macro
How will you react when, while consulting a SAS documentation manual to get an answer to a problem, someone says hey, I thought you were supposed to know all that stuff already, and not have to look it up in a book?
what type of graphs we will create(for 2+years candidates)?
What are the default statistics for means procedure?
What are the default statistics that proc means produce?
If you could design your ideal job, what would it look like?
What is the difference between the proc sql and data step?
what is the Population you used in your project, is it ITT or PP?
it will become easy if uuu provide website linkssss and list of consultanciessssss
What are the 3 components in sas programming?
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 proc print, and proc contents are used for?
explain the use of % includes a statement in sas? : Sas-administrator