Format
Syntax Rules:
- Data-name-1 is an implicitly defined numeric data item with a picture clause of PIC S9(9) USAGE COMP-5.
General Rules:
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.
- 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.
- 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.