n is either 1 (true) or 0 (false). The default value is 0.
When SetZEOF is enabled (n = 1), InterSystems IRIS® data platform sets the special variable $ZEOF to indicate that you have reached the end of a sequential file. When this parameter is not enabled, InterSystems IRIS throws an <ENDOFFILE> error instead
Changing This Parameter
On the Compatibility page of the Management Portal (System Administration > Configuration > Additional Settings > Compatibility), in the SetZEOF row, click Edit. Select SetZEOF to enable this setting.
Instead of using the Management Portal, you can change SetZEOF in the Config.Miscellanous class (as described in the class reference) or by editing the CPF in a text editor (as described in the Editing the Active CPF section of the “Introduction to the Configuration Parameter File” chapter in this book).