IBM Books

Administration and Programming Guide for OS/400

Passing Parameters to Java Programs

Pass parameters to a Java program by specifying the parameters to be passed on the function definition. Specify only string parameters that are input-only (IN), or input or output (INOUT).

Example: The IN parameter p1 is to be passed on the function call

 %function(DTW_JAVAPPS) jv1(IN p1) { %}

The Java Application language environment does not support Java programs that update variables because it cannot pass the updated values back to the macro.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]