MSIR.0868 Invalid %this reference -- class (classname) not constructed
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=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 |