Rational Developer for System z
PL/I for Windows, Version 7.6, プログラミング・ガイド

完全な PL/I プロシージャー

最後にまとめとして、ネイティブ・メソッドを定義する PL/I プログラム 全体を示します。

 *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)