MSIR.0863 CONSTRUCT only valid in constructor of an extension class: Difference between revisions
Jump to navigation
Jump to search
(Automatically generated page update) |
(Automatically generated page update) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
The Construct statement was used in an invalid context. As the message suggests, it can only be used inside a constructor, and that constructor has to belong to an extension class, since the Construct statement must contain the name of the base class for which the constructor is to be run. | The <var>Construct</var> statement was used in an invalid context. As the message suggests, it can only be used inside a constructor, and that constructor has to belong to an extension class, since the <var>Construct</var> statement must contain the name of the base class for which the constructor is to be run. | ||
{{Template:MSIR.0863 footer}} | {{Template:MSIR.0863 footer}} | ||
[[Category:MSIR.0800 - MSIR.0999]] |
Latest revision as of 23:35, 3 March 2017
The Construct statement was used in an invalid context. As the message suggests, it can only be used inside a constructor, and that constructor has to belong to an extension class, since the Construct statement must contain the name of the base class for which the constructor is to be run.
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 |