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


  • Subject: RE: Parameter question
  • From: "Clapham, Paul" <pclapham@xxxxxxxxxxxxx>
  • Date: Sat, 2 Jun 2001 13:47:58 -0700

You have to put the results somewhere in your Java class, then have its
caller get them from that place.  Several possibilities: Java outputs data
to System.out, caller extracts them from spool file; Java outputs data to a
file, caller reads them from there, Java sends data to a dataqueue, caller
reads them from there...

Pretty clunky, I know.  I hear that V5R1 will integrate Java with RPG much
more, so you might have a better answer then, but I'm not using V5R1 and
neither are you, I expect.

PC2

-----Original Message-----
From: Adam Martin [mailto:amartin120@home.com]
Sent: June 2, 2001 12:32
To: JAVA400-L@midrange.com
Subject: Parameter question


Hello,

I'm a java/400 newbie.  I have a java program that studies a TIF image and
determines the number of pages, etc.  I would like to call this java program
from a CL program and get back the results somehow.  I'm using the RUNJVA
command and I'm passing "in" the parameters just fine but how do I bring
back results? Can I???  This may be a dumb question but I just had to ask.

Thanks in advance for any responces.
Adam
+---
| 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-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.