Set the appropriate fields under the
General tab and choose File from the
Input Type drop-down menu.
Select the Parse Copybook Data activity and right-click to create a group that contains the Parse Copybook Data activity.
For details on working with groups, see
TIBCO ActiveMatrix BusinessWorks Process Design Guide.
SpecifyRepeat as the
Group Type and an index name, for example,
i.
Recommended. Create a loop condition that checks that the EOF output element value is
true, for example:
$ParseCopybookData/EOF=true()
Set the
noOfRecords input field for the Parse Copybook Data activity to the number of records you want to process for each execution of the loop.
The loop processes
noOfRecords as specified with each iteration until there are no more input records to parse.
Result
The preceding procedure is just a general guideline. You might want to also add other record-processing criteria or to change the
XPath expressions to meet your needs. Also, feel free to adopt other means of flow control in ActiveMatrix BusinessWorks; just ensure that the
fileName input element value stays the same.