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
Do we follow ADAM in analysis dataset development?How? Usually which version? Why is it necessary?
Explain input and put function?
In ARRAY processing, what does the DIM function do?
Mention some common errors that are usually committed in sas programming.
What is a pdv and what are its functions?
How you are maintaining sas programmes in your company...any specific version control software you are using? If so, tell me the name?
Mention sas system options to debug sas macros.
What is the role of administrative users? : sas-grid-administration
How do you control the number of observations and/or variables read or written?
What is slibref?
How does proc sql work?
how to create the AE dataset by using SDTMIG specifications and SAP plan by using UNIX platform?
Will it bother you if the guy at the next desk times the frequency and duration of your bathroom or coffee breaks on the grounds that ?you are getting paid twice as much as he is??
What are the data types in sas?
what is enterprise guide? What is the use of it? : Sas programming