04-01-2016 07:53 AM
I am working on a project in SAS EG (7.1) which involves process dependence and parallel execution, as depicted below:
I have the following questions:
Thank you in advance.
04-01-2016 08:15 AM
You could check into Enterprise Guide Automation tools. I don't know off the top of my head if they contain the facilities you need, but they might.
Another option for "sequencing" your programs is to turn them into standalone code files, and inter-relate them using %include and %macro facilities.
When an EG process flow is dispatched for parallel execution, this is done under the covers using SAS code facilities. Whenever I need to do something like this, I set up a general example that doesn't do anything, get the sequence set up the way I want, and then scrape and modify the underlying SAS code as needed.
Hope this helps,
04-01-2016 08:37 AM
To do this by yourself, check the documentation for MP CONNECT (requires a SAS/CONNECT license). You need to use SIGNON, WAITFOR, SIGNOFF, RSUBMIT statments, and more.