Passing Parameters from JCL Using PARM to Linkage Section in Cobol
Passing parameters through ARGS is working fine besdies when setting a value directly or when using a variable in the JCL. When using PARM in the substitution step of JVM EXEC, the value is not set.
Solution
The fully qualified main class name and any arguments need to be specified as PARM= strings to the batch launcher program.
//* JAVACLS =& CLASS ,
//* PARM =& PARA
// PARM ='& CLASS & PARA '