Problem: When using content assist in the COBOL
editors, the IF statement or any variation of it is not shown in content
assist directly after SQL statement.
The "sentence" ending period in COBOL following END-EXEC is optional
in many cases depending on the program structure. If the sentence
ending period is not included, the IF statement or any variation
of it will not be displayed.
Workaround: Add the "sentence" ending period in COBOL following
END-EXEC
Note: The IF statement is not valid in DATA DIVISION / WORKING-STORAGE
SECTION, so if you place the cursor in that area, IF will not be proposed
by content assist.