MSIR.0868 Invalid %this reference -- class (classname) not constructed

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

An implicit or explicit reference to %this was found in an extension class constructor, but not all base classes had a Construct statement for them yet. Implicit references to %this are any reference to a class member name (variable or method) with just the name after a percent sign (for example, %foo referring to the Foo method in the class). References to class variables or methods are not allowed until all base classes have been Constructed.

This problem might be caused by a missing Construct statement for a base class. If that's not the case, but the Construct follows the %this reference, it might be possible to move the %this reference after the base class Construct. For more information, see Inheritance and 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