Variable array records are records that contain a field that occurs a certain number of times depending on the value of another field in the record. An example is shown below:
SAMPLE-RECORD
03 FIELDA PIC S9(4) USAGE IS COMPUTATIONAL.
03 FIELDB PIC X(20) OCCURS 3 TO 10 TIMES
DEPENDING ON FIELDA.
Processing
When the external record of a file map includes a variable array, CA ADS Batch performs the following processing:
Note: If a field contains meaningless data that cannot be mapped out successfully (that is, fails the automatic editing stage), the application aborts.
|
Copyright © 2013 CA.
All rights reserved.
|
|