Have you tried this method?
filename CSV "%sysfunc(pathname(WORK))/file.csv";
ods package(zipout) open nopf;
ods package(zipout) add file=CSV path="/";
ods package(zipout) publish archive
properties (archive_name="file.zip"
archive_path="%sysfunc(pathname(WORK))");
ods package(zipout) close;
... View more