As the first step in the decommissioning of sasCommunity.org the site has been converted to read-only mode.


Here are some tips for How to share your SAS knowledge with your professional network.


Macros and Conventional Macro Variables: Effective Tools for Customizing Tabular Output in SAS® ODS

From sasCommunity
Jump to: navigation, search

Abstract

While it is understood that macro variables are referenced in ODS by using MVAR and NMVAR statements, macro programs continue to play a vital role in ODS. To back up this claim, the TABLETEMPLATE macro that generates a customized table in ODS is reviewed in depth. Looping in the macro eliminates the need for hard coding, and multiple ampersand macro variables (&&f&i) provide the only viable means for inserting data dependent text strings into a table. Pre and Post macro versions of the code are presented to emphasize the role played by macros in ODS.

Online Materials

View the pdf for [http://support.sas.com/resources/papers/proceedings11/426-2011.pdf Macros and Conventional Macro Variables: Effective Tools for Customizing Tabular Output in SAS® ODS ].


Click on 426-2011.zip to download data, SAS code for the font tracer, and most importantly the HTML tracer itself.

Contact Info

Here is the link to my user page Perry Watts.