The PDP COBOL editor provides additional functions to the standard COBOL editor. You can modify the COBOL code while clearly seeing the origin of all the code lines (generated lines, Macro lines, or specific code lines), the deleted or overwritten lines, and the potential problems detected by the reconciliation.
Here you can modify the generated code to adapt it to your particular needs. Modifying the generated code includes inserting code in the generated code, removing generated code or overwriting generated code.
You can use micropatterns or snippets to insert code.
To help you make these user-specific changes, all the advanced functions of the PDP COBOL editor are available: cut/copy/paste, a great array of possible selections, filter view, debug, compare with, local syntax check, content assist by pressing the Ctrl and space keys, and so on.
The specific changes are emphasized by a specific color (which you can change by selecting Pacbase source is different from the same line produced by the local generator. As long as you do not decide otherwise, the line coming from Pacbase is kept.
). For example, a DATE-COMPILED line might be colored because the date coming from theThe PDP coloring, on top of the COBOL editor coloring, identifies the origin of the lines.
You can change these PDP default colors by selecting .
A warning is also displayed on the first line if the generated COBOL is no longer synchronized with the elements that constitute the design of the generated instance. This warning informs you that a new generation is required. If only one of the design files has been modified since the last generation, this file is indicated in the warning. However if several design files have been modified, only the first file is indicated, followed by suspension points.
The PDP COBOL editor indicates a modified state with a * in the tab title of the editor when the .cbl file being edited is directly modified or when one or more referenced design files are modified. When you modify an instance (a Data Element for example) referenced in the COBOL file being edited, the PDP COBOL editor displays a modified state. To undo the changes in the editor and in the model instances, right-click and select Revert File.