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 / alok karan

Data a1;
input y age;

Data b1;
input x age;

Data c;
set a1 b1(drop=age);
run; 

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Name few SAS functions?

664


explain what is data set in sas? : Sas-administrator

523


How do you test for missing values?

1053


Give e an example of..

1649


Describe the function and untility of the most difficult SAS macro that you have written.

1555






Describe a time when you were really stuck on a problem and how you solved it?

2080


Describe the ways in which you can create macro variables?

626


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

1915


Tell e how how dealt with..

1752


Are you sensitive to code walk-throughs peer review or QC review?

2594


What is auto call macro and how to create a auto call macro? What is the use of it? How to use it in sas with macros? : sas-macro

576


what is data access? : Sas-di

599


how the sas basic syntax style described? : Sas-administrator

592


What are the parameters of scan function?

612


What does proc print, and proc contents are used for?

607