Managing the warnings in the Problems view

You manage the warnings in the Problems view by applying quick fixes to them.

To apply a quick fix, right-click a warning and select Quick fix. In the Quick fix wizard, select the appropriate quick fix and click Finish. The following quick fixes are available:
  • Remove warning. If you select this quick fix, the warning is removed and the line is displayed like all the other specific lines. However, if this difference is detected again upon the next generation, this warning will be displayed again.
  • Validate the migration. If you select this quick fix while the PDP editor is open, the Compare editor opens. This editor displays both the Pacbase code and the local code. It emphasizes all the differences that are detected in these two codes.
    The local code can be modified. You can then copy the lines of the Pacbase file into the local file. You can proceed in two ways:
    • Copy all the nonconflicting changes by clicking the corresponding button in the toolbar. You must manage the remaining changes individually.
    • Select a change in the Pacbase file and copy it into the local file. You can place the cursor at the insertion point or click the toolbar button with which you can copy the currently selected change.
    Note: If you do not want to keep your changes, you can close the PDP COBOL editor without saving.

    After this manual validation, run a new local generation. As the migration help function is disabled, the warnings are no longer calculated. You must then save the locally generated code. It replaces the Pacbase generated code. You can then work on the instance.

    If you select this quick fix while the PDP COBOL editor is closed, the local code is implicitly saved. The local code automatically replaces the Pacbase generated code and the warnings are removed.

    However, if the PDP COBOL editor is open, you must save the code.

  • Show differences. If you select this quick fix, the Compare editor opens. This editor displays both the Pacbase code and the local code, in a fragmented way. It emphasizes the differences that are detected in the two codes.

    With this quick fix, the code of the locally generated file cannot be modified directly in the Compare editor.

  • Show differences on the whole file. This quick fix is identical to the previous quick fix, except that the Compare editor displays the file content as a whole.

    With this quick fix, the code of the locally generated file cannot be modified directly in the Compare editor.


Feedback