I have 2 data sets A & B. Both have a variable called Age in
them, each of them specifying a different functionality.
In my program I use bot these data sets. How do I specify
which Age variable I want to use?
Answer Posted / presha badiyani
use rename option
Data a1;
input A $20 @50 age;
Data b1;
input x b age;
Data c;
set a1 b1(rename age=b1_age);
If age = b1_age;
run;
Is This Answer Correct ? | 6 Yes | 6 No |
Post New Answer View All Answers
To what type of programms have you used scratch macros?
What is the difference between the proc sql and data step?
what is the use of sas management console? : Sas-di
describe about physical data integration? : Sas-di
Tell me more about the parameters in macro? : sas-macro
What are the 3 components in sas programming?
what is sas database server? : Sas-di
what is change analysis in sas di ? : Sas-di
what is data access? : Sas-di
What is the difference between proportion and average?
Mention the difference between ceil and floor functions in sas?
explain what is data set in sas? : Sas-administrator
how does sas handle missing values in assignment statements? : Sas programming
what is slowly changing dimension? : Sas-di
how do you test for missing values? : Sas programming