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 proc sort?

1202


what is scheduling and how will u implement it. In scheduling 5 jobs r running if there is an error occured at 3rd job and how will u check and waht necessary steps will u take not to repeat the same mistake

2366


How you are maintaining sas programmes in your company...any specific version control software you are using? If so, tell me the name?

2117


what are some differences between proc summary and proc means? : Sas programming

1116


what are _numeric_ and _character_ and what do they do? : Sas programming

1147


how will you locate the sas platform applications? : Sas-bi

1025


Why double trailing @@ is used in input statement?

1219


What are the statements that are executed only?

1139


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

996


how to remove duplicates using proc sql?

1145


Mention sas system options to debug sas macros.

1166


what is metadata? : Sas-bi

1026


how does sas handle missing values in assignment statements? : Sas programming

1017


why a stop statement is needed for the point= option on a set statement?

1068


How to create a permanent sas data set?

1227