Quick fix
The JCL Editor provides 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:
- Place the cursor over the highlighted text. A small pop-up window displays the suggested fixes.
- Place the cursor on the light bulb icon and left-click.
- Place the cursor on the highlighted text and press Ctrl+1.
- Place the cursor over the text, right-click, and select Quick Fix.
- Place the cursor on the highlighted text and click Quick Fix.
The table below shows the quick fixes that are available in the JCL editor.
Quick fix | JCL |
---|---|
Correct misspelled keywords | Yes |
Correct misspelled variable names | No |
Add qualifier to ambiguous variable name | No |
Correct misspelled function name | No |
Change copybook or include file resolution settings | Yes |
Add a paragraph to PERFORM statement | No |
Search for copybook or include files | Yes |