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 are the best practices to process the large data sets in sas programming? : Sas-administrator

1040


describe about physical data integration? : Sas-di

1058


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

1208


Explain the purpose of substr functions in sas programming.

1075


What function CATX syntax does?

1234


Explain proc sort?

1131


Which statement does not perform automatic conversions in comparisons?

1797


How would you invoke a macro? : sas-macro

1134


what is the difference between infile and input? : Sas-administrator

1155


how can you create zero observation dataset? : Sas programming

1163


What is the difference between nodupkey and nodup options?

1051


explain the concepts and capabilities of business object? : Sas-bi

976


what can you learn from the sas log when debugging? : Sas programming

1109


How would you define the end of a macro? : sas-macro

1103


How do dates work in SAS data?

1190