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

JNI Sample Program #3 - Passing an Integer

This sample program passes an integer back and forth between Java and PL/I. Refer to Figure 32 for the complete listing of the jPassInt.java program. The Java portion has one Java class, jPassInt.java. The native method, written in PL/I, is contained in passInt.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.

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