Specify the behavior when reading a sequential file and encountering an unexpected end-of-file error.
n is either 1 (true) or 0 (false). The default value is 0.
This parameter has been retained for compatibility, but should not be used when building new applications.
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.MiscellanousOpens in a new tab class (as described in the class reference) or by editing the CPF with a text editor.
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.