|
I ran your question by Chris (our RLA expert). He replied "There must be a
field in his file that is tagged with a CCSID that we have to download from
the system. Probably because the JVM inside VAJ doesn't ship it, or we
don't know what encoding to map it to. Do a DSPFFD to figure out the
CCSIDs on each of his character fields. Also run the test with Toolbox
conversion trace enabled to get additional information."
>From the command line you enable the trace by running "java
-Dcom.ibm.as400.access.Trace.category=conversion myApp"
David Wall
AS/400 Toolbox for Java
RobMorning@aol.com
Sent by: To: JAVA400-L@midrange.com
java400-l-admin@mi cc:
drange.com Subject: Toolbox problem .. ?
11/22/01 05:51 PM
Please respond to
java400-l
--
[ Picked text/plain from multipart/alternative ]
Wonder if anyone can help ..
I have a small application written in with VAJ 3.02 an Toolbox V3R2M4
(quite old i think ) .
Anyway I connect to AS400 file using DDM server (no special reason for this
method) to extract data from a file .. It works fine on
my V4R3 machine but i get an error when I use it on a someone elses V4R4
machine .. I suspected
a character ID or codepage error but both machines are set to 697 &37
respectively .
Grateful for any help ..
Here's what I get ..
java.io.UnsupportedEncodingException
at com.ibm.as400.access.ConvTableDownload.<init>
(ConvTableDownload.java:72)
at com.ibm.as400.access.ConvTable.getTable(ConvTable.java:195)
at com.ibm.as400.access.Converter.<init>(Converter.java:143)
at com.ibm.as400.access.Converter.getConverter(Converter.java:118)
at
com.ibm.as400.access.AS400File.createImplementation(AS400File.java:1063)
at com.ibm.as400.access.AS400File.execute(AS400File.java:1550)
at
com.ibm.as400.access.AS400FileRecordDescription.retrieveRecordFormat(Compiled
Code)
at creditcardextract.MainWindow.loadTheTable(Compiled Code)
at creditcardextract.MainWindow.connEtoC2(MainWindow.java)
at creditcardextract.MainWindow.access$connEtoC2(MainWindow.java)
at
creditcardextract.MainWindow$IvjEventHandler.actionPerformed(MainWindow.java)
at java.awt.Button.processActionEvent(Button.java:256)
at java.awt.Button.processEvent(Button.java:229)
at java.awt.Component.dispatchEventImpl(Compiled Code)
at java.awt.Component.dispatchEvent(Compiled Code)
at java.awt.EventDispatchThread.run(Compiled Code)
Rob
_______________________________________________
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 mailing list archive is Copyright 1997-2025 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.