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
Differentiate input and infile.
This entry was posted in General. Bookmark the permalink. Post a comment or leave
What is the difference between INPUT and INFILE ?
How can you limit the variables written to output dataset in data step?
Is the physical structure of the data set in the same orientation as the report? Do you need to reshape the data sets? What method should you use to reshape the data–DATA steps,PROC TRANSPOSE,output data set from a procedure?
What is the function of output statement in a SAS Program?
what can you learn from the sas log when debugging? : Sas programming
why a stop statement is needed for the point= option on a set statement?
Explain how you can debug and test your SAS program?
What do you code to create a macro? : sas-macro
what is information maps?
for whom is sas data integration studio designed? : Sas-di
how does sas handle missing values in sort order? : Sas programming
Describe the ways in which you can create macro variables?
what is sas metadata server? : Sas-di