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
Why double trailing @@ is used in input statement?
Explain the purpose of substr functions in sas programming.
name the scheduler for scheduling job and explain the scheduler? : Sas-di
what is scheduling and how will u implement it. In scheduling 5 jobs r running if there is an error occured at 3rd job and how will u check and waht necessary steps will u take not to repeat the same mistake
What is program data vector (pdv)?
How do dates work in SAS data?
what is sas application server? : Sas-di
What is the basic structure of a sas program?
How to test the debugging in sas?
What are the functions which are used for character handling functions?
how many types of prompts are there? : Sas-bi
Give some ways by which you can define the variables to produce the summary report (using proc report)?
why is sas considered self-documenting? : Sas programming
What is maximum number of rows and cols can be handled in SAS?
How many data types are there in SAS?