Resolution:
Add END METHOD sytax to properly terminate the METHOD; then recompile.
Example:
In the following example, the main static method is not terminated with end-method syntax. Add the end-method syntax.
       class-id a.
       method-id main static.