How will you assign all the variables of an dataset into a
macro variable separated by a space? For example if a
dataset has variables A,B,C. Assign them to a macro variable
X as
X=A B C
Answer Posted / raghu kishor. k
proc contents data= dsname out=o/pdsname;
run;
proc sql; select name into: macrovariablename separated
by ' 'from o/pdsname;
quit;
Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
What is the function of output statement in a SAS Program?
do you need to know if there are any missing values? : Sas programming
Did you used proc test? when?
explain the proc in sas? : Sas-administrator
What will calendar procedure do?
what are the component of range? : Sas-bi
Describe the function and untility of the most difficult SAS macro that you have written.
What do the mod and int function do? : Sas programming
What is Linear Regression?
What is interleaving in SAS?
What is the difference between INPUT and INFILE ?
how does sas handle missing values in sort order? : Sas programming
Do you need to compute new variables? If so,should you do this before you execute the report-writing procedure?
describe about metadata object? : Sas-di
What do you know about sas data set?