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

If you use a symput in a data step, when and where can you use the macro variable? : sas-macro

1011


How you can read the variables that you need?

1067


What are types of transport files?

7861


please can you tell me that in companies sas work are doing by through sas coding or sas wizard ??

2052


Explain the purpose of substr functions in sas programming.

1008


Describe the function and utility of the most difficult SAS macro that you have written?

2478


Which command is used to save logs in the external file?

1025


What is the difference between INPUT and INFILE ?

1237


What do the SAS log messages "numeric values have been converted to character" mean?

1326


what is snowflake schema? : Sas-di

1144


explain the use of % includes a statement in sas? : Sas-administrator

942


what is study design in while working with SAS? what are screening variables in SAS?

2176


What is the difference between reading data from an external file and reading data from an existing data set?

1121


To what type of programms have you used scratch macros?

2524


Give some examples where proc report’s defaults are different than proc print’s defaults?

1009