The SAS Output Delivery System and reporting techniques

ERROR: ZIP entry duplicate name: _rels/.rels

Reply
Occasional Contributor
Posts: 9

ERROR: ZIP entry duplicate name: _rels/.rels

Hi all,

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.

Esteemed Advisor
Esteemed Advisor
Posts: 6,726

Re: ERROR: ZIP entry duplicate name: _rels/.rels

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.

Occasional Contributor
Posts: 9

Re: ERROR: ZIP entry duplicate name: _rels/.rels

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.

Super Contributor
Posts: 394

Re: ERROR: ZIP entry duplicate name: _rels/.rels

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";

Occasional Contributor
Posts: 9

Re: ERROR: ZIP entry duplicate name: _rels/.rels

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'.

Thanks Tim!

Post a Question
Discussion Stats
  • 4 replies
  • 1015 views
  • 0 likes
  • 3 in conversation