Skip to main content

TruncateOverflow

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

Synopsis

[Miscellaneous]    TruncateOverflow=n

Description

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.

Examples

TruncateOverflow=0

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

FeedbackOpens in a new tab