MSIR.0806 Arrays not allowed in Public/Private block -- use Collections
Jump to navigation
Jump to search
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 |