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
Which command is used to perform sorting in sas program?
How do you control the number of observations and/or variables read or written? Approximately what date is represented by the SAS date value of 730?
How do you delete duplicate observations in sas?
What are the features of base sas system?
What are the data types that sas contain?
How to create an external dataset with sas code?
In proc transpose and data step with arrays which one you pick?
How to read an input file in sas?
What are the functions used for character handling?
what is program data vector? : Sas-administrator
which date function advances a date, time or datetime value by a given interval? : Sas programming
Explain the difference between nodup and nodupkey options?
What are the 3 components in sas programming?
What versions of SAS have you used (on which platforms)?
What is the difference between %put and symbolgen? : sas-macro