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 / kumar
if we want variables in output window
data _null_;
file print;
put @5 'name' @20 'age' @30 'sex';
run;
if we want in log window
data _null_;
put @5 'name' @20 'age' @30 'sex';
run;
| Is This Answer Correct ? | 13 Yes | 3 No |
Post New Answer View All Answers
What is the use of PROC gplot?
Why and when do you use proc sql?
What are the differences between sum function and using “+” operator?
Describe crosslist option in tables statement?
In ARRAY processing, what does the DIM function do?
what is the primary data source for the wrs? : Sas-bi
What do you understand by the term Normal Distribution?
What’s the difference between var b1 – b3 and var b1 — b3?
what are informats in sas? : Sas-administrator
what is metadata? : Sas-bi
Do we follow ADAM in analysis dataset development?How? Usually which version? Why is it necessary?
What is the difference between reading data from an external file and reading data from an existing data set?
What is the purpose of _character_ and _numeric_?
how to read the variables in sas? : Sas-administrator
why a stop statement is needed for the point= option on a set statement?