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 can you learn from the sas log when debugging? : Sas programming
How would you identify a macro variable?
What is the difference between INPUT and INFILE ?
What sas features do you use to check errors and data validation?
What is SAS? What are the functions does it performs?
Name validation tools used in SAS
What is a method to debug and test your SAS program?
what is ae onset date n what is RDS
how will you location sas platform applications available from web browser? : Sas-bi
what is program data vector? : Sas-administrator
How to include or exclude specific variables in a data set?
how can you put a "trace" in your program? : Sas programming
How to sort in descending order?
Mention some common errors that are usually committed in sas programming.
What is the basic structure of a sas program?