MSIR.0758 Class (class), (method) returns no value so can only be used in standalone call

From m204wiki
(Redirected from MSIR.0758)
Jump to navigation Jump to search

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=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