A process is essentially a menu of functions.
A process named PROC01 with 3 functions named FUNC01 -> FUNC03 could be visualized like this:
If another process named PROC02 existed and had 2 associated functions called FUNC04 and FUNC05, then it could be visualized like this:
Both PROC01 and PROC02 can be independently invoked from within LANSA. However, it is possible to "attach" PROC02 to PROC01 by using the facilities discussed in the following sections.
If PROC02 was "attached" to PROC01, then PROC01 would now be visualized like this:
It is also possible to "attach" FUNC04 and FUNC05 directly to PROC01 (even though they are part of process PROC02). If this was done PROC01 could be visualized like this:
In fact, process PROC02 may have a process(s) "attached" to it. For instance, if process PROC03 was attached to process PRC02 and process PROC02 was itself attached to process PROC01, then process PROC01 could be visualized like this:
It can be seen from these examples that by "attaching" a process to another process a "hierarchy" of process menus can be created.
Some other points to note about this facility are:
Attached Processes/Functions in the Technical Reference Guide
Attachments Tab in the Visual LANSA User Guide.