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

name the scheduler for scheduling job and explain the scheduler? : Sas-di

1102


Explain substr function?

1167


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

1336


what is the difference between nodup and nodupkey options? : Sas programming

1272


What do you understand by the term Normal Distribution?

1043


Mention sas system options to debug sas macros.

1242


what are informats in sas? : Sas-administrator

1152


What is a pdv and what are its functions?

1222


Explain why double trailing @@ is used in input statement?

1116


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

1340


How to sort in descending order?

1302


what are the scrubbing procedures in sas? : Sas programming

1327


how do you debug and test your sas programs? : Sas programming

1174


What is the difference between input and infile statement?

1230


What are the functions used for character handling?

1312