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

%MACRO mer;
DATA file_all_365;
MERGE
%DO i=1 %TO 365;
file&i
%END;;
RUN;
%MEND;

%MER;

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Approximately what date is represented by the SAS date value of 730?

1270


How to include or exclude specific variables in a data set?

1164


What are the data types does SAS contain?

1169


how does sas handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, procs? : Sas programming

1074


what is sas business intelligence? : Sas-bi

1265


Describe the ways in which you can create macro variables? : sas-macro

1115


If you use a symput in a data step, when and where can you use the macro variable? : sas-macro

1136


How would you define the end of a macro?

1150


What is the difference between the proc sql and data step?

1223


What is the role of unrestrictive users? : sas-grid-administration

1075


what is program data vector? : Sas-administrator

1126


What is maximum number of rows and cols can be handled in SAS?

1671


How do you use the do loop if you don’t know how many times you should execute the do loop?

1304


What are the differences between sum function and using “+” operator?

1158


Mention few capabilities of sas framework.

1243