Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Difference between sum function and using “+” operator?

1147


Can you explain the process of calendar?

1112


Difference between informat and format?

1087


Hi, If anyone has base SAS certification dumps, please share.

1860


What are all the problems you faced while validating tables and reports?

3462


For what purposes have you used sas macros? : sas-macro

998


What does PROC print, and PROC contents do?

1226


Give some examples where proc report’s defaults are same as proc print’s defaults?

1103


How do you specify the number of iterations and specific condition within a single do loop?

1098


what is data integration? : Sas-di

1111


If you have a dataset that contains 100 variables, but you need only five of those, what is the code to force SAS to use only those variables?

1159


Explain the use of proc print and proc contents?

956


What is the difference between order and group variable in proc report?

1428


what are the best practices to process the large data sets in sas programming? : Sas-administrator

1020


Name few SAS functions?

1092