MSIR.0871 Error compiling implied Construct of class (classname) for class (classname)
Jump to navigation
Jump to search
At the end of the Public block for an extension class, an implied constructor is generated if the Public block did not contain Disallow New. This implied constructor simply contains a Construct statement for the New method of each base class.
The most likely cause of this error is that one of the base class New constructors has one or more required parameters. Either remove or make optional the base class constructor parameters, or write an explicit extension class constructor that passes the appropriate parameters to the base class constructor.
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 |