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: 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!

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.

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