BookmarkSubscribeRSS Feed
Lost_Gary
Quartz | Level 8

I have multiple programs within an EG project that I have on a schedule (just Windows task scheduler on my desktop).  The scheduled task is to run the entire EG project (all programs).  Each program is a slight variance of the other as tweaks were made to request other output. So, I have utilized the same data set names within every program.  For instance, program 1 may look at q1 data and program 2 may look at q2 data, but I call the data set work.analysisdata in both programs.  Is that a problem within the schedule as there is only 1 work library?  or does SAS EG silo each program run so that my results will not be impacted?

Sorry - this may seem like a question too basic for this forum, but I can't seem to find that answer.  

 

3 REPLIES 3
Kurt_Bremser
Super User

All  your program nodes work in the same environment, which means that datasets with an identical name will be overwritten, and only the last version will survive.

With temporary datasets, created and used within a node only, this is not an issue, but results will only have the last one.

Lost_Gary
Quartz | Level 8

Does EG run each scheduled program within a project sequentially or concurrently?  And if concurrently, can this cause issues with using the same dataset names?   

Kurt_Bremser
Super User
EG can run codes in parallel, but for this, parallel processing needs to be enabled for the project, and you need to define nodes as parallel in the project flow.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1467 views
  • 0 likes
  • 2 in conversation