|
Hello everyone,
I have a possibly silly question, since I am totally unused to
the AS/400 system. I want to connect to AS/400 files (this is a little obscure
to me, I think AS/400 files equal to DB2 tables or not???) using JDBC from a
Java program. The thing is that numeric is used for many fields in the files,
and all of the fields are padded with zeros if the number has less digits than
the field's declaration. For example for a numeric(9) field a correct entry
would be 000056787. How is this possible to be kept consistent using JDBC calls?
Could I insert rows using only strings which would be padded with zeros from my
Java program or is there any other workaround? Thanks for your time, and I'm
really sorry if the question is trivial.
Yiannis Stamatopoulos
|
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.