BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Phil_NZ
Barite | Level 11

Hi all SAS Users,

I am wondering if there is any chance that I can run two programs continuously in SAS EG without clicking or else.

For example, I have two SAS programs here 

Phil_NZ_0-1616983423943.png

How come I let the program 25th_March part 2 run right after program 25th_March part 1 finish running with one set up in advance?

Warmest regards.

Thank you for your help, have a fabulous and productive day! I am a novice today, but someday when I accumulate enough knowledge, I can help others in my capacity.
1 ACCEPTED SOLUTION

Accepted Solutions
SASKiwi
PROC Star

@Phil_NZ - If you run a second program in EG while the first program is running then EG will automatically queue the second program and run it after the first one finishes. Alternately you could create a third program that runs the other two one after the other using the %INCLUDE statement:

%include '\MyPgmFolder\pgm1.sas';
%include '\MyPgmFolder\pgm2.sas';

View solution in original post

1 REPLY 1
SASKiwi
PROC Star

@Phil_NZ - If you run a second program in EG while the first program is running then EG will automatically queue the second program and run it after the first one finishes. Alternately you could create a third program that runs the other two one after the other using the %INCLUDE statement:

%include '\MyPgmFolder\pgm1.sas';
%include '\MyPgmFolder\pgm2.sas';

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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
  • 1 reply
  • 588 views
  • 1 like
  • 2 in conversation