title: how to run java as a jobstep on z/OS
body: <p>I need to run a Java class program on z/OS mainframe as a JCL job step.  Has anyone done this?  I have already tried running java programs under AIX on the mainframe.  But I need to run the same program in a JCL jobstream. I understand that I can pass the return code back to JCL steps with System.exit(rc).  But how does one execute, setup CLASSPATH, input parameters and files, and write files to z/OS?</p>