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 / yuyin
Use PROC SQL; Select * into: macro_variables separated
by ' ' from table;
Is This Answer Correct ? | 4 Yes | 7 No |
Post New Answer View All Answers
what is treatment emergent events and treatment emregent adverse event
What are the ways to do a “table lookup” in sas?
How to specify variables to be processed by the freq procedure?
Have you ever used the SAS Debugger?
What are all the problems you faced while validating tables and reports?
What is the maximum length of the macro variable?
What is a macro routine?
Explain the purpose of retain statement.
How to create an external dataset with sas code?
What is the difference between class statement and by statement in proc means?
how does sas handle missing values in assignment statements? : Sas programming
What are the differences between sum function and using “+” operator?
What are the data types that sas contain?
how are numeric and character missing values represented internally? : Sas programming
What are the advantages of using sas?