MSIR.0758 Class (class), (method) returns no value so can only be used in standalone call
(Redirected from MSIR.0758)
A method was included as part or all of a User Language expression, but that method does not return a value. Such a method can only be implicitly or explicitly Called outside of any expression context. If the object is a member of a system class, check the method documentation to determine its intent. If the object is a member of a User Language class, either correct the method declaration and definition or the statement flagged by this error.
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 |