SLC Support
REQUEST
I’ve been trying to get ODS POWERPOINT to work, but I couldn’t get it running even in the
simplest example. Below is the error message I encountered.
Could you please take a look and advise? It might be related to the required Apache POI JAR
files. Based on my understanding, installing the necessary JARs should help:
1 .Download the poi-ooxml and poi-ooxml-schemas JAR files (version 4.1.0 or higher,
matching your SLC Java version) from apache.org/poi.
- Place them in the SAS Java classpath — for instance, by updating your SLC configuration
using -Djava.ext.dirs or by setting the appropriate options in slc.cfg.
Any guidance or confirmation on the proper setup would be greatly appreciated!
REPRODUCIBLE EXAMPLE
ods powerpoint file="d:/lgs/ppt/logistic_tables.ppt" ;
libname slchelp sas7bdat (sashelp);
proc print data=slchelp.zipcode(obs=5 keep=zip);
run;quit;
/--- WARNING: ODS POWERPOINT is currently EXPERIMENTAL and is subject to change ---/
/---
ERROR: Failed to create ODS POWERPOINT destination: Cannot load class
org.apache.poi.xslf.usermodel.XMLSlideShow
org.apache.poi.xslf.usermodel.XMLSlideShow
WARNING: The ODS POWERPOINT destination has encountered an error
and has been closed: see previous log message
---/
ods powerpoint close;