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
how to read the variables in sas? : Sas-administrator
how sas deals with business intelligence? : Sas-bi
what are the softwares and applications that are used most frequently used by sas bi applications developers? : Sas-bi
how do you debug and test your sas programs? : Sas programming
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
explain about various caches available in data integrator? : Sas-di
Why double trailing @@ is used in input statement?
Explain substr function?
What are the special input delimiters used in SAS?
What function CATX syntax does?
Difference between sum function and using “+” operator?
what is snowflake schema? : Sas-di
What is substr function?
What are SAS/ACCESS and SAS/CONNECT?
What would you change about your job?