Several of the exit points are provided so that you can manipulate an input or output field. The way you pass a field name in the exit interface depends on how it is defined in the Linkage Section of the program providing the service. There are two possibilities:
01 a. 03 b. 05 c. 07 d pic x(4). 07 e pic x(4). 07 f pic x(4). 05 g pic x(4). 03 h pic x(4).
If the field itself, or any of the group items that it belongs to, are tables, the required table index is specified by appending “(n)” to the name, where n indicates the position of the field or item in the table. For example, field “f” of the fourth element of “c” in the record below would be uniquely identified as “a.b.c(4).f”:
01 a. 03 b. 05 c occurs 10. 07 d pic x(4). 07 e pic x(4). 07 f pic x(4). 05 g pic x(4). 03 h pic x(4).