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

where to use sas business intelligence? : Sas-bi

576


what is PhaseIII, ODS, TLG, Macro and Proc in SAS

3899


what are all the reports you generated in your recent project?

1679


What do the sas log messages “numeric values have been converted to character” mean? What are the implications?

712


What is the good sas programming practices for processing large data sets?

624






I have 3 years of work experience at a startup and recently got certified in Data Science with SAS. I need to know how to get into the analytics industry

1321


Explain the difference between informat and format with an example.

678


Name validation tools used in SAS

689


What are the features of base sas system?

609


What do the mod and int function do? : Sas programming

575


What is the use of PROC gplot?

634


Mention what is the difference between nodupkey and nodup options?

595


What is the difference between SAS functions and procedures?

653


How to create an external dataset with sas code?

584


Explain what is data step?

727