Hello,
I was using the following codes to download my results as an RTF file from SAS online studio, but now when I use it, the file doesn't download. So I need a help to download my result in RTF or word file.
ods rtf on ;
ods rtf file="myfilelocation\filename.rtf "style=sasweb startpage=no bodytitle;
title1'title1 ';
proc print data=data1;run;
title2'title2';
proc print data=data2;run;
ods startpage=yes;
ods rtf close;
Hello, I was using the following codes to download my results as an RTF file from SAS online studio, but now when I use it, the file doesn't download. So I need a help to download my result in RTF or word file.
ods rtf on ; ods rtf file="myfilelocation\filename.rtf "style=sasweb startpage=no bodytitle;
title1'title1 '; proc print data=data1;run;
title2'title2'; proc print data=data2;run;
ods startpage=yes;
ods rtf close;
Hello, I was using the following codes to download my results as an RTF file from SAS online studio, but now when I use it, the file doesn't download. So I need a help to download my result in RTF or word file.
ods rtf on ; ods rtf file="myfilelocation\filename.rtf "style=sasweb startpage=no bodytitle;
title1'title1 '; proc print data=data1;run;
title2'title2'; proc print data=data2;run;
ods startpage=yes;
ods rtf close;
What does the LOG show?
I expect the first statement to throw errors like this:
378 ods rtf on; -- 22 76 ERROR 22-322: Syntax error, expecting one of the following: EXCLUDE, SELECT. ERROR 76-322: Syntax error, statement will be ignored.
Copy the text from the log when run that code. On the forum open a text box with the </> icon that appears above the message box and then paste the text.
Hello, I was using the following codes to download my results as an RTF file from SAS online studio, but now when I use it, the file doesn't download. So I need a help to download my result in RTF or word file.
ods rtf on ; ods rtf file="myfilelocation\filename.rtf "style=sasweb startpage=no bodytitle;
title1'title1 '; proc print data=data1;run;
title2'title2'; proc print data=data2;run;
ods startpage=yes;
ods rtf close;
Multiple identical posts combined.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.