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

create macros---you have 365 number of data and you need to
merge it throw the macros,,,,,,

data file1;
input a @@;
cards;
1 2 3 4
;
run;

data file2;
input a @@;
cards;
5 6 7 8
;
run;
data file3;
input a @@;
cards;
9 10 11 12
;
run;data file4;
input a @@;
cards;
13 14 15 16
;
run;

Answer Posted / singh.naveen409

%macros mydata(my,n);
data www;
set
%do i=1 %to &n;
&my&i
end;
;
run;
%mend;
%mydata(file,4);

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how do the in= variables improve the capability of a merge? : Sas programming

1441


what are 5 ways to perform a table lookup in sas? : Sas-administrator

1242


How many ways to overcome a missing values???

2823


What is the maximum length of the macro variable?

1192


for whom is sas data integration studio designed? : Sas-di

1012


What is your favorite all time computer book? Why?

2518


If you were told to create many records from one record, show how you would do this using array and with proc transpose?

1501


What are the data types in sas?

1069


Differentiate between proc means and proc summary.

1067


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

1280


Explain the difference between using drop = data set option in set and data statement?

1161


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

1040


In SAS explain which statement does not perform automatic conversions in comparisons?

1318


Explain by-group processing?

1006


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

1136