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

Given an unsorted data set, how to read the last observation to a new data set?

1355


What do the PUT and INPUT functions do?

1336


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?

2460


Which are the statements whose placement in the data step is critical?

1265


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

1018


what is data governance? : Sas-di

1025


what are some good sas programming practices for processing very large data sets? : Sas programming

931


Give some examples where proc report’s defaults are different than proc print’s defaults?

1073


Differentiate between ceil and floor functions.

1162


what is the difference between floor and ceil functions in sas? : Sas-administrator

1261


Explain what Proc glm does?

1215


Are you sensitive to code walk-throughs peer review or QC review?

3145


do you prefer proc report or proc tabulate? Why? : Sas programming

984


Explain append procedure?

1084


How does the internal authentication work in sas? : sas-grid-administration

1121