APPX Software Library

Chapter 4-6: ILF Keyword Reference

EXITREAD

The EXITREAD command can be used to 'break out' of a BEG READ/END READ loop. Execution will resume at the next statement after the associated END READ.

Screen capture

(1) T/F execution conditions
(2) Application ID
(3) File name

Related Statements

BEG READ, END READ

Example

Screen capture

When a PROSPECT record with over 100 employees is found the flag is turned on, the EXITREAD command is executed and control is transferred to the statement immediately after the END READ.