Managing the warnings in the Validation Manager view

This view displays all the migrated COBOL files that contain migration warnings. It takes into account the applied validation types that are indicated in the preferences Pattern Driven Programming > Migration validation. With this view, you can validate the migration without opening the compare editor and manually copying the changes.

The view contains the following columns:
  • The Design column displays the design files that are related to the generated COBOL files of the second column.
  • The Generated COBOL column displays the COBOL files that contain generation differences.
  • The Total warnings number column indicates the number of warnings after the migration help. The Migration warnings visible option has no impact on the number that is indicated in this column. All the migration warnings are counted.
  • The Remaining warnings number column indicates the number of warnings that remain after the application of the validation types indicated in the preferences.
  • The Validation types column indicates the ranking number of the validation type as it is displayed in the table of the preferences. Hover the mouse pointer over the number to see the validation type name.
A contextual menu is available on each line. It contains the following choices:
  • Open the design editor of the instance.
  • Open the COBOL editor of the instance. The COBOL code is displayed in the PDP COBOL editor.
  • Validate the selected line. The line disappears from the list. The compare editor opens. It displays the COBOL code from the Pacbase generation and the locally generated code. Copy the changes as applicable and validate by clicking OK. This option is identical to the Validate the migration quick fix in the Problems view.
  • Validate the migration for all the selection. You can select more than one line in the list and automatically validate the migration according to the options of the preferences. This menu item is available on the lines whose Remaining warnings number is zero. If warnings remain after the application of the validation types, you must decide whether to keep the local code or overwrite it with the Pacbase code

    When you click OK, the generation starts on all the instances of the selected lines. Their migrations are automatically validated, so the lines disappear from the list.

  • Rebuild (rebuild finished). You can select this menu item to ensure that the validated migration does not contain any incoherence. You can also select it if a rebuild was started but canceled. This task can run in the background.

You can select multiple lines. You can also select all the lines with Ctrl + A. The number of the selected lines is indicated.

You can sort the lines in the columns. It facilitates the multiple selection of the lines where no warning remains after the application of the validation types.

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 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.


Feedback