Hi,
We don't have EG in our environment and one of the features I've always liked in it is the ability to specify multiple concurrent processing streams that can get combined later when something like a merge takes place.
I've been thinking about how to create that with semaphores (probably 1 byte files) to kick off a similar environment using call system() or something similar.
Has anyone done this already? Would love to hear how you did it.
Thanks!
--Ben
On UNIX, you do this in a shell script:
sas prog1.sas& sas prog2.sas& sas prog3.sas& wait
The three SAS programs will be executed in parallel, and the script will terminate when all three SAS programs have finished.
Call this script from the main SAS program in a manner that makes SAS what for its termination.
Yeah, Unix variants have much nicer toys than Windows. This is on a Windows server, unfortunately.
--Ben
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!
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.