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...


Do you need to combine data sets? How should you combine
data sets– MERGE or SET statements in DATA steps,PROC
APPEND,PROC SQL?

Answers were Sorted based on User's Feedback



Do you need to combine data sets? How should you combine data sets– MERGE or SET statements in DA..

Answer / ankit

it is depend upon my needs how to join these data set if we want to join data vertically then use set otherwise for horizontal i'll use merge.

Is This Answer Correct ?    4 Yes 0 No

Do you need to combine data sets? How should you combine data sets– MERGE or SET statements in DA..

Answer / charan araveti

Append/Set:
If you want to Add/Append data to Existed/Newly created
Dataset (With same variabls)

EX: you have DATA SETS Like JAN,FEB,MAR........,DEC.
and you want to create data set like "Sales_2010"
you have to use "SET/APPEND" Statements.

MERGE:
If you want add Existed variables to DataSet you have to use
Merge.
EX: If you 2 Dtasets of one person like Personal &
Professional and you want to all details in one dataset
means you have to use "Merge" with 'BY' Statement.

Is This Answer Correct ?    4 Yes 0 No

Do you need to combine data sets? How should you combine data sets– MERGE or SET statements in DA..

Answer / vimal

proc append is best to just combine two datasets.
it appends in bulk and without have to read and send to output. it just puts the dataset in data= to dataset in base=

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SAS Interview Questions

What is the sas data set? : sas-grid-administration

0 Answers  


how to generate means for every subject;

4 Answers   Mind Tree,


What is the function of Stop statement in a SAS Program?

0 Answers  


How to merge the data using merge statement and proc format? Is the result is same ?

2 Answers  


Name any two sas spawners? : sas-grid-administration

0 Answers  


How would you code a merge that will keep only the observations that have matches from both sets.

5 Answers   Accenture, Bank Of America,


Can Some one Explain How the Datasets from SAS can be loaded in to the MVS OS?

1 Answers   HCL,


How to convert .xls file into CSV format?

6 Answers   Quintiles,


1 new york 7,262,700 2 los angeles 3,259,340 3 philadelphia 1,642,900 how to read the above data using input statement consider the above data is in txt format externally u have to use infile and input statement.

9 Answers   Quintiles,


How to create an external dataset with sas code?

0 Answers  


What statement do you code to tell SAS that it is to write to an external file? What statement do you code to write the record to the file?

2 Answers   Accenture,


What are the table names in oracle database...?

0 Answers   HSBC,


Categories