× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 10 Apr 2013 09:59, Dave wrote:
what happens when you write X'4040' to a DDL numeric field?

If the SQL DDL that described the "numeric field" had defined that numeric field as either data-type NUMERIC or DECIMAL, then...

The data is not written to the file, due to a data mapping error; e.g. a CPF5035 followed by a CPF5029. The mapping error is manifest in the HLL according to the rules of that language, and the instruction, statement, or opcode[+extender] that requested the output operation.

If instead the data type had been defined as any form of INTEGER [i.e. also SMALLINT or BIGINT], then...

The data would get written and there would be no error, because every possible bit pattern is valid for an integer data-type.

If the data type was FLOAT, who cares ;-) and if DECFLOAT I really do not know enough to comment.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.