|
"Guliani, Vineet (IndSys, MFG Non GE)" wrote: > > === > > I was wondering if > > OPTIONS(*NOPASS) can be specified for the parameter on the call to > main. > RPG doesn't allow OPTIONS(*NOPASS) for JAVA calls. (Java doesn't support optional parameters for a given method.) It might seem that you could get around this RPG rule by using two prototypes, and coding one version with no parameter. But then the signature of the version with no parameters would not match the real signature, and the call would fail because JNI would not be able to find the method.
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.