Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Programming Guide

Step 5: Running the Sample Program

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

   java jPassInt

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

 >java jPassInt

 From Java: Enter an Integer or 'quit' to quit.
 Java Prompt > 12345

 From  PLI: Integer retrieved from Java is: 12345
 From  PLI: Enter an integer to be returned to Java:
 54321

 From Java: Integer set by PL/I is: 54321
 From Java: Enter an Integer or 'quit' to quit.
 Java Prompt > quit
 >

Terms of use | Feedback

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