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

how to remove duplicates using proc sql?

1199


Explain bmdp procedure?

1084


What do the PUT and INPUT functions do?

1388


What do you know about symput and symget?

1319


what is the purpose of _error_? : Sas programming

1191


What is the use of %include statement?

1106


what is treatment emergent events and treatment emregent adverse event

2451


: and & modifiers.

1451


What are the features of SAS?

1080


What is the difference between input and infile statement?

1228


What do you understand by the term Normal Distribution?

1043


Explain input and put function?

1188


What does the trace option do?

1163


i want for interview question & answer plz it need immediate send t my mail raviprakashmot@gmal.cm

2431


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

1159