BookmarkSubscribeRSS Feed
Just_Berto
Calcite | Level 5

Hi all,

 

as the title says, is it possible (and if yes, how) to call several projects from a 'master' project?

 

I've been given a very messy library of many SAS projects and I'm trying to automatize their working without going mad in digging their sorce programs.

 

Thanks in advance for the help!

4 REPLIES 4
DBain
Fluorite | Level 6
just use %include in your master program. e.g.

%include /path/to/subprogram1.sas;
%include /path/to/subprogram2.sas;

this will execute all the code in subprogram1.sas then all the code in subprogram2.sas
Just_Berto
Calcite | Level 5

Thanks DBain. However I already tried with the %include and it seems to work only with .sas files, and not with .egp files: every time that i run it with a path to an .egp, it throws random errors.

DBain
Fluorite | Level 6

I think you would have to export the EG projects as .sas files and then include them with %include.

 

This is one of the reasons that we have moved all our production jobs from EG to DI studio.

SASKiwi
PROC Star

If you want to productionise and schedule EG projects then I'd suggest exporting projects to SAS programs and schedule these on your SAS App server. Doing this on PCs is not reliable or easy to support. 

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!

Register now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 4 replies
  • 3223 views
  • 0 likes
  • 3 in conversation