The implied subscript parameter provides an alternative name for a multiply-occurring input or work field. This parameter is commonly used to simplify references to specific occurrences of multiply-occurring fields. It also provides an optional method of outputting tables of information.
A reference to a field defined on an implied subscript parameter is a reference to the multiply-occurring field and to the index value associated with that field on the implied subscript parameter.
Example
An example appears below:
4415 LOCATION LOC-NUM.COUNT
In this example, LOC-NUM.COUNT identifies a specific occurrence of the multiply-occurring field LOC-NUM. The implied subscript parameter renames the field LOCATION. A reference to LOCATION on a SELECT/BYPASS, SORT, edit, or process parameter implies a reference to a specific occurrence of LOC-NUM, depending on the value of COUNT.
|
Copyright © 2014 CA.
All rights reserved.
|
|