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 / ashutosh

%macro mydata(my,n);
data XXX;
merge
%do i=1 %to &n;
&my&i
%end;
;
by a;
run;
%mend;
%mydata(file,4);

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are all the reports you generated in your recent project?

2254


What is a put statement?

1274


Mention sas system options to debug sas macros.

1241


Describe what are the different levels of administrative users in sas? : sas-grid-administration

1085


What is the role of sas grid administrator? : sas-grid-administration

1348


Assuming {et} is randomly drawn from N(0,1) and e0 = 0, generate 200 observations of xt = et − 0.5e(t−1) and draw a line graph of xt.

1929


AE datasets names? how many types?

2561


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

1090


Which function is used to count the number of intervals between two sas dates?

1197


what is the use of sas management console? : Sas-di

1143


what do you mean by data staging area? : Sas-di

1195


what are the categories that sas informats are used to the place the data? : Sas-administrator

1095


what is broad cast agent? : Sas-bi

1120


what are validation tools that are used in sas? : Sas-administrator

1119


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

1213