The Generation Manager
The generation manager lists all the instances that must be generated again in the location. A pdp file must exist for all of them. The generation manager indicates all the files whose code is desynchronized with the design of the instance itself or of an instance that is involved in its generation. You must use it to request a multiple or global regeneration of the desynchronized files in the local workspace.
To display this view, select
.
- Design displays all the instances to be generated again in the opened location. These are the instances of the generatable entities such as Programs, Screens, Copybooks, or Error Messages.
- Generation product displays the generated files of the instances that are displayed in the Design column. Several files can be generated for one instance. For example, the COBOL file and the map file are generated for a Screen.
- Pattern displays the pattern that was used for each generation, such as batch, dialog, copybook, or errorlabel.
- Modified design displays the instances
whose design was modified. These instances are the generatable instances
themselves, or instances that are called in generatable instances.
For example, if the format of a Data Element that is called in Programs
was modified, all the Programs that call the Data Element are indicated.
The generation manager creates as many lines as Programs that call
this Data Element.
If several modifications were brought to the same design, only one line is displayed for the first modification. The number of additional modifications is displayed between parentheses.
- Generation date displays the date of the last generation for each instance. Blank lines correspond to instances that have never been explicitly generated. These instances have been automatically generated by the migration help but never validated.
- To regenerate indicates whether the instance
that is displayed in the Design column must
be generated again.Important: If a design that is used in the generation of an instance was modified, all the instances that use the modified design are displayed in the To regenerate column. For example, if a keyword was added to a Library, all the instances that use the generation parameters of this Library are to be generated again.
- Error in design indicates whether the instance that is displayed in the Design column contains an error. If so, it cannot be generated again.
You can select multiple lines. You can also select all the lines with Ctrl + A. The number of the selected lines is indicated.
With the contextual menu, you can open the design or the COBOL editor of the instance, or generate the instance again. If you select more than one line, you can then start a multiple regeneration.
You can sort the columns in the ascending or descending order of their line values by clicking the arrow in the header of each column. You can also click the upside-down triangle (View menu) in the view toolbar and select Sort by. You can specify a sort order for each column. For example, the first column can be sorted in an ascending order while the second column is sorted in a descending order. When the same value is displayed on several lines, the column is sorted on the previous columns.
You can display the short labels in the Design, Generation product, Pattern, and Modified design columns. To do so, click the upside-down triangle (View menu) in the view toolbar, select Display the short labels, and select the appropriate columns. You can then remove the display of the location and the project hierarchy in the first three columns. In the Pattern column, you can display the pattern name only.