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 is sas and what are the functions? : Sas-administrator
what is program data vector? : Sas-administrator
Do you need to rearrange the order of the data for the report?
What are the data types does SAS contain?
What is the use of function Proc summary?
Give some ways by which you can define the variables to produce the summary report (using proc report)?
What are the difference between ceil and floor functions in sas?
Enlist the syntax rules followed in sas statements.
How to test the debugging in sas?
Mention the category in which sas informats are placed?
For clinical entire study how many tables will create approx?
What would be the result of the following SAS function (given that 31 Dec, 2000 is Sunday)?
what are several options for creating reports in web report studio? : Sas-bi
Mention the difference between ceil and floor functions in sas?
it will become easy if uuu provide website linkssss and list of consultanciessssss