COBCH1847 Could not find main method method-name

The specified static method name or procedural COBOL program name was not found.

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.