Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?


Enable/disable the <MAXNUMBER> error on numeric overflow.


[Miscellaneous]    TruncateOverflow=n


Normally, when Caché encounters a number larger than 9223372036854775807 E127 (or smaller than -9223372036854775808 E127) it throws the <MAXNUMBER> error. You can prevent this with the TruncateOverflow setting. The value n may be 1 or 0:

  • When 1 (true) the <MAXNUMBER> error is suppressed.

  • When 0 (false) Caché throws the <MAXNUMBER> error as usual.



Range of Values

0 or 1. The default is 0.

Management Portal

On the page System Administration > Configuration > Additional Settings > Compatibility, in the TruncateOverflow row, select Edit. Choose true (selected) or false (cleared).