11-06-2017 02:17 PM
Does any one know how to embed my SAS code to an ODS output (such as RTF file)? I know there are ways in other software language like R for doing so.
Right now I have to copy and paste the SAS program (the codes that generate the report) to the report after I opened the report in a different software.
Thanks in advance,
11-06-2017 07:22 PM
I don't know an easy option, if your code is generated using a macro, you could use the mprint and mfile options to output your macro generated syntax to a temp file, then reread it in and print it to whatever you're output is.
11-06-2017 07:52 PM
If you are using SAS/Studio interface you can use the Program Summary menu item to see a combined program/log/output in your browser. You could then save that as a report.
11-07-2017 10:06 AM
Also check out the Jupyter notebook option.