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 do you understand by the term Normal Distribution?
How will you use the WHO Drug Dictionary for Reporting Clinical Trials?
what is hash files in sas and why we are using this one in sas?
how to change the execute of macro
Differentiate between sas functions and sas procedures.
Mention how to limit decimal places for the variable using proc means?
What is auto call macro and how to create a auto call macro? What is the use of it? How to use it in sas with macros? : sas-macro
what do the mod and int function do? What do the pad and dim functions do? : Sas programming
how will you location sas platform applications available from web browser? : Sas-bi
what is sas metadata repository? : Sas-bi
What is data _null_?
What is the role of sas grid administrator? : sas-grid-administration
describe the interaction table in sas di? : Sas-di
Explain the main difference between the sas procedures and functions? : Sas-administrator
How would you define the end of a macro?