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 / kumar

if we want variables in output window
data _null_;
file print;
put @5 'name' @20 'age' @30 'sex';
run;

if we want in log window
data _null_;
put @5 'name' @20 'age' @30 'sex';
run;

Is This Answer Correct ?    13 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a method for assigning first.VAR and last.VAR to the BY group variable on unsorted data?

2577


Which date function advances a date, time or datetime value by a given interval?

1138


What are the differences between sum function and using “+” operator?

1099


How do dates work in sas?

1128


What do you know about sas data set?

1101


What is maximum number of rows and cols can be handled in SAS?

1573


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

4571


Mention common programming errors committed in sas ?

1111


how can you create zero observation dataset? : Sas programming

1139


Which statement does not perform automatic conversions in comparisons?

1774


How to create list output for cross-tabulations in proc freq?

1107


what is hash files in sas and why we are using this one in sas?

2205


What are the functions used for character handling?

1245


what are the benefits of data integration? : Sas-di

1097


What do the sas log messages “numeric values have been converted to character” mean? What are the implications?

1183