Quick fix

The COBOL Editor, JCL 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 Real-Time Syntax Checking preference must be enabled.
When a quick fix is available for a warning or error annotation, a light bulb icon is added to the annotation icon. To display the suggested fixes: If one of the suggestions fixes the issue, select the item. The highlighted text is replaced with the suggestion.
Table 1 shows the quick fixes that are available in the COBOL, JCL, and PL/I editor. The CICS/SQL/DLI column indicates the quick fixes that are supported for EXEC CICS, EXEC SQL, and EXEC DLI statements in COBOL and PL/I source files when you use the COBOL Editor and PL/I Editor.
Table 1. Quick fixes available in each editor
Quick fix COBOL PL/I JCL CICS/SQL/DLI
Correct misspelled keywords Yes Yes Yes Yes
Correct misspelled variable names Yes Yes No Yes
Add qualifier to ambiguous variable name Yes Yes No No
Correct misspelled function name Yes No No No
Change copybook or include file resolution settings Yes Yes Yes Yes
Add a paragraph to PERFORM statement Yes No No No
Search for copybook or include files Yes Yes Yes Yes

Feedback