/*notepad viewer I got tired of crowded results from SAS Viewer. How many times a day do I clear up results? I wrote this notepad viewer, so I can see my results each time fresh. Also there is a reason why I like this set up. I work with two computer monitors off one computer. I can see my SAS on the right monitor and see the notepad result on the left side. If I only had one monitor, this program won't help that much perhaps, but it further would crowd my single screen. (Is "crowd" a verb?) */ %let name_of_doc=C:\temp\example3.txt; option NOCENTER; PROC PRINTTO PRINT="&name_of_doc" new; RUN; options formdlim=' '; proc contents data=sashelp.adomsg; run; PROC PRINTTO PRINT=PRINT; run; quit; x "notepad &name_of_doc";