MF XML Syntax - COUNT IN Clause

Format

Syntax Rules:
  1. Data-name-1 is an implicitly defined numeric data item with a picture clause of PIC S9(9) USAGE COMP-5.
General Rules:
  1. If COUNT IN appears on a data description entry with an OCCURS clause, the dimension of data-name-1 is one less than the dimension of the associated data item.
  2. If COUNT IN appears on a data description without an OCCURS clause, the dimension of data-name-1 is the same as the dimension of the associated data item.

The COUNT IN clause enables the program to determine the number of occurrences just read, or to specify the number of element occurrences to be output.