|
HiCould you explain why you need to do this?
This is no possibility that this RPG program will be called from Java calling RPG and this RPG calling this program.
So one way would be to find if the program is running in QUSRWRK subsystem,
How can i find the current job subsystem?
Other option I was thinking to add a PCML parameter and send "JAVA" in this field if called from java or send "RPG" if called from other RPG program.
But this will require file change, which is not good.
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.