Your program contains an in-line comment. In-line comments are permitted in the non-mainframe dialect, but your program was compiled using a different dialect.
Resolution:
Recode your program so that it does not use in-line comments, or recompile it using the non-mainframe dialect.