Writing multiple graphs that are produced with the ODS POWERPOINT, ODS EXCEL, or ODS WORD destinations might result in the following error:
ERROR: ZIP entry duplicate name
The error occurs when multiple graphs with the same name are written to the open SAS® Output Delivery System (ODS) destination:
- With ODS Statistical Graphics (SG) procedures (such as the SGPLOT procedure), the error occurs when multiple graphs are created with the same value for the IMAGENAME= option in the ODS GRAPHICS statement.
- With SAS/GRAPH® procedures (such as the GPLOT procedure), the error occurs when multiple graphs are created with the same GRSEG entry name.
To prevent the error, make sure that each graph that the code creates has a unique name:
- When you use multiple SG procedures, either specify unique graph names via the IMAGENAME= option in the ODS GRAPHICS statement or remove the RESET=ALL or RESET=INDEX option from the ODS GRAPHICS statement.
- When you use multiple SAS/GRAPH procedures, do not delete any GRSEG catalog entries in the middle of the code (while the ODS destination is open).
Note: The ODS EXCEL destination is available beginning with the SAS® 9.4M3 (TS1M3) release. The ODS WORD destination is a preproduction feature with SAS® 9.4M6 (TS1M6).