MSIR.0765 (method) not (what) in class (class)

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

A non-shared class member was accessed via shared member syntax or a non-constructor class member was access without a variable or class name. In the former case, %(classname) syntax is only allowed for shared members.

In the latter case, the %variable = method syntax is only allowed when method is a constructor, as in:

%myList = new

If the reference is for a system class, check the class documentation to determine which members of the class are shared members or constructors. If the object is a member of a SOUL class, see the class definition (Public, Private, Public Shared, and Private Shared blocks) to determine which members of the class are shared or constructors.


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