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


Please Help Members By Posting Answers For Below Questions

Where do you use proc means over proc freq?

558


What is by-group processing?

572


Explain what is SAS informats?

619


What is a put statement?

660


what is the basic structure sas administrator? : Sas-administrator

561






What do you code to create a macro? : sas-macro

575


what is null hypothesis? why do you consider that?

2415


for what purpose would you use the retain statement? : Sas programming

577


Describe the function and untility of the most difficult SAS macro that you have written.

1718


I have a dataset concat having a variable a b & c. How to rename a b to e & f?

755


This entry was posted in General. Bookmark the permalink. Post a comment or leave

4022


What are the table names in oracle database...?

2248


describe the interaction table in sas di? : Sas-di

589


Explain the use of proc print and proc contents?

554


where to use sas business intelligence? : Sas-bi

574