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
What is by-group processing?
Of all your work, where have you been the most successful?
If a variable contains only numbers, can it be a character data type?
How would you identify a macro variable? : sas-macro
what are all the reports you generated in your recent project?
What is the SAS data set?
what is the difference between calculating the 'mean' using the mean function and proc means? : Sas programming
explain the proc in sas? : Sas-administrator
Why and when do you use proc sql?
what is business intelligence? : Sas-bi
what is the use of proc contents and proc print in sas? : Sas-administrator
How many data types are there in SAS?
how can you put a "trace" in your program? : Sas programming
What is a method to debug and test your SAS program?
where are dashboard components are created and maintained? : Sas-bi