what is syntax of proc merge ?

Answers were Sorted based on User's Feedback



what is syntax of proc merge ?..

Answer / marlene

There is no PROC MERGE. You can use a merge statement as
part of the data step.

Is This Answer Correct ?    46 Yes 6 No

what is syntax of proc merge ?..

Answer / mahesh goud.e

according to my knowledge there is no any syntax of proc
merge in sas. but merge statement statement of data step.

Is This Answer Correct ?    14 Yes 0 No

what is syntax of proc merge ?..

Answer / mahesh

data dsn;
merge dsn1 dsn2;
by vari;
run;

Is This Answer Correct ?    17 Yes 5 No

what is syntax of proc merge ?..

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

what is syntax of proc merge ?..

Answer / krishna

there is no proc merge
we can do by dataset block
syntax:
proc sort data=<dataset name>;
by <var>;
run;

data ab;
merge a b;
run;

Is This Answer Correct ?    3 Yes 1 No

what is syntax of proc merge ?..

Answer / naveen

proc merge syntex, which is
use to combind data set,

data xyz;
merge a(in=x) b(in=y);
if a x and y;
run;

Is This Answer Correct ?    1 Yes 0 No

what is syntax of proc merge ?..

Answer / sowjanya

data one;
merge three(in=var1) two(in=var2);
by var;
if var1=1 and var2=1;
run;

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More SAS Interview Questions

Do you know the features of sas?

0 Answers  


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

0 Answers  


what is sas business intelligence? : Sas-bi

0 Answers  


what is study design in while working with SAS? what are screening variables in SAS?

0 Answers   MSCR,


why is sas considered self-documenting? : Sas programming

0 Answers  


how can you improve the performance of a query, If it is excuting very slowly?

2 Answers   Zensar,


What is the maximum length of the macro variable?

0 Answers  


How will you assign all the variables of an dataset into a macro variable separated by a space? For example if a dataset has variables A,B,C. Assign them to a macro variable X as X=A B C

3 Answers   Accenture, Oracle,


What are the different versions of sas that you have used until now? : sas-grid-administration

0 Answers  


What is difference between Global n Local Macro Variables..?

6 Answers   TCS,


What is the basic structure of the SAS base program?

0 Answers  


What is _n_?

22 Answers  


Categories