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
Explain proc sort?
What is substr function?
Which command is used to save logs in the external file?
What is PDV?
what is data access? : Sas-di
how can you import .csv file in to sas? : Sas programming
What does proc print, and proc contents are used for?
Can you suggest us materials for sdtm mapping?
Can you execute macro within another macro? If so, how would sas know where the current macro ended and the new one began? : sas-macro
Explain the use of proc gplot? : sas-grid-administration
What do the put and input function do?
How we can call macros with in data step? : sas-macro
Give e an example of..
What is the sas data set? : sas-grid-administration
Of all your work, where have you been the most successful?