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

Sorry missed the data step here is the corrected Version;


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

%Data_Create;

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If you were told to create many records from one record, show how you would do this using array and with proc transpose?

1499


Difference between nodup and nodupkey options?

1200


If money were no object, what would you like to do?

3205


how to debug and test the sas program? : Sas-administrator

1044


what is operational data and operational system? : Sas-di

1117


What is the use of PROC gplot?

1144


What are the data types that sas contain?

1190


what is snowflake schema? : Sas-di

1217


What are the functions used for character handling?

1262


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

1062


what is null hypothesis? why do you consider that?

2909


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

1063


What are the difference between the sas data step and sas procs?

1190


what do the sas log messages "numeric values have been converted to character" mean? What are the implications? : Sas programming

1279


Mention the difference between ceil and floor functions in sas?

1160