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

%MACRO Data_Create;
%Do i = 1 %to 365;
INPUT a @@;
CARDS;
4*&i-3 4*&i-2 4*&i-1 4*&i
;
RUN;
%MEND;

%Data_Create;

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between order and group variable in proc report?

1480


How would you define the end of a macro?

1145


I need level 2 to 5 sas using companies in india

2433


What is the SAS data set?

1175


Which command is used to save logs in the external file?

1146


explain about data integrator metadata reports? : Sas-di

1157


What is the difference between SAS functions and procedures?

1180


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

1187


what is information maps?

2277


Explain the purpose of retain statement.

1105


What are the different operating system platforms in which we can use sas? : sas-grid-administration

1121


Describe the function and untility of the most difficult SAS macro that you have written.

2272


what are sas bi dashboard components? : Sas-bi

1227


describe how to adjust the performance of data integrator? : Sas-di

1063


What is the basic structure of a sas program?

1168