Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

What is by-group processing?

953


Of all your work, where have you been the most successful?

4629


If a variable contains only numbers, can it be a character data type?

1038


How would you identify a macro variable? : sas-macro

973


what are all the reports you generated in your recent project?

2140


What is the SAS data set?

1092


what is the difference between calculating the 'mean' using the mean function and proc means? : Sas programming

1181


explain the proc in sas? : Sas-administrator

1039


Why and when do you use proc sql?

1193


what is business intelligence? : Sas-bi

1020


what is the use of proc contents and proc print in sas? : Sas-administrator

1005


How many data types are there in SAS?

1019


how can you put a "trace" in your program? : Sas programming

1011


What is a method to debug and test your SAS program?

1285


where are dashboard components are created and maintained? : Sas-bi

977