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
Of all your work, where have you been the most successful?
how does sas handle missing values in procs? : Sas programming
What is the purpose of _character_ and _numeric_?
do you prefer proc report or proc tabulate? Why? : Sas programming
what do you mean by data staging area? : Sas-di
how does sas handle missing values in sort order? : Sas programming
Differentiate input and infile.
What do the put and input function do?
What do the mod and int function do? : Sas programming
What can you learn from the SAS log when debugging?
if a variable contain dates like "2015/01"---"2015/12" (yymm) ,How to add day to those dates,if them month is jan then 31 if the month is feb then 28 so on ...
What are the difficulties u faced while doing vital signs table or dataset?
Hi all, If Anybody has Advance SAS Certification dumps??? Please share with me. Email: pramod.kalugade03@gmail.com
Do you need to rearrange the order of the data for the report?
Hi,by usining ptf how we have to combine (likr merge)10 datasets at a time in the oracle database(and write a macro code also)?Like this i have a douts a lot if you dont mind may please send one text mail for me(madhusudhanap16@gmail.com)?