An External Action Block is defined using the Action Diagramming Tool, which is part of the Design Toolset on the workstation. An External Action Block is an action block that requires only the following components:
Note: An External Action Block contains no action statements or action diagram logic of its own. The action block only contains the EXTERNAL statement.
The EXTERNAL designation tells CA Gen that a non-CA Gen generated program provides the data for the External Action Block's export views. The procedure step or action block that USEs the External Action Block supplies the import view data.
The following illustration is an example of an action diagram that defines the External Action Block READ_HISTORY.

The import views define the data that is passed from the CA Gen generated application to the External Action Block. The export views define the data that is returned to the CA Gen generated application from the External Action Block.
The External Action Block must be properly defined for CA Gen to be able to generate the code for the procedure step or action block that uses the External Action Block. Code generation does not automatically generate the code for the External Action Block. You can use the code generation tools to generate a stub for the External Action Block.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|