Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Previous sectionNext section


Behavior when Caché encounters an unexpected end-of-file when reading a sequential file.


[Miscellaneous]   SetZEOF=n


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.



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).

FeedbackOpens in a new window