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.
Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.
Explore Now →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.