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

how does sas handle missing values in assignment statements? : Sas programming

785


Explain bmdp procedure?

803


Tell me about % include and % eval? : sas-macro

894


how do you pull data from equifax?tell me the process?

1564


How sas treats the dsd delimiters?

946


In sas admin differentiate between roles and capabilities? : sas-grid-administration

766


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

1107


What are SAS/ACCESS and SAS/CONNECT?

861


Of all your work, where have you been the most successful?

4416


explain the proc in sas? : Sas-administrator

828


How do you convert basic cube to transaction cube and transaction cube to basic cube?

2003


how do you test for missing values? : Sas programming

782


what is null hypothesis? why do you consider that?

2630


What are the differences between sum function and using “+” operator?

790


Compare sas with other data analytics tools.

793