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

Which command is used to perform sorting in sas program?

987


Explain what is SAS informats?

1038


Mention few capabilities of sas framework.

1126


what techniques and/or procs do you use for tables? : Sas programming

993


What are the parameters of scan function?

1107


For clinical entire study how many tables will create approx?

1905


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

1032


Explain what is data step?

1130


How do you control the number of observations and/or variables read or written? Approximately what date is represented by the SAS date value of 730?

1623


which date functions advances a date time or date/time value by a given interval? : Sas programming

902


explain about various caches available in data integrator? : Sas-di

993


what is sas application server, database server, sas olap server and sas metadata server? : Sas-di

957


Mention the validation tools used in SAS?

1104


What versions of SAS have you used (on which platforms)?

1456


what is business intelligence? : Sas-bi

1014