This is what I want and this is my code which does not work.
Works for output to PDF, EXCEL and HTML. Does not work for output to .LST. I didn't try ODS RTF.
Are you expecting to see superscript in a LST file? Pretty sure Proc Printto only generates basic text for output directed to the listing destination which means all the ODS options like text color, background color, superscripts or subscripts are ignored.
Super script 2 is hex 'B2'x on extended ASCII table.
Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.
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.