> -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of Robert Pelletier > Sent: Thursday, March 08, 2007 7:45 AM > To: [email protected] > Subject: JAVA In Batch > > > Hi All. Once again I turn to the group for help. We are OS390 > V2R10. Can > we compile and run JAVA in a batch program? Would anyone have a sample > of how to do this or point me to a manual? Thanks in advance. > > > Have a Nice Day ! > > Bob Pelletier
I don't know about OS/390 2.10, but the JZOS originally from Dovetail and now acquired by IBM (JZOS, not Dovetail) runs Java in batch wonderfully! Java "stuff" exists only in UNIX files. You cannot store the source or the .class/.jar files in a PDS. Well, you can store the source in a PDS. But you cannot compile from the PDS, you'll need to copy it to an UNIX file. And Java naming conventions are not very easy to squeeze into an 8 character, upper case only, PDS member name. I wouldn't even try. As an offshoot from this, if it were my choice, then I'd likely keep my Java development stuff on a UNIX file server. This UNIX file server would NFS export the appropriate subdirectories. The z/OS system would NFS import them. All Java development would occur on PC desktops running Linux or Windows <shudder>, which can access those NFS exported directories. I'd use either Netbeans or Eclipse on the desktop for Java development (I use Netbeans, myself). This would allow the programmers easy access to edit, compile, and test Java. Promotion would be from the NFS mounted subdirectories onto "production" UNIX files residing on the z/OS system. Again, this would be my first take on how to do it. Unfortunately, the interest in Java on z/OS here is approaching zero from beneath. -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology The information contained in this e-mail message may be privileged and/or confidential. It is for intended addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, reproduction, distribution or other use of this communication is strictly prohibited and could, in certain circumstances, be a criminal offense. If you have received this e-mail in error, please notify the sender by reply and delete this message without copying or disclosing it. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

