01-20-2014 03:05 PM
I want to run the programs in the order as shown in the process tree, but NP_NPS_CROSS_CONSIDER QYY_Server.sas runs last, even though it is before a lot of programs and then some of the others fail as they depend on it. As you can see in the attachement, it is running last and the code after that has an "X".
How do you change the order of programs in the Process flow? SAS EG drives me crazy sometimes
01-20-2014 03:13 PM
What does the process flow diagram look like?
You can "link" programs to one another to control the flow I believe. Right click on the diagrams and link the files such that they represents your flow order.
This works in EG 5.1
01-20-2014 03:24 PM
Since I had run the project before, all the programs and the numerous data sets that each program created were in the process flow window, and although it was a pain, I dragged and dropped programs in the process flow window in the order that I wanted.
If there is a more efficient way to do this, I'll appreciate it. Thanks!
01-20-2014 04:04 PM
Linking in Enterprise Guide does not explictly control the order that tasks are performed.
You can explicitly specify the order of tasks by using "ordered lists". From the EG 4.3 Help documentation (sorry about the highlighting):
You can create a list of tasks and programs in the current project that can be run in the order that you choose. You can select objects from more than one process flow. In this way, you can group objects without changing their positions in process flows or their relationships to other objects. Each ordered list is available from the recently viewed items button at the top left of the workspace and in the project tree.
To create an ordered list of tasks and programs