Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is the difference between SET and MERGE?

Answers were Sorted based on User's Feedback



what is the difference between SET and MERGE?..

Answer / lavanya

the difference between set and merge is
set concatenates the data sets where as merge matches the
observations of the data sets.

Is This Answer Correct ?    62 Yes 4 No

what is the difference between SET and MERGE?..

Answer / 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

what is the difference between SET and MERGE?..

Answer / swetha

We use merge when we have information abouth the topic in
two or more datasets. So that by merging we get the
complete information about the topic in one dataset.It is
combining the data horizontally.

But we use set, when the datasets are mutually exclusive.
i.e. information in dataset A in not depending the
information in dataset B.It is combining the data
vertically.

Is This Answer Correct ?    24 Yes 0 No

what is the difference between SET and MERGE?..

Answer / ram

Set: Arrange the data one by one
merge: Arrange the data side by side
ex: set merge
id name age id name age
1 1 a 23
a
23

Is This Answer Correct ?    9 Yes 0 No

what is the difference between SET and MERGE?..

Answer / 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

what is the difference between SET and MERGE?..

Answer / ram

Methods of Combining Sas Datasets: Concatenation(set statment), Merge Statement:

Concatenating combines two or more SAS data sets, one after the other, into a single SAS data set.
- Use the SET statement in a DATA step to concatenate SAS data sets.
- Any number of SAS data sets can be read with a single SET statement.


Merging combines observations from two or more SAS data sets into a single observation in a new data set.

Is This Answer Correct ?    4 Yes 0 No

what is the difference between SET and MERGE?..

Answer / kithsiri

Data C;
Set A B;
run;
Concaternate A and B data sets and make c Data set. Then data of B data set is placed after data of A data set. If A has n1 number of observation and B set has n2 number of observation. Then C(new set has n1+n2 number of data)
Data C;
set A B;
By var1;
run;
If var1 variable is exist in both A and B data sets, in C data set rows are arrenged according to var1 variable(ascending order).
Data C;
merge A B;
By var1;
run;
Data are arrenged side by side if there are var1 in both data sets and match rows of both sets. If A data set is not matched with B then display records of A in left side and right side data is missing values. If B data is not matched with A then display records of B in right side and left side data is missing values. If there is same variable in both tables, observation of that variable of first table is replaced by observation of the same variable of second table when match observation of var1 in both tables.

Is This Answer Correct ?    3 Yes 0 No

what is the difference between SET and MERGE?..

Answer / prabhakar

Set statement reads observations from one or more sas data set.
Merge statement joins two or more sas data sets into singe observations.
(or)
Set statement reads observations from one sas data sets at a time and joins into one data set.
Merge statement reads observations from one or more sas data sets simultaneously and joins into one data set.

Is This Answer Correct ?    2 Yes 0 No

what is the difference between SET and MERGE?..

Answer / kumaraswamy maduri

Answer 4 is the perfect one.

Is This Answer Correct ?    1 Yes 0 No

what is the difference between SET and MERGE?..

Answer / pricil kurian

Practically adding different information to same records is
known as merging. While Adding same information to new
records is known as set.

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More SAS Interview Questions

How we will Developing new reports Using Data step programming and Macros ?

4 Answers  


Explain by-group processing?

0 Answers  


wat is sas? is a package or programming language?

4 Answers  


what is operational data and operational system? : Sas-di

0 Answers  


Do you need to compute new variables? If so,should you do this before you execute the report-writing procedure?

0 Answers  


what are some differences between proc summary and proc means? : Sas programming

0 Answers  


There is a field containing a date. It needs to be displayed in the format "ddmonyy" if it's before 1975, "dd mon ccyy" if it's after 1985, and as 'Disco Years' if it's between 1975 and 1985. How would you accomplish this in data step code? Using only PROC FORMAT

8 Answers   D&B,


How to display duplicate observations in data?

1 Answers  


One way of creating a new variable in Macros is by % Let....What is the other way..?

5 Answers   TCS,


What is by-group processing?

0 Answers  


do you need to know if there are any missing values? : Sas programming

0 Answers  


What is the difference between informat and format statement?

1 Answers  


Categories