Resolution:
Correct the code; then recompile.
Example:
The following example shows code that would throw this error.
$set ilmain(Hello)
class-id Err1847.
method-id main static.
display "Hello"
end method.
end class.