Hi:
Bottom line: STYLE options apply to procedure output. STYLE options do not apply to data. A dataset does not have colors or fonts or titles or footnotes. Procedure output can have colors and fonts and titles and footnotes. When you use STYLE= with ODS HTML, ODS RTF, ODS PDF or ODS EXCEL, you are providing SAS and ODS with a set of cosmetic specifications that apply to the procedure output -- not to the dataset. Even when you use PROC PRINT to print the data values in a dataset, you are still using a procedure to run a report on the data. The STYLE= option applies to the procedure output, not to the data set when it is stored.
Cynthia
Answer to both questions: read the ODS documentation.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.