|
Thank you for your very detailed answers, which helps clarifying this to me (where have you found this by the way, it must be documented somewhere :).
Your COBOL program is fine. The SQL statement looks fine to me. Given that all the numbers are stuffed in the COOL program and they are all passed in from whatever invokes the stored procedure I would be examining the data being passed up from the Java application.
A 009120 ZONED(5,0) **INVALID DATA '4EF0F0F0F0'X
B 009126 ZONED(5,0) **INVALID DATA '4EF0F0F0F2'X
C 00912C ZONED(5,0) **INVALID DATA '4EF0F0F0F0'X
D 009132 ZONED(5,0) **INVALID DATA '4EF0F0F0F0'X
The hexadecimal for these values ought to be:
X'F0F0F0F0F0'
X'F0F0F0F0F2'
X'F0F0F0F0F0'
X'F0F0F0F0F0'
So look at why the Java application is not passing properly formatted NUMERIC data.
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.