To step through a database file extracting data values, e.g. for merging files, use
REPEAT = "n"
where n is a number: repeats n times or
This repeats until no new data is provided by a database or until all the text supplied by a file of FILETYPE="TEXT" has been formatted onto a PAGE.
New data is provided by reading a file whose page number is specified as PAGE = "NEXT" or by calling a plugin whose return code must be ee_dataProvided to signify that it produced new data.