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



These are two of my favorite CL feedback methods when I want to call a Java class and use it without involving RPG.

Data area. Use JT400 and the data area class.

Capture STDOUT to a physical file or IFS file. Then your feedback can all be formatted and sent back with System.out.println("ORDER:123")

You can also use System.exit(x) where x is a number to send back a numeric return code that can be picked up in the java message stack.

Regards,
Richard Schoen
RJS Software Systems Inc.
Where Information Meets Innovation
Document Management, Workflow, Report Delivery, Forms and Business Intelligence
Email: richard@xxxxxxxxxxxxxxx
Web Site: http://www.rjssoftware.com
Tel: (952) 736-5800
Fax: (952) 736-5801
Toll Free: (888) RJSSOFT

-----Original Message-----

message: 1
date: Tue, 18 Jan 2011 15:07:30 -0500
from: Jason Abreu <jason.abreu@xxxxxxxxxxxxxxxxxxxx>
subject: Java class return data to calling CL program

How would you return a value from an executable Java class to a CL program?

--
Jason Abreu
Abreu Innovations, Inc.
jason.abreu@xxxxxxxxxxxxxxxxxxxx
http://www.abreuinnovations.com/


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.