Previous Topic: Recompile CodeNext Topic: List a Procedure Action Diagram


Resolve External Action Blocks

When you select X in the Load Module Expansion panel, CA Gen displays a panel to enter the names of the DB2 DBRMs for external action block. CA Gen procedure steps and action blocks use external action blocks to access logic that is defined in subroutines that are created outside CA Gen. Resolve external action blocks that use embedded SQL. Resolving an external action block means identifying DB2 DBRMs associated with it. You must do this before installing CA Gen procedure step or action block that uses the external action block.

When you resolve an external action block, you also change the external action block member name. If an external action block does not use embedded SQL, you do not need to resolve it.

Follow these steps:

You do not need to resolve the external action block if it does not contain embedded SQL. You can resolve an external action block from the Load Module Expansion panel for online or batch load modules.

  1. On the Application System Construction menu, type 1 for the Generate business system option and press Enter.
  2. On the Generate Business System panel for online and server load modules or the Batch Job Expansion panel for batch load modules.
  3. Type an E to expand the load module or job step that contains the external action block to generate.

    CA Gen displays the Load Module Expansion panel.

  4. Type an X next to the external action block and press Enter.

    CA Gen displays the External Action Block Resolution panel.

  5. When changing the load module name, that is, the external action block member name, type the new name.
  6. If the external action block references a database, type the name of the DB2 DBRM.

    You can specify up to 60 DBRMs. A DBRM name is a maximum of eight alphanumeric characters. The first character must be a letter.

  7. Press Enter to save the changes or click Cancel to cancel.

    CA Gen displays the Load Module Expansion panel.

More information:

External Action Blocks