Hi: The ODS DOCUMENT/PROC DOCUMENT information in the documentation is very good. I did write a paper about ODS DOCUMENT with an example of the method that I mentioned (making the "original" document store, then making a new document store and then copying into the new structure). That URL is here: http://support.sas.com/resources/papers/sgf09/318-2009.pdf You will want to look at the documentation for the 9.2 version of ODS DOCUMENT. You can search for specific levels of the doc in the on-line search. If you only have 1 node, it doesn't make sense to keep assigning SETLABEL over and over again. I'd probably build the new structure and then do the SETLABEL as a final step (and possibly separate PROC DOCUMENT step) before the REPLAY. I also recommend that you have at least 1 version of your program that works without using any macro processing before you introduce macro into the mix. Did you start with a working SAS program? Even if you have to hardcode the creation of 3 PROC REPORT steps (instead of 89), having working, non-macro code for creating your ODS DOCUMENT with 3 PROC REPORTS and then doing the manipulation would be an instructive exercise and would give you a better idea of how and where and what you need to macroize. cynthia
... View more