Previous Topic: Add the CASE OF (COMMAND) StatementNext Topic: CASE Login


CASE Register

The final step is to add the calls to the appropriate process action diagrams. The import views of each used action diagram will be matched to the import views of the server procedure and the export views of each used action diagram will be matched to the export views of the server procedure.

Follow these steps:

  1. In the CASE OF COMMAND statement, select the CASE statement next to the command value register. Then, from the Main Menu select Edit, then Add Statement, and then select Useā€¦. From the list of action blocks in the Add Statement dialog, select add golfer, and then select the Add push button.

    Any time you use an action block, the Toolset steps you through the process of matching views. In the top panel of the ADD GOLFER Import View Matching dialog, the Toolset is showing you all of the import views of the ADD GOLFER action diagram on the left side, with the views from the MAINTAIN GOLFER server procedure step action diagram that have been matched to them. Presently none are matched. We need to systematically select one import view in the called action block, match it to the appropriate view from the calling action block, and repeat that at a minimum for each required import view in the called action block.

  2. In the ADD GOLFER action diagram, there is only one required import view. Select IMPORT from the left side of the top panel, select IMPORT from the supplying views in the lower panel, and then select the Match push button. Notice that the top panel now shows that IMPORT GOLFER from the called action diagram ADD GOLFER has been matched to the IMPORT GOLFER in the calling action diagram MAINTAIN GOLFER.
  3. Select the Close push button to be presented with the export view-matching dialog. In the ADD GOLFER Export View Matching dialog, no export views exist for the ADD GOLFER process action diagram. Therefore, no view matching is necessary. Select the Close push button.