Overflow checking
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Overflow checking is a process by which the DataServer evaluates whether the value defined for a data type exceeds the data type's capacity. If the value is greater than the bit size defined for a data type, an error message occurs.
Beginning with OpenEdge Release 10.1B, all in-memory operations
on INTEGER and INT64 data types
are now 64-bit, promoting potential conflicts when data is exchanged
between OpenEdge Release 10.1A and earlier OpenEdge clients, and
10.1B MS SQL Server DataServers. For example, if a networked 10.1B
DataServer produces an INT64 data type that is
sent to a pre-10.1B client, and the INT64 data
type is mapped to a 32-bit data type that exceeds 32-bits of data
storage, the MS SQL Server will detect an overflow condition and
an error message appears on the client machine.