MSIR.0872 (attribute) not valid for (memberType)

From m204wiki
Jump to navigation Jump to search

A keyword was specified on a member declaration that does not make sense. For example, a method was declared as Abstract, but the class in which it is contained is not Abstract. Or, Overridable or Abstract was specified for a constructor — but constructors cannot be overridden. If it is unclear why the keyword does not make sense, see Classes and Objects.


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