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



Interesting. I would like to know the results of this thread too.
This morning I had a task that requires me to call Java from CL. I could not
figure out an easy way to pass back info from Java to CL.

> My initial idea was to write a file containing the status in my Java
> program, and have the CL program read the file and respond as necessary

If Java code writes the message to IFS file, then CL has to read file in
IFS?
If Java code writes to db2 file (jdbc is now involved), then Java code is
less platform independent.

Bruce
-----Original Message-----
From: David Gibbs <dgibbs@verticalsky.com>
To: 'JAVA400 Mailing List' <JAVA400-L@midrange.com>
Date: Monday, April 16, 2001 3:14 PM
Subject: Java to 400 messaging?


>Folks:
>
>I'm curious as to how you're handling Java to 400 status messaging?
>
>I need to communicate the results of a Java program to a CL program.  This
>status consists of an error code, severity, and some optional text (very
>much like a normal AS400 message).
>
>The problem is, I'd like to make my solution as platform independent as
>possible ... so I can't use the Java Toolkit.
>
>My initial idea was to write a file containing the status in my Java
>program, and have the CL program read the file and respond as necessary.
>
>Any suggestions?
>
>Thanks!
>
>david
>
>--
>David Gibbs
>Sr. Software Engineer
>Mortice Kern Systems US, Inc.
>2500 S. Highland Ave., Suite 200
>Lombard, IL  60148
>
>phone: (630) 495-2108 x5004
>http://www.mks.com
>mailto:dgibbs@mks.com
>
>Need a laugh: http://www.userfriendly.org/static
>
>+---
>| 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-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.