07-19-2012 10:45 AM
One of my co-workers works with CSV files that can be extremely large, with many columns. I have helped her use SAS EG 4.305 to successfully import/export these files. She would like to know if there is a limit to the number of variables EG can handle. I've searched the support site and did not find an answer to this question. Does anyone know?
07-19-2012 01:02 PM
I haven't laid my hands on it, but the limit is huge. And a bit fluid. You could hit the limit in different places. If you are reading the CSV file using the DATA step, then the limiting pieces are the INFILE statement (LINESIZE max is 1gigabyte) and the program data vector. I think that I have seen that the program data vector can have 4 million variables in it in SAS 9.x.
If you are using SAS import wizards, they may have some other limits that are not part of base SAS.