I was referring specifically to the supplied classes given with JZOS - like ZipDataSets, those to process MVs files, MVS CONSOLE interaction, etc. I could not run them with 64 bit java JVMs and could not find any classes compiled with 64 bit java.
And even if the Java source code for the JZOS classes is supplied, they all invoke C/C++ routines for which no source code is supplied, so You could not reassemble them yourself to work with 64 bit. -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Edgington, Jerry Sent: Friday, January 11, 2019 12:12 PM To: [email protected] Subject: Re: Do I need to copy a mainframe flat file to OMVS, before I access the data from a JAVA program? - JZOS question For all of my Java programs on z/OS, which is limited, but have done a few different items, I have only used the Java loaded with z/OS install. Also, there should a src.zip in /usr/lpp/java/J8.0_64 folder, with a lot of sample Java code. One thing to note, make sure you have these in your configuration LIBPATH $java_home/bin, $java_home/lib/s390x, $java_home/lib/s390x/j9vm CLASSPATH load $java_home/lib, $java_home/lib/ext And here are some helpful Java option setting as well. # Set JZOS specific options # Use this variable to specify encoding for DD STDOUT and STDERR #export JZOS_OUTPUT_ENCODING=Cp1047 # Use this variable to prevent JZOS from handling MVS operator commands #export JZOS_ENABLE_MVS_COMMANDS=false # Use this variable to supply additional arguments to main #export JZOS_MAIN_ARGS="" # Configure JVM options IJO="-Xms16m -Xmx128m" # Uncomment the following to aid in debugging "Class Not Found" problems #IJO="$IJO -verbose:class" # Uncomment the following if you want to run with Ascii file encoding.. #IJO="$IJO -Dfile.encoding=ISO8859-1" export IBM_JAVA_OPTIONS="$IJO " -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Barkow, Eileen Sent: Friday, January 11, 2019 11:58 AM To: [email protected] Subject: Re: Do I need to copy a mainframe flat file to OMVS, before I access the data from a JAVA program? - JZOS question Re JZOS: The last time I looked at JZOS , about 2 years ago, there were no supplied classes for 64 bit java, only 31 bit. JZOS itself had a 64 bit option to run the batch launcher, but no classes that I could find, like those for the MVS datasets or my favorite one for ZipDataSets. And the documentation consisted of a README file from IBM that pointed to a bogus, non-existent web site. Before I try JZOS again, is it supplying classes compiled with 64 bit java or not? -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Jantje. Sent: Friday, January 11, 2019 7:05 AM To: [email protected] Subject: Re: Do I need to copy a mainframe flat file to OMVS, before I access the data from a JAVA program? On Thu, 10 Jan 2019 18:11:47 -0500, Cameron Conacher <[email protected]> wrote: >Thanks everyone. >Looks like I have some reading to do :-) Yes. And while you are at it, do have a look at the excellent jZos stuff originally from Dovetailed, but now included in the JVM. It has (amongst many other goodies) a ZFile class. Cheers, Jantje. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ________________________________ This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. ---------------------------------------------------------------------- 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 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
