MSIR.0806 Arrays not allowed in Public/Private block -- use Collections: Difference between revisions
Jump to navigation
Jump to search
(Automatically generated page update) |
(Automatically generated page update) |
||
Line 2: | Line 2: | ||
{{Template:MSIR.0806 footer}} | {{Template:MSIR.0806 footer}} | ||
[[Category:MSIR.0800 - MSIR.0999]] |
Latest revision as of 23:35, 3 March 2017
An Array was declared inside a class's Public or Private block. As this message indicates, this is not allowed, and as the message further indicates, a collection class makes an adequate substitute for arrays in this context. In fact, for more purposes, collections are more flexible and easier to work with than arrays.
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 |