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