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 the use of proc sql? : Sas programming
What is PDV?
How to include or exclude specific variables in a data set?
how does sas handle missing values in formats? : Sas programming
What is maximum storage capability of SAS?
what are the types of interactive display types? : Sas-bi
Given an unsorted data set, how to read the last observation to a new data set?
how does sas handle missing values in sort order? : Sas programming
what are informats in sas? : Sas-administrator
Explain the purpose of substr functions in sas programming.
Compare sas with other data analytics tools.
What is the use of PROC gplot?
describe about metadata object? : Sas-di
What is SAS?
How to create an external dataset with sas code?