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.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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
  • 4272 views
  • 2 likes
  • 4 in conversation