MSIR.0788 Subroutines cannot have a datatype
Jump to navigation
Jump to search
This is a compilation error for a class or structure definition. Class functions and properties require a datatype, that is, an Is clause (although the keyword Is is optional). A class subroutine may not have a datatype.
Message attributes:
RETCODEO=0 | Sets online return code |
---|---|
RETCODEB=4 | Sets batch (single user) return code |
CLASS=E | Error class; the message can be suppressed with the X'04' bit setting of the MSGCTL parameter |
AUDITER | Writes the message with line type ER to the audit trail |
COUNT | Increments the error count (ERCNT) parameter |
ECHO | Displays the line that caused the error |