An executable load module contains every action block used by the procedure steps or by other action blocks in the load module. A single copy of the action block is packaged in the load module, regardless of how many procedure steps within the load module use it.
CSE Construction supports the use of common action blocks. This means that any action block defined in a model can be used by any other action block or diagram in that model. This applies even if the action block is not scoped within a business system that USEs the action block, provided that both action blocks are generated for the same target environment.
The following table shows the effect of generating a common action block with different override paths enabled. In the table, the same common action block was selected by expanding different procedure steps from two separate business systems.
|
Override Target Environment |
Override Paths |
Effects |
|---|---|---|
|
Yes |
No |
Common action block is displayed twice on the list. The common action block is generated twice, once for each business system. |
|
No |
Yes |
Common action block is displayed twice on the list. The common action block is generated twice, once for each business system, into the override path's location. |
|
Yes |
Yes |
Common action block is displayed twice on the list. The common action block is generated once into the override paths location, using the override target environment. |
|
No |
No |
Common action block is displayed twice on the list. The common action block is generated twice, once for each business system into its separate paths. |
When the option Process modules marked for Compatibility is selected, the code is still generated as per this table but the same code is compiled twice, once with the compiler option NODLL and again with the compiler option DLL.
If a common action block is not generated within its associated business system, you receive an error message from the Construction Client noting unresolved external references.
|
Copyright © 2013 CA.
All rights reserved.
|
|