|
Not to hijack this thread, but don't RPG IV programs that are called by or call Java and pass data back and forth, require the TREAD(*SERIALIZE) keyword on the Header spec or you get the kind of inconsistent results you're seeing?
That requirement relates to the RPG runtime not being threadsafe Bob. So I think it is only relevant when you are setting up an RPG procedure to be called as a native method or when you are calling a Java method which may subsequently call an RPG native method. When you are simply calling Java methods I don't think it is an issue. I do think the single threading in the job stream may be an issue though - I think the JVM is effectively run in a separate job. Jon Paris Partner400 www.Partner400.com
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.