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...

How could i automate the code in the scenario:Every month
one new data set will be created for that perticular month
transaction list.Now i would like to update the data in the
source table by appending every month data automatically.
jan---set jan;
feb---set jan feb;
mar---set jan mar;

Answer Posted / satheesh

%macro sam (&mon);
data &mon1.;
set &mon.;
run;

proc append base = sav.appendData data = &mon.;
run;
%mend;
%sam(Jan);
%sam(Feb);
%sam(Mar);

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of the %include statement?

1116


Mention how to limit decimal places for the variable using proc means?

1084


What is the maximum length of the macro variable?

1147


Compare sas with other data analytics tools.

992


what is sas application server, database server, sas olap server and sas metadata server? : Sas-di

975


How to read an input file in sas?

1107


Intern stastical programmer written test

697


what is data access? : Sas-di

1093


what is PhaseIII, ODS, TLG, Macro and Proc in SAS

4449


What are the parameters of scan function?

1130


what is hierarchy flattening? : Sas-di

1045


In ARRAY processing, what does the DIM function do?

1130


Differentiate between ceil and floor functions.

1119


What is the difference between SAS functions and procedures?

1113


what is the difference between unique key and primary key? : Sas-di

1076