|
On 13-Oct-2016 14:08 -0500, CRPence wrote:
On 13-Oct-2016 07:23 -0500, a4g atl wrote:
[…] call to our test system from web methods that fails with a
SQL0104 and message data truncation. […]
After much debugging, we were able to identify the interface did
not like NULLS. When replacing the NULLS with alpha characters
it worked.
How what the condition manifest; presumably some type of
error, perhaps in a log? Also, was the issue empty-strings vs
actual NULL values; a quick web search yielded some mention of an
empty string being converted to NULL by WM. If the target TABLE
was defined with the NOT NULL attribute, and NULL values were part
of the results, then something like -407 msg SQL0407 suggesting
NULL values were not allowed might be seen eventually for
/inbound data/? […]
So far, all I can establish is that WM is sending empty fields which
I think it's converting to NULL. I saw this when starting debug on
the server job and then looking at the job log.
The table is an old table so its set by default to be NOT NULL.
As an Amazon Associate we earn from qualifying purchases.
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.