Hello,
Using the code below under sas 9.4 sends this message "
ERROR: Not enough memory to store all matrices."
Please, could advise a solution
data test;
set sashelp.cars;
do i= 1 to 10000;
output;
end;
run;
proc iml;
use test;
read all var _ALL_ into A[colname=varNames];
close test;
quit;
ERROR: Not enough memory to store all matrices.
statement : READ at line 36 column 2
What's MEMSIZE set to in your config file?
The system option that Reeza mentions is discussed in this article: "Large matrices in SAS/IML 14.1"
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.
Find more tutorials on the SAS Users YouTube channel.