You can obtain the accumulated totals value for each occurrence of a subscripted field.
In the example below, AMT.5 is defined as a work field consisting of five repeating fields. The type 5 parameters extract the value of each occurrence of AMT.1 and AMT.2. The type 6 parameters return the sum of the occurrences of AMT.1 and the sum of the occurrences of AMT.2:
010 AMT.5 0151*005 AMT.1 0151*010 AMT.2 0161*005 AMT.1 0161*010 AMT.2
|
Copyright © 2014 CA.
All rights reserved.
|
|