When I create a RTF file but it ends up empty! I have done this a thousand times before and have never had a problem before. The difference this time, is that I have run two different macros previously in the program. What could have happened? I'm lost. While searching for an answer within the program, I have notice that after I have ran the macros, I cannot get any output to the 'results viewer' nor the output window. I guess it is a setting somewhere, somehow, but I cannot figure out what is wrong. The macros I have used can be found here http://support.sas.com/documentation/onlinedoc/stat/ex_code/121/templft2.html. and here https://stats.idre.ucla.edu/wp-content/uploads/2016/02/bcconf.txt Here is the 'standard' rtf code I have used: ods listing close; ods rtf file="S:\Projekt\XXX\Output\XXX_4juni2019.rtf"; ods escapechar='^'; title1 'Title'; proc report data=xxx_ut style(report)={font_face=times font_size=1 bordercolor=black} style(column)={just=left font_face=times background=white foreground=black font_size=1 bordercolor=black cellwidth=.6in} style(header)={just=center font_face=times background=white cellheight=.6in foreground=black font_size=1 bordercolor=black cellwidth=.6in}; COLUMN sorta cat1 pfs; DEFINE sorta / order order=internal noprint; DEFINE cat1 / display style(column)={just=left cellwidth=20%}'' style(header)={just=left cellwidth=20%} ; DEFINE pfs / display style(column)={just=left cellwidth=20%}'' style(header)={just=left cellwidth=20%} ; run;title;footnote; ODS rtf close; ODS listing; Many thanks for advice or ideas.
... View more