MSIR.0806 Arrays not allowed in Public/Private block -- use Collections

From m204wiki
(Redirected from MSIR.0806)
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=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