Previous Topic: IDAETERR14 - Invalid "DEP ON" valueNext Topic: IDAETERR16 - Invalid SUBSTRING START or LENGTH


IDAETERR15 - Mismatch on value of GROUP item OCCURS

Reason:

In a MOVE BY NAME or POSITION, the number of occurrences in all array sub-structures must match identically between the sending and receiving groups.

Normally, this error is caught at compile time. However, when the sending group is a program parameter field accepted under the dynamic matching rule and the receiving field is a structure with fixed occurrence count, a mismatch could occur at run-time when fewer than the declared number of occurrences are passed to the called-program parameter. A similar error can occur with a receiving parameter field and a fixed-occurrence sending field.

A similar problem can occur when sending and receiving fields contain DEP ON identifier-name array structures, and MOVE BY NAME fails to transfer the identifier-name referenced.

Action:

You can take several courses of action to alleviate a problem due to dynamic occurrence mismatch: