NEXT SENTENCE should be used only in either branch of an IF statement or the WHEN branch of a SEARCH statement.
Revise your code to ensure that you have obeyed these rules.
Related Topics: