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...

How will you assign all the variables of an dataset into a
macro variable separated by a space? For example if a
dataset has variables A,B,C. Assign them to a macro variable
X as
X=A B C

Answer Posted / raghu kishor. k

proc contents data= dsname out=o/pdsname;
run;

proc sql; select name into: macrovariablename separated
by ' 'from o/pdsname;
quit;

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the function of Stop statement in a SAS Program?

1089


What are the data types does SAS contain?

1052


which date function advances a date, time or datetime value by a given interval? : Sas programming

994


In sas admin differentiate between roles and capabilities? : sas-grid-administration

939


how does sas handle missing values in formats? : Sas programming

1078


what is transformation in sas data integration? : Sas-di

973


what is business intelligence? : Sas-bi

1014


What is Linear Regression?

1105


Have you used macros? For what purpose you have used? : sas-macro

991


what are sas/access and sas/connect? : Sas programming

941


What are symget and symput? : sas-macro

1241


How would you invoke a macro? : sas-macro

1042


What is program data vector (pdv)?

1190


What are the limitations for memory allocation for SAS variables

1425


What is PROC in SAS?

1000