BookmarkSubscribeRSS Feed
WLP165
Calcite | Level 5
I'm trying to import multiple CSV files into SAS datasets. After running the code in EG (v4.1), I get the following message:

"There were 106 data sets created, however only the first 50 data sets were added to the project."

Any ideas? All of the input CSV files appear complete, and the other SAS data set being referenced and used by the program appears complete.
5 REPLIES 5
ChrisHemedinger
Community Manager
With EG 4.2, there is an option in Tools->Options to let you configure how many data sets to add to the project automatically. Default is still 50, but you can raise it or lower it (even to zero) if you want.

Chris
It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.
Sergio_Mora0713
Calcite | Level 5

Can you change this option in the code itself? I have this option where I am creating about 110 small tables. I can change my options but I will need someone else to run this for me eventually. How can I code for this?

SASKiwi
PROC Star

Unfortunately not. There is no limitation in your SAS session and you can't change EG settings with SAS code. It can only be done in EG itself. 

TomKari
Onyx | Level 15

One thing I do when I'm in a situation like this, if the scenario fits:

 

i) delete overall dataset

ii) in a macro, read in the data to a temp dataset, append to the overall dataset, delete the temp dataset

 

And then cycle the macro for all of the datasets. That way the single datasets that are input won't show up in the project.

Tom

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
  • 5 replies
  • 2407 views
  • 0 likes
  • 6 in conversation