BookmarkSubscribeRSS Feed
KathyWiz
Calcite | Level 5

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?

Thanks!

1 REPLY 1
Doc_Duke
Rhodochrosite | Level 12

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.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 1419 views
  • 0 likes
  • 2 in conversation