Hi:
If you refer to these user-group presentations
http://www2.sas.com/proceedings/sugi23/Coders/p81.pdf
http://www2.sas.com/proceedings/sugi31/014-31.pdf
http://www2.sas.com/proceedings/forum2007/006-2007.pdf
http://www2.sas.com/proceedings/sugi27/p021-27.pdf
you will see that a lot of folks use the SAS Macro Facility as part of their source code management system.
In order to effectively use the SAS macro facility, you should
1) have a working SAS program
2) convert that program to use macro variables (i.e. change the program to use a few macro variables like dataset name)
3) convert the program with generic macro variables into a MACRO program and
add any conditional macro programming logic at this point (if it's the last day of the month, then also generate and execute the month-end report code).
4) have a system of organized folders, directories and file names where the data and programs live
The SAS documentation has extensive material on the use of the SAS Macro Facility and there are many books by users published by SAS Press on the topic.
Your use of the SAS Macro facility can be as simple or as complex as you need. But the key is to first have a working SAS program before you try to convert it to use SAS macro processing.
cynthia