04-22-2015 11:43 AM
Has anyone ever received this error message in their log before? What does it mean?
I am doing a very basic Excel output. My program is very large so I won't copy and paste, but here is my simple syntax for the ODS:
ods html close;
ods excel file='\\c\users\elbills\output\test.xlsx';
ods excel close;
And I get this...
NOTE: Writing package \\c\users\elbills\output\test.xlsx.
ERROR: ZIP entry duplicate name: _rels/.rels.
04-22-2015 12:39 PM
Rels in Open Office speak is a distinct list of values, its M$ way of trying to shrink file size. It suggests to me that something isn't being written correctly. Can you try a simple proc report with a sashelp table. If that writes fine then there is something in your other code causing it. Just add each item until you find it. If nothing writes then maybe tech support as ods excel is not production yet as far as I am aware.
04-22-2015 07:55 PM
I'm hoping it's a fluke with the ods Excel production and not my code, but thanks for your input! I'll try dissecting it when I get a chance; the output, itself, is fine once opened -- I'm just curious as to the error message.
04-22-2015 01:01 PM
Every time I've seen this message it's because I have (usually inadvertently) opened multiple destinations for Excel at the same time. Something like
ods excel file="a.xlsx";
ods excel file="b.xlsx";
You can open multiple destinations for Excel simultaneously, but you have to add an ID option:
ods excel(1) file="a.xlsx";
ods excel(2) file="b.xlsx";
04-22-2015 07:56 PM
Tried that, as well. I even thought maybe I ran so many ODS that something wasn't closed completely, so I restarted SAS...still did the error on my first 'submit'.