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



Hi Alan,

I'm very confused. You say you're getting the same error, but the error you posted is not even close to the one in the link!!


2. I am getting this error which is the same as the one mentioned in the
link.
[SNIP]
Java exception "com.microsoft.sqlserver.jdbc.SQLServerException: String
or binary data would be truncated." when calling method "execute"

I followed your link, and this is the exception I see posted in that thread:

Cause . . . . . : RPG procedure JDBC_EXECC in program CELS/JDBCR4 received Java exception "com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect
syntax near 'CE_AddTestRecord'." when calling method "execute" with
signature "()Z" in class "java.sql.CallableStatement".

Maybe you posted the wrong link?! Not sure, but in my book "Incorrect syntax" is extremely different from "data would be truncated".

This error seems to imply that you are passing a value that's too long for the parameter you're passing it into. Unfortunately, it doesn't tell us which parameter has that problem (which would've been helpful.)

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.