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
Learn from the Experts! Check out the huge catalog of free sessions in the Ask the Expert webinar series.
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 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 2776 views
  • 0 likes
  • 6 in conversation