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

How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?

1403


What is the difference between one to one merge and match merge? Give an example.

1119


If a variable contains letters or special characters, can it be numeric data type?

1279


Hi, If anyone has base SAS certification dumps, please share.

1925


What do the SAS log messages "numeric values have been converted to character" mean?

1428


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

1061


what is the use of proc contents and proc print in sas? : Sas-administrator

1103


What is a macro routine?

2783


How you can read the variables that you need?

1174


Explain data step in SAS

1158


What is the differnce between SDTM 3.1.2 to 3.1.1 version

5115


Describe the function and untility of the most difficult SAS macro that you have written.

2167


What is the basic structure of a sas program?

1168


Tell e how how dealt with..

2264


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

4591