i have a null dataset with 10 variables; i want to print only
name of the varibales in log window and also output window.how
can we do this one?
Answer Posted / sas user
* To print in log window
data _null_;
put x1= \
x2= \
x10= \;
run;
* To print on output window:
data _null_;
file print;
put x1= \
x2= \
x10= \;
run;
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Explain the use of proc gplot? : sas-grid-administration
what is the function of catx syntax? : Sas-administrator
How to limit decimal places for variable using proc means?
What’s the difference between var b1 – b3 and var b1 — b3?
what is slowly changing dimension? : Sas-di
what is the difference between unique key and primary key? : Sas-di
what is transformation in sas data integration? : Sas-di
what is the primary data source for the wrs? : Sas-bi
what is enterprise guide? What is the use of it? : Sas programming
how can you create zero observation dataset? : Sas programming
what is the use of sas management console? : Sas-di
What is the maximum length of the macro variable? : sas-macro
what is treatment emergent events and treatment emregent adverse event
what is sas business intelligence? : Sas-bi
explain the key concept of sas? : Sas-administrator