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';

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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