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

Explain what is the use of proc gplot?

1249


in the flow of data step processing, what is the first action in a typical data step? : Sas programming

1110


What are the different versions of sas that you have used until now? : sas-grid-administration

1392


What are the difference between ceil and floor functions in sas?

1406


Where do you use proc means over proc freq?

1190


How would you code a merge that will write the matches of both to one data set, the non-matches from the left-most data?

1161


Explain the main difference between the sas procedures and functions? : Sas-administrator

1117


what is ae onset date n what is RDS

2664


What will calendar procedure do?

1116


How would you define the end of a macro?

1151


hi tell be about pfizer? how to compare the work with other companies ? please tell me how to login and work also?

2111


what is hash files in sas and why we are using this one in sas?

2269


what is the difference between calculating the 'mean' using the mean function and proc means? : Sas programming

1315


What is the use of %include statement?

1106


What is PROC in SAS?

1103