When merging 2 datasets with a common variable (not merge
key), how to keep both?
Answer Posted / vigneshwaran.s
Rename the variable in First data or in The Second Data:
Like,
Merge A(rename=(comman_var=New_var))(in=x)
B (in=y);
by New_var;
Run;
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
How to convert a numeric variable to a character variable?
How do you control the number of observations and/or variables read or written?
what techniques and/or procs do you use for tables? : Sas programming
Mention the category in which sas informats are placed?
Given an unsorted data set, how to read the last observation to a new data set?
what are _numeric_ and _character_ and what do they do? : Sas programming
Differentiate between proc means and proc summary.
Mention what is PROC in SAS?
Briefly explain input and put function?
What is program data vector (pdv) and what are its functions?
What do the sas log messages “numeric values have been converted to character” mean? What are the implications?
describe about physical data integration? : Sas-di
i want for interview question & answer plz it need immediate send t my mail raviprakashmot@gmal.cm
What do the put and input function do?
What can you learn from the SAS log when debugging?