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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 795 views
  • 0 likes
  • 3 in conversation