From m204wiki
Revision as of 18:04, 13 March 2018 by DmeWiccan (talk | contribs) (Automatically generated page update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

M204.2861  Occurrence counter fieldname overflowed

An occurrence was added of a "counted" field (one that is the target of a COUNT-OCCURRENCES-OF field) which already has the maximum number of occurrences that can be counted. The maximum number of occurrences depends on the field attributes of the field defined as COUNT-OCCURRENCES-OF. The limit is at most X'3FFFFFFF' (1,073,741,823); the limit is less for the following COUNT-OCCURRENCES-OF field types:

  • OCCURS STRING: the largest number represented by a decimal number of the given LENGTH
  • FLOAT LEN 4: 1,000,000

The name of the field that is defined as COUNT-OCCURRENCES-OF is shown in the message as fieldname.

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
CANCELCancels the user's request
COUNTIncrements the error count (ERCNT) parameter

Back to list of messages