How to get access to QTEMP from a java method called from RPGLE?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Monday, February 27, 2006 08:53 AM

			


How do I get access to QTEMP from a java method called from RPGLE?



Re: How to get access to QTEMP from a java method called from RPGLE?

Posted By:   David_Thornton  
Posted On:   Sunday, March 5, 2006 08:30 PM

If you mean "how to access objects in the RPGLE's QTEMP from the Java method's (ie JVM's) QTEMP?" then the simple answer is you can't.

When a Java method is invoked from an RPGLE program the JVM is started (if not already active) and, like all jobs on the iSeries, it has its own QTEMP library. Any access made to objects in QTEMP from the Java method will be to the JVM's QTEMP and not the QTEMP of the job in which the RPGLE program is running.

About | Sitemap | Contact