MSIR.0871 Error compiling implied Construct of class (classname) for class (classname)

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