SetZEOF
Behavior when Caché encounters an unexpected end-of-file when reading a sequential file.
Synopsis
[Miscellaneous] SetZEOF=n
Description
The value n may be 1 or 0:
-
When 1 (true) Caché sets the special variable $ZEOF to indicate that you have reached the end of the file.
-
When 0 (false) Caché throws an <ENDOFFILE> error instead.
Examples
SetZEOF=0
Range of Values
0 or 1. The default is 0.
Management Portal
On the page System Administration > Configuration > Additional Settings > Compatibility, in the SetZEOF row, select Edit. Choose true (selected) or false (cleared).