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
What are the different versions of sas that you have used until now? : sas-grid-administration
what is study design in while working with SAS? what are screening variables in SAS?
What are the statements that are executed only?
what is metadata? : Sas-bi
What is the order of application for output data set options, input data set options and SAS statements?
what is enterprise guide? What is the use of it? : Sas programming
Are you involved in writing the inferential analysis plan? Tables specfications?
how does sas handle missing values in sort order? : Sas programming
Explain why double trailing @@ is used in input statement?
Do you need to rearrange the order of the data for the report?
Tell me more about the parameters in macro? : sas-macro
describe how to adjust the performance of data integrator? : Sas-di
How long can a macro variable be? A token? : sas-macro
What is the difference between nodupkey and nodup options?
Describe the ways in which you can create macro variables?