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 / nbohr02

Use a two level name.

Data a1;
input A $20 @50 age;

Data b1;
input x b age;

Data c
If a1.age = b1.age;

Is This Answer Correct ?    1 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1043


What are the difficulties u faced while doing vital signs table or dataset?

2446


How can you limit the variables written to output dataset in data step?

1374


what is the limit of the number of the rows and columns available in the worksheet? : Sas-bi

1135


Name few SAS functions?

1143


What is the difference between INPUT and INFILE ?

1374


Explain the main difference between the sas procedures and functions? : Sas-administrator

1112


How to import multiple xls files into sas. Out of those files, how to get different values from a single variable and how to find number of rows per value type? We can do this using group by for one xls file with proc sql. Was wondering how I can achieve this for multiple files at the same time. Any ideas?

2981


why a stop statement is needed for the point= option on a set statement?

1130


What is the difference between where and if statement?

1150


How would you invoke a macro? : sas-macro

1184


What are the different operating system platforms in which we can use sas? : sas-grid-administration

1121


how do the in= variables improve the capability of a merge? : Sas programming

1479


How would you include common or reuse to be processed along with your statements?

2415


What are the ways to do a “table lookup” in sas?

1076