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 / sas user

* To print in log window
data _null_;
put x1= \
x2= \
x10= \;
run;

* To print on output window:

data _null_;
file print;
put x1= \
x2= \
x10= \;
run;

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List down the reasons for choosing sas over other data analytics tools.

1283


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

1121


how to read the variables in sas? : Sas-administrator

1021


how does sas handle missing values in assignment statements? : Sas programming

1021


in the flow of data step processing, what is the first action in a typical data step? : Sas programming

1076


what is the limit of the number of the rows and columns available in the worksheet? : Sas-bi

1091


What is substr function?

1189


What is the difference between order and group variable in proc report?

1436


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

931


explain the proc in sas? : Sas-administrator

1092


What is by-group processing?

997


How long can a macro variable be? A token? : sas-macro

1214


How do you control the number of observations and/or variables read or written?

1249


To what type of programms have you used scratch macros?

2569


Describe crosslist option in tables statement?

1224