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

The Complete PL/I Procedure

For completeness, here is the entire PL/I program that defines the native method:

 *Process Limits( Extname( 31 ) ) Margins( 1, 100 ) ;
 *Process Dllinit xinfo(def);
 *Process Default( IEEE );
 PliJava_Demo: Package Exports(*);

  Java_callingPLI_callToPLI:
  Proc( JNIEnv , MyJObject )
    External( "Java_callingPLI_callToPLI" )
    Options( NoDescriptor ByValue linkage(stdcall) );

   %include jni;

   Display('Hello from PL/I for Windows!');

 End;

Terms of use | Feedback

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