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
List down the reasons for choosing sas over other data analytics tools.
How does the internal authentication work in sas? : sas-grid-administration
how to read the variables in sas? : Sas-administrator
how does sas handle missing values in assignment statements? : Sas programming
in the flow of data step processing, what is the first action in a typical data step? : Sas programming
what is the limit of the number of the rows and columns available in the worksheet? : Sas-bi
What is substr function?
What is the difference between order and group variable in proc report?
what are some good sas programming practices for processing very large data sets? : Sas programming
explain the proc in sas? : Sas-administrator
What is by-group processing?
How long can a macro variable be? A token? : sas-macro
How do you control the number of observations and/or variables read or written?
To what type of programms have you used scratch macros?
Describe crosslist option in tables statement?