I have seen this question asked and answered many different times in many different places. But in all my years I've never known a programmer who seems in practice to really know.
So, is there a simple way to control the order of execution of the objects in a batch EGP? It seems the execute by default in the order they were added. So there is an order. I just don't know how...
The order of execution is defined by the order in the process-flow, not by the order in the process tree. To ensure proper execution order, connecting the programs is recommended.
I went to <file> and <new>, and set up an ordered list. It seems to work...
although, actually, as soon as one program has an error, it stops executing.
@davehalltwp wrote:
I went to <file> and <new>, and set up an ordered list. It seems to work...
although, actually, as soon as one program has an error, it stops executing.
Well, i would call stopping execution when an error occurs the expected and wanted behaviour.
You right-click on a program and choose "connect to" - the exact name of the menu entry could depend on the version of SAS EG you are using.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.
Ready to level-up your skills? Choose your own adventure.