BookmarkSubscribeRSS Feed
gx2144
Calcite | Level 5

Hi, I had a problem when outputting the result into word document.

Here is the log

ERROR: Unable to load module 'MSWord' from template store!
ERROR: No body file. WORD output will not be created.

Can anybody help?

 

Appreciated!

3 REPLIES 3
ballardw
Super User

The LOG to describe a problem should include the Proc or data step code plus ALL the messages, notes, or warnings as well as errors.

In the case of ODS output related issues you should also include the ODS destination statement.

 

"Body file missing" often points to incorrect syntax specifying the destination file for ODS.

gx2144
Calcite | Level 5

I think I did not include the complete code. Here is my complete log.

263  ods word file = "C:\Users\xuguang\Documents\My SAS Files\9.4\pulmonary\outliers.docx";
ERROR: Unable to load module 'MSWord' from template store!
ERROR: No body file. WORD output will not be created.
Reeza
Super User
There is no ODS WORD, it's still pre-production so I would avoid it still. There is ODS RTF however that can be used.

https://documentation.sas.com/?docsetId=odsug&docsetTarget=p10mxeb6wxqfjgn1p5u0w4t8qf20.htm&docsetVe...

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 3 replies
  • 966 views
  • 0 likes
  • 3 in conversation