Rational Developer for System z
PL/I for Windows, Version 7.6, Programming Guide

JNI Sample Program #2 - Passing a String

This sample program passes a string back and forth between Java and PL/I. Refer to Figure 29 for the complete listing of the jPassString.java program. The Java portion has one Java class, jPassString.java. Our native method, written in PL/I, is contained in passString.pli. Much of the information from the first sample program applies to this sample program as well. Only new or different aspects will be discussed for this sample program.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)