BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
BruceBrad
Lapis Lazuli | Level 10

I get the following warnings on the log. Why is it trying to use the SVG format?

 

36         ods _all_ close ;
37         ods noproctitle;
38         options papersize=A4 orientation=portrait;
39         ods graphics on /reset=index outputfmt=PNG;
40         ods rtf  style=bbfp file="&cpa\&prog..rtf"  image_dpi=300 bodytitle;
WARNING: Unsupported device 'SVG' for RTF destination. Using default device 'EMF'.
NOTE: Writing RTF Body file: C:\Users\bruce\OneDrive - UNSW\docs\CPA\HILDA\CPA3.rtf
41         ods html style=bbfp path="&userprofile\SASImages" gpath="&userprofile\SASImages"  image_dpi=300;
NOTE: Writing HTML Body file: sashtml8.htm
42         ods escapechar="~";
43         ods  Excel file="&cpa\&prog..xlsx" style=BBfp
44              options(sheet_interval='NONE' embedded_titles='yes')  ;
WARNING: Unsupported device 'SVG' for EXCEL destination. Using default device 'PNG'.
1 ACCEPTED SOLUTION

Accepted Solutions
Cynthia_sas
Diamond | Level 26
Hi:
It's just a warning. All it means is that in some previous job, the graphics device was set to SVG (that is the default for some of the destinations) and when your RTF step was submitted, the SVG was still in effect. Look here: https://go.documentation.sas.com/?docsetId=graphref&docsetTarget=p1vzbqx343n04pn1h0hquiiipk4b.htm&do... in the documentation to see the devices that are supported by each destination. To work around this, all you have to do is issue a
goptions device=png;
or else, if you are using Enterprise Guide, you can change the device settings in the EG Options window under (Tools).

Cynthia

View solution in original post

2 REPLIES 2
Cynthia_sas
Diamond | Level 26
Hi:
It's just a warning. All it means is that in some previous job, the graphics device was set to SVG (that is the default for some of the destinations) and when your RTF step was submitted, the SVG was still in effect. Look here: https://go.documentation.sas.com/?docsetId=graphref&docsetTarget=p1vzbqx343n04pn1h0hquiiipk4b.htm&do... in the documentation to see the devices that are supported by each destination. To work around this, all you have to do is issue a
goptions device=png;
or else, if you are using Enterprise Guide, you can change the device settings in the EG Options window under (Tools).

Cynthia
BruceBrad
Lapis Lazuli | Level 10

Thanks. That stops the warning message.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 19458 views
  • 3 likes
  • 2 in conversation