Skip to main content

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

Purpose of this instance: Draft documentation
DocReleaseID: Core2018.1.11
Content loaded from:
/staging/ce/2018.1.11/doc/cache/en-us/src/
/staging/ce/2018.1.11/doc/ensemble/en-us/src/
/staging/ce/2018.1.11/doc/isp/en-us/src/
/staging/learning/zenmojo-doc/en-us/src/
FeedbackOpens in a new tab