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

Give an example where SAS fails to convert character value to numeric value automatically?

1094


what are validation tools that are used in sas? : Sas-administrator

1065


what is hash files in sas and why we are using this one in sas?

2220


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

1224


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

1084


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

1124


Differentiate between proc means and proc summary.

1067


what is sas business intelligence? : Sas-bi

1185


what is change analysis in sas di ? : Sas-di

1062


explain the concepts and capabilities of business object? : Sas-bi

969


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

998


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

1117


This entry was posted in General. Bookmark the permalink. Post a comment or leave

4585


what is hierarchy flattening? : Sas-di

1084


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

1014