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

what is star schema? : Sas-di

1098


Mention few capabilities of sas framework.

1145


Explain the use of proc gplot? : sas-grid-administration

948


Have you ever used the SAS Debugger?

1709


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

1030


how will you location sas platform applications available from web browser? : Sas-bi

1038


If you could design your ideal job, what would it look like?

2887


How you can read the variables that you need?

1089


What are the table names in oracle database...?

2712


what type of graphs we will create(for 2+years candidates)?

2258


what are the types of interactive display types? : Sas-bi

1056


how does sas handle missing values in formats? : Sas programming

1098


what is metadata? : Sas-bi

986


Name any two sas spawners? : sas-grid-administration

999


I have a dataset concat having a variable a b & c. How to rename a b to e & f?

1257