BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
DanH_sas
SAS Super FREQ

If you are using ODS RTF, the default output type is EMF. Let's take EMF out of equation. Add this statement before your PROC SGPLOT run;

 

ODS GRAPHICS / outputfmt=png;

 

Let me know if that works better.

Manvel
Obsidian | Level 7

Man you are a hero thanks thanks thanks a lot I tried a lot of ways but nothing, you are the best.

Manvel
Obsidian | Level 7

This is the start and the end

ods listing close;
options source notes orientation=landscape;
ods escapechar="!" ;
ods &OUT. file="&outp.\&ta..&OUTT" style=&STY. nogtitle nogfootnote;
ods graphics / reset height = 4.5in width = 9.5in border=off; 


**********Above Code****************



ods graphics off;
ods rtf close;
ods listing;

DanH_sas
SAS Super FREQ

As a matter of practice, you might want to change:

ods rtf close;

to be:

ods _all_ close;

so that when &OUT. changes, you are guaranteed to close the destination.

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
  • 18 replies
  • 3925 views
  • 2 likes
  • 4 in conversation