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 / sasuser
Hi Guys,
Following is the solution:
data _null_;
set sashelp.vcolumn ;
where libname='SASHELP' and memname='CLASS';
file print;
putlog Name @@;
put Name @@;
run;
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
Given an unsorted data set, how to read the last observation to a new data set?
What do the PUT and INPUT functions do?
How will you react when, while consulting a SAS documentation manual to get an answer to a problem, someone says hey, I thought you were supposed to know all that stuff already, and not have to look it up in a book?
Which are the statements whose placement in the data step is critical?
How would you identify a macro variable? : sas-macro
what is data governance? : Sas-di
what are some good sas programming practices for processing very large data sets? : Sas programming
Give some examples where proc report’s defaults are different than proc print’s defaults?
Differentiate between ceil and floor functions.
what is the difference between floor and ceil functions in sas? : Sas-administrator
Explain what Proc glm does?
Are you sensitive to code walk-throughs peer review or QC review?
do you prefer proc report or proc tabulate? Why? : Sas programming
Explain append procedure?
How does the internal authentication work in sas? : sas-grid-administration