by fidelis » Thu Dec 16, 2010 1:28 am
The READ WORK FILE ONCE no processing loop is initiated then is used to indicate that only one record is to be read. When used READ WORK FILE ONCE must not be specified END-WORK.
Therefore If you want read 'one-by-one' and maybe stop the sequence and return to read again, use READ WORK FILE statement .