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 was the last computer book you purchased? Why?
Difference between sum function and using “+” operator?
What is run-group processing?
what is change analysis in sas di ? : Sas-di
What are SAS/ACCESS and SAS/CONNECT?
Describe the function and untility of the most difficult SAS macro that you have written.
What are the different operating system platforms in which we can use sas? : sas-grid-administration
What is a pdv and what are its functions?
How do you delete duplicate observations in sas?
What are the functions used for character handling?
what is sas business intelligence? : Sas-bi
how do you test for missing values? : Sas programming
Assuming {et} is randomly drawn from N(0,1) and e0 = 0, generate 200 observations of xt = et − 0.5e(t−1) and draw a line graph of xt.
Briefly explain input and put function?
Tell me more about the parameters in macro? : sas-macro