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
explain the use of % includes a statement in sas? : Sas-administrator
What are the difficulties u faced while doing vital signs table or dataset?
How can you limit the variables written to output dataset in data step?
what is the limit of the number of the rows and columns available in the worksheet? : Sas-bi
Name few SAS functions?
What is the difference between INPUT and INFILE ?
Explain the main difference between the sas procedures and functions? : Sas-administrator
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?
why a stop statement is needed for the point= option on a set statement?
What is the difference between where and if statement?
How would you invoke a macro? : sas-macro
What are the different operating system platforms in which we can use sas? : sas-grid-administration
how do the in= variables improve the capability of a merge? : Sas programming
How would you include common or reuse to be processed along with your statements?
What are the ways to do a “table lookup” in sas?