MSIR.0788 Subroutines cannot have a datatype

From m204wiki
(Redirected from MSIR.0788)
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=0Sets online return code
RETCODEB=4Sets batch (single user) return code
CLASS=EError class; the message can be suppressed with the X'04' bit setting of the MSGCTL parameter
AUDITERWrites the message with line type ER to the audit trail
COUNTIncrements the error count (ERCNT) parameter
ECHODisplays the line that caused the error

Back to list of messages