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
What are all the problems you faced while validating tables and reports?
what are the best practices to process the large data sets in sas programming? : Sas-administrator
what is sas data set?
How substr function works in sas?
Give some ways by which you can define the variables to produce the summary report (using proc report)?
What are the best sas programming practices for handling very large datasets? : sas-grid-administration
What do you know about sas data set?
describe the interaction table in sas di? : Sas-di
hi here is a problem can anybody solve this? i want to report the data through third party file. by using data _null_ or proc report or macro automation process. but i want to insert the 'titles and footnotes' in between the data and also starting of 2nd and ending of 2nd and starting of 3rd and ending of the 3rd page. tell me how and write the code?
What will calendar procedure do?
how can you create zero observation dataset? : Sas programming
What are types of transport files?
explain the use of % includes a statement in sas? : Sas-administrator
sas implementing companies in pune implementing clinical projects if anyone knows plz send ans immediately
How would you define the end of a macro?