Previous Topic: Generating the ModelNext Topic: Generate Source Code with Trace


Generating Flagged Components

To generate and install code selectively, you must select the objects individually and then set the generation flags. You select the objects by highlighting one or more components from the object occurrence lists and selecting Add or Expand. This adds the objects to a list of component objects you want to generate. You can set the generation flags in the object occurrence lists or in the Application Generation window.

The code generation flags are:

As an example, business systems contain load modules, which contain procedure steps, which contain action blocks. Select a load module, its procedure step and its action blocks, and Add them. From the Application Generation window, set the code (C), install (I), and apply to all subordinates (A) flags. When you select Flagged from the Generate menu, this tells CSE Construction to generate code for the flagged objects and all of their subordinate objects, and to install the code into a remote file.

Note: If you select the Apply to All Subordinates option for an object and then manually add one of its subcomponents to the window with different generation options, the subcomponent will be generated using the generation options set for it.

For more information about the selection process, see the chapter Construction Concepts.

Note: Referential Integrity (RI) trigger modules are necessary for the application to work properly. Be sure to generate the RI triggers when you generate remote files.