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



Pre-mod4 (pre-v5r1) the Toolbox used code in the JVM as its primary method
of converting strings.  Sun must not mandate what conversion tables are
required because we saw a wide variety in the number of conversion tables
in the various JVMs.  Our secondary way to convert strings was to download
a conversion table from the iSeries and convert the data in our code.  That
is why an AS400 object was required.  If the JVM did not have a conversion
table then we would use the AS400 object as the path to the iSeries to get
a table.

With V5R1 (mod 4) this is not as big a deal because we no longer use JVM
routines.  They tended to be slow and not always accurate in the DBCS
cases.  We optimized our own logic and ship as complete a set of tables as
possible.  In almost all cases your conversion will work without an AS400
object since we already have everything we need so you can ignore the
deprecation warning.  In fact, we are un-deprecating the methods in Toolbox
mod 5.

David Wall
AS/400 Toolbox for Java




                    "Price, Chris"
                    <chris_price@nsb.c       To:     "'java400-l@midrange.com'" 
<java400-l@midrange.com>
                    o.uk>                    cc:
                    Sent by:                 Subject:     Toolbox bug???
                    java400-l-admin@mi
                    drange.com


                    11/16/2001 09:25
                    AM
                    Please respond to
                    java400-l





This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
--
[ Picked text/plain from multipart/alternative ]
I may have found a (very minor) bug in the toolbox.

I've tried using the AS400FileRecordDescription.createRecordFormatSource to
RecordFormat objects for some of my As400 database files.

The generated source, when imported into VAJ gives a ruckload of
depreciated
warnings.

It seems that it using a depreciated constructor whenever is creates an
AS400Text object, which it does for every charater field. AS400Text now
expects an AS400 object to be passed so it can get the Codepage stuff
direct
from the AS.

Is there a work around for this problem? I've fixed it for now by adding an
AS400 object into the RecordFormat constructor, but this is not a good
solution if creating large numbers of RecordFormat objects.

Chris.


_______________________________________________
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list
To post a message email: JAVA400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l
or email: JAVA400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.







As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.