JZOS is designed to run Java programs in batch. Using PROC=EXJZOSVM to set up the JVM and specify the Java class or jar file to run.
Co:Z Batch is used to run z/OS UNIX programs (and scripts). It is conceptually similar to running TSO in batch, which issues TSO commands from SYSTSIN and output to SYSTSPRT. Co:Z Batch runs a z/OS UNIX shell, feeding the contents of the STDIN DD name into the UNIX "stdin" (/dev/fd/0), and directing "stdout" (/dev/fd/1) to the STDOUT DD name and "stderr" (/dev/fd/2) to the STDERR DD name. Co:Z Launcher is similar to Co:Z batch, but is used to run commands on another platform, such as z/Linux, over an SSH tunnel. It sends the STDIN input lines to another system (z/Linux, another z/OS UNIX, AIX, Solaris, MS-Windows, ...) to run "commands" on the remote platform. Might be an interesting way for a job on z/OS to run some processing on the same z/OS system USING A DIFFERENT RACF ID. I often say "Co:Z Launcher" when I actually mean "Co:Z Batch". In most cases, if you only want to run a single Java program in a step, then use JZOS. If you want to run multiple Java programs in a single step, or embed a Java program into a z/OS UNIX script (stored in a z/OS UNIX file or "in stream"), perhaps to "post process" the output using other z/OS UNIX facilities, then use "Co:Z Batch". If you really want to save z CPU cycles, install the Java program on a remote system (personal preference is Linux) and then use "Co:Z Launcher" to run it there. Of course, this doesn't work if your Java program uses something like the ZFILE class to read, write, or update z/OS data. -- John McKown Systems Engineer IV IT Administrative Services Group HealthMarkets(r) 9151 Boulevard 26 * N. Richland Hills * TX 76010 (817) 255-3225 phone * [email protected] * www.HealthMarkets.com Confidentiality Notice: This e-mail message may contain confidential or proprietary information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. HealthMarkets(r) is the brand name for products underwritten and issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance Company(r), Mid-West National Life Insurance Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM > -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[email protected]] On Behalf Of Peter Bishop > Sent: Wednesday, June 20, 2012 10:51 PM > To: [email protected] > Subject: difference between JZOS Launcher and COZBATCH Launcher > > Hi List, > > I have read some of the fine manuals but have a basic question: > > what is the difference between the IBM JZOS Launcher and the > Dovetail Co:Z Launcher? > > I've downloaded the latter and am getting started with it. > It seems to be a superset of the former, or am I missing > something and would also require the former for some reason? > The former seems focussed only on Java, whereas the latter > seems to do Java and more (much more). > > thanks in advance, > Peter Bishop > HP Australia. > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
