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 syntax of proc merge ?

Answer Posted / neel

proc sort data=ds1;
by var1;
proc sort data=ds2;
by var1;
run;

*from both datasets only matching data;
data match_merge;
merge ds1(in=a) ds2(in=b);
by var1;
if a and b;
run;

Is This Answer Correct ?    15 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between input and infile statement?

1225


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

1195


I have a dataset concat having variable a b & c. How to rename a b to e & f?

1077


how to generate the test data in sas without input data? : Sas-administrator

1176


Which function is used to count the number of intervals between two sas dates?

1192


Mention what is PROC in SAS?

1111


What is the good sas programming practices for processing large data sets?

1178


What are the new features included in the new version of SAS Programming Language?

1249


why is a stop statement needed for the point=option on a set statement? : Sas programming

1131


Explain the difference between using drop = data set option in set and data statement?

1193


what is the use of proc contents and proc print in sas? : Sas-administrator

1103


What is the use of %include statement?

1103


How would you code a merge that will write the matches of both to one data set, the non-matches from the left-most data?

1155


What are the features of SAS?

1077


which date functions advances a date time or date/time value by a given interval? : Sas programming

1006