|
From: Thorbjørn Ravn Andersen <thunderaxiom@xxxxxxxxx>
Subject: Re: Find if RPGLE program called from Java or other RPG program
To: "Java Programming on and around the iSeries / AS400" <java400-l@xxxxxxxxxxxx>
Date: Thursday, December 11, 2008, 4:09 AM
Ashish Kulkarni skrev den 10-12-2008 19:58:
Himessages from QTEMP, create a message queue and pass error
I have already done some thing like that to pass
messages from RPG to Java.
I call RPG program from Java, this RPG program writeserror messages in message queue created in QTEMP library,
when the control comes back to Java program i read these
error messages from message queue in QTEMP.
So RPG and Java have the same QTEMP.Using a ProgramCall or with JNI? Any particulars to
remember when doing so?
I reason i want to add some special logic when calledfrom RPG is because we this logic to clear from tables if
called from RPG,
Sounds brittle. Can't you add a flag or an extra call
to do this?
--
Thorbjørn Ravn Andersen "...plus... Tubular
Bells!"
--
This is the Java Programming on and around the iSeries /
AS400 (JAVA400-L) mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.
As an Amazon Associate we earn from qualifying purchases.
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.