Rational Developer for System z

Quick fix

The System z® COBOL Editor and PL/I Editor provide suggested changes to resolve a warning or error annotation in the editor. To use the quick fix function, the Annotation and Tooling preference must be enabled.
When a quick fix is available for a warning or error annotation, a light bulb icon appears with the annotation icon. To display the suggested fixes, do one of the following: If one of the suggestions fixes the issue, select the item and the highlighted text is replaced with the suggestion.
Table 1 shows the quick fixes that are available in the COBOL and PL/1 editor. The CIC/SQL/DLI column indicates the quick fixes supported for EXEC CICS®, EXEC SQL, and EXEC DLI statements in COBOL and PL/I source files when using the PL/1 Editor and COBOL Editor.
Table 1. Quick fixes available in each editor
Quick fix COBOL PL/1 CICS/SQL/DLI
Correct misspelled keywords Yes Yes Yes
Correct misspelled variables names Yes Yes Yes
Add qualifier to ambiguous variable name Yes Yes No
Correct misspelled function name Yes No No
Change copybook resolution settings Yes Yes Yes
Add a paragraph to PERFORM statement Yes No No
Search for copybook or include files Yes Yes Yes

Feedback