BookmarkSubscribeRSS Feed
rkumpfmiller
Calcite | Level 5

When using the ods tagsets.rtf to open the rtf stream for the word document, I consistently get an I/O error or Insufficient Memory. However, when I set the ODS close statement to "ods html close" the memory error goes away and the memory used by the system is much less. Is there a reason why this happens? Is it okay to close the ODS stream with a different format type?

 

1 REPLY 1
Kurt_Bremser
Super User

If you are using a frontend like SAS Studio or Enterprise Guide, the selected (in Options) output type(s) will always be prepared by automatically sent ODS code. You can either close those destinations manually in your code, or you can de-select all output types in the options.

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
  • 1 reply
  • 1141 views
  • 0 likes
  • 2 in conversation