Illegal RESUME statement
In a Resume statement, you used a numeric to specify the statement at which execution is to continue. If you specify a numeric element in a Resume statement, it must evaluate to zero.
Remove the element or change it to an integer constant or literal with a value of zero. Resume and Resume 0 have the same meaning.