Hi, I am currently facing the issue, that when I try to make a zip file of large .XPT datasets (>5Gb) in SAS EG the large datasets does not get compressed and the zip file is not created correctly. I do not get any error or warning and the zip file is created but the large dataset is not compressed as expected. I do not get this issue with smaller datasets it only occurs with these large datasets. I have tried to zip the file "manually" in windows and that works as it should and the large datasets get compressed as expected. Likewise I have tried to export the same large dataset as an csv file and then zip it, which works fine as well. I cannot figure out why this is happening, only that there could be a file size limit in SAS preventing me from doing this. I really hope someone can help me identify the issue and come up with a solution? I am using below code the create the zip file for your reference: ods package(newzip) open nopf;
data _NULL_;
set files_to_include;
call execute('ods package(newzip) add file="'||strip(file_path)||'"
path="'||strip(path_in_zip)||'";');
run;
ods package(newzip) publish archive
properties (archive_name="&zip_name..zip" archive_path="&place_zip_here.");
ods package(newzip) close;
... View more