All of the information about writing the PL/I "Hello World" sample program applies to this program as well.
The external PL/I procedure name for this program would be _Java_jPassInt_pliShowInt.
The complete procedure statement for the sample program looks like this:
Java_passNum_pliShowInt:
Proc( JNIEnv , myjobject )
external( "_Java_jPassInt_pliShowInt" )
options( byvalue nodescriptor linkage(stdcall) );
The PL/I include file which contains the PL/I definition of the Java interfaces is contained in two include files, jni.cop which in turn includes jni_md.cop. These include files are included with this statement:
%include jni;
For a complete listing of the jni.cop file look in the \ibmpliw\include directory