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
how can you put a "trace" in your program? : Sas programming
What are the different operating system platforms in which we can use sas? : sas-grid-administration
Mention the validation tools used in SAS?
explain the use of % includes a statement in sas? : Sas-administrator
What is a method to debug and test your SAS program?
how would you create multiple observations from a single observation? : Sas programming
why a stop statement is needed for the point= option on a set statement?
how to create the AE dataset by using SDTMIG specifications and SAP plan by using UNIX platform?
what are sas/access and sas/connect? : Sas programming
What is the purpose of _character_ and _numeric_?
Explain the difference between informat and format with an example.
how does sas handle missing values in a merge? : Sas programming
For clinical entire study how many tables will create approx?
what is the limit of the number of the rows and columns available in the worksheet? : Sas-bi
Explain what is data step?