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.
To change this parameter for a single process only (as opposed to instance-wide), use the SetZEOF()Opens in a new tab method of the %SYSTEM.ProcessOpens in a new tab class. See the class reference for details.