• Subject: Re: ToolBox class: AS400Text deprecated. What is the replacement?
  • From: "Bruce Jin" <brucej@xxxxxxxxxxxxxxxxxxxx>
  • Date: Tue, 30 Jan 2001 13:30:54 -0600

Thanks Paul:

I changed     AS400Text text = new AS400Text(15); to     AS400Text text =
new AS400Text(15,as400); and now I don't get warning when I compile the
code. (as400 is an AS400 object).

Bruce

-----Original Message-----
From: Clapham, Paul <pclapham@core-mark.com>
To: JAVA400-L@midrange.com <JAVA400-L@midrange.com>
Date: Tuesday, January 30, 2001 1:16 PM
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.