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

If a variable contains only numbers, can it be a character data type?

1132


What are the automatic variables for macro? : sas-macro

1320


What do the mod and int function do? : Sas programming

1292


Mention the validation tools used in SAS?

1228


State the difference between INFORMAT and FORMAT ?

1150


what is sas application server, database server, sas olap server and sas metadata server? : Sas-di

1053


How to limit decimal places for the variable using proc means?

1119


Tell me about % include and % eval? : sas-macro

1186


what are sas bi dashboard components? : Sas-bi

1225


AE datasets names? how many types?

2556


what do the sas log messages "numeric values have been converted to character" mean? What are the implications? : Sas programming

1316


How do you debug and test your SAS programs?

1604


how are numeric and character missing values represented internally? : Sas programming

1194


How to test the debugging in sas?

1239


Enlist the syntax rules followed in sas statements.

1127