At the time of the memory failure, your SAS process consumed 10G of RAM, and I suspect you ran into a limit set (wisely) by the SAS admin.
Use PROC EXPORT, as suggested. Or write your data to a csv file, which does not need to have all the XML data ready before running the zip.
Are you really trying to create a report with 600,000 lines?
I don't think that proc reports is responsible for the out-of-memory error, but ods excel. Try using proc export with the label-option instead.
At the time of the memory failure, your SAS process consumed 10G of RAM, and I suspect you ran into a limit set (wisely) by the SAS admin.
Use PROC EXPORT, as suggested. Or write your data to a csv file, which does not need to have all the XML data ready before running the zip.
Why would writing UTF-8 characters have any impact on writing a text file?
Here is a simple method to create a CSV file from a dataset. If you need a header line make that line first and use the MOD option on the FILE statement in the step that writes the data.
data _null_;
set have;
file 'mydata_noheader.csv' dsd ;
put (_all_) (+0);
run;
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.