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

Step 5: Running the Sample Program

Run the Java - PL/I sample program with this command:

   java jPassString

The output of the sample program, complete with the prompts for user input from both Java and PL/I, will look like this:

 >java jPassString

 From Java: Enter a string or 'quit' to quit.
 Java Prompt > A string entered in Java

 From  PLI: String retrieved from Java is: A string entered in Java
 From  PLI: Enter a string to be returned to Java:
 A string entered in PL/I

 From Java: String set by PL/I is: A string entered in PL/I
 From Java: Enter a string or 'quit' to quit.
 Java Prompt > quit
 >
Rational Developer for System z
PL/I for Windows, Version 8.0, Programming Guide