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?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / poojavaibhav
Deepak please explain the word functionality in detail.
But if i have to answer above question then i think if you have var that have same name in different dataset and you want to use them both then rename one of the variable and apply condition..
thanks.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / alok karan
Data a1;
input y age;
Data b1;
input x age;
Data c;
set a1 b1(drop=age);
run;
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / kush
proc sql;
select Variable_name
from Variable_name.DataSet_name;
run;
| Is This Answer Correct ? | 1 Yes | 2 No |
Answer / 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 |
Hi Jeevan/Akshara I have tried to contact SASI Vats for latest Advanced SAS Programming Certification Dumps (A00-212) but have not got any response. I would highly and gratefully appreciate your assistance in this regard. If you guys have access to this, would you be kind enough to forward it to me ? I would abide by all the terms you have for this. Please, note my email id: upretigopi@yahoo.com Preti Sharma
If a variable contains letters or special characters, can it be numeric data type?
how to generate means for every subject;
Do you use PROC REPORT or PROC TABULATE? Which do you prefer? Explain.
Are you familiar with special input delimiters? How are they used?
it will become easy if uuu provide website linkssss and list of consultanciessssss
if reading an external file to produce an external file, what is the shortcut to write that record without coding every single variable on the record
why a stop statement is needed for the point= option on a set statement?
what is program data vector? : Sas-administrator
What is the difference between %put and symbolgen? : sas-macro
What is univariate n where it can be used n how...?
what are the categories that sas informats are used to the place the data? : Sas-administrator