• Subject: RE: ToolBox class: AS400Text deprecated. What is the replacement?
  • From: Nick.Vrtis@xxxxxxxxxxx
  • Date: Tue, 30 Jan 2001 14:45:54 -0500


I ran into the "may not behave as expected"...  It comes up with a very
strange exception if you have CCSID 65535 I believe...

Nick




"Clapham, Paul" <pclapham@core-mark.com>@midrange.com on 01/30/2001
01:51:01 PM

Please respond to JAVA400-L@midrange.com

Sent by:  owner-java400-l@midrange.com


To:   JAVA400-L@midrange.com
cc:

Subject:  RE: ToolBox class: AS400Text deprecated. What is the replacement?


When I downloaded JTOpen, it included a large number of HTML files
containing documentation like you want.  I don't remember where I got it
from, but you may find it on the AS/400 Toolbox for Java website (which I
also forget where it is).  At any rate, the javadoc for the AS400Text class
explains as follows:

"Note: AS400Text() is deprecated. Replaced by AS400Text(int, AS400). Any
AS400Text object that is created without specifying an AS400 system object
on its constructor may not behave as expected in certain environments."

-----Original Message-----
From: Bruce Jin [mailto:brucej@MRC-PRODUCTIVITY.COM]
Sent: January 30, 2001 09:36
To: JAVA400-L@midrange.com
Subject: ToolBox class: AS400Text deprecated. What is the replacement?


When I try to call RPG in Java I use AS400Text class to wrap parameters (I
am following IBM online documentation)  I get the message "API deprecated"
when I compile the java file.

Where is the document to find the related info?
What API should I used in place of AS400Text?

TIA

Bruce




+---
| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net
+---
+---
| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net
+---



+---
| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net
+---

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