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 are the considerations when picking a SAS/STAT procedure?

3374


it will become easy if uuu provide website linkssss and list of consultanciessssss

1979


What are all the problems you faced while validating tables and reports?

3471


Are you involved in writing the inferential analysis plan? Tables specfications?

2224


Explain the difference between nodup and nodupkey options?

1027


what is the difference between floor and ceil functions in sas? : Sas-administrator

1261


Which command is used to perform sorting in sas program?

1047


where are dashboard components are created and maintained? : Sas-bi

1013


What are the limitations for memory allocation for SAS variables

1492


What is the difference between match merge and one to one merge?

1250


How will you generate test data with no input data?

1173


how do you want missing values handled? : Sas programming

958


What are the difficulties u faced while doing vital signs table or dataset?

2393


how the sas basic syntax style described? : Sas-administrator

1019


what is intially documentation in sas?

5052