MSIR.0786 Result required for method/property
(Redirected from MSIR.0786)
A Return statement was coded in a Function or the Get method of a Property. Since both these methods return a value, a Return statement in one of these methods must have the returned value. See Classes and Objects for more information.
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 |