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.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.