i just downloaded the latest samples and see that many were recompiled in 
2016/2017.
the ones I had downloaded back on June 1, 2017 were compiled back in 2012/2013.
so it looks like they have changed since I last used them and may have been 
fixed to work with 64 bit java. 

***new samples**********
08/16/2016  10:28 AM             5,153 CatalogSearchSample.java
08/16/2016  10:28 AM             3,705 DynallocCopyDataset.java
08/16/2016  10:28 AM             7,331 EnqUpdatePdsMember.java
08/16/2016  10:28 AM             2,302 FileFactoryCopy.java
08/16/2016  10:28 AM             1,132 HelloWorld.java
01/10/2017  03:28 PM             3,404 LogstreamSample.java
08/16/2016  10:28 AM             5,637 MvsConsoleInteraction.java
08/16/2016  10:28 AM             3,718 MvsConsoleWrapper.java
08/16/2016  10:28 AM             1,400 MvsJob.java
08/16/2016  10:28 AM             7,206 MvsJobOutput.java
08/16/2016  10:28 AM             3,471 MvsSubmitJob.java
08/16/2016  10:28 AM             1,504 PdsLister.java
08/16/2016  10:28 AM             1,556 PeekOSMemory.java
08/16/2016  10:28 AM             1,753 ShowJavaProperties.java
08/16/2016  10:28 AM             1,512 StdinTester.java
08/16/2016  10:28 AM             1,853 ZFileCopy.java
08/16/2016  10:28 AM             5,814 ZFileKSDS.java
08/16/2016  10:28 AM             1,833 ZFilePrint.java
08/16/2016  10:28 AM            14,803 ZipDatasetSource.java
08/16/2016  10:28 AM             8,778 ZipDatasets.java
              20 File(s)         83,865 bytes
**old samples from 2017************

01/25/2013  02:11 PM    <DIR>          .
01/24/2013  09:27 AM    <DIR>          ..
01/24/2013  09:27 AM    <DIR>          dfsort
01/24/2013  09:27 AM    <DIR>          fields
01/24/2013  09:27 AM    <DIR>          nonvsam
01/24/2013  09:27 AM    <DIR>          vsam
05/30/2012  04:49 PM             5,015 CatalogSearchSample.java
05/30/2012  04:49 PM             3,612 DynallocCopyDataset.java
05/30/2012  04:49 PM             7,103 EnqUpdatePdsMember.java
05/30/2012  04:49 PM             2,231 FileFactoryCopy.java
05/30/2012  04:49 PM             1,099 HelloWorld.java
05/30/2012  04:49 PM             5,495 MvsConsoleInteraction.java
05/30/2012  04:49 PM             3,604 MvsConsoleWrapper.java
05/30/2012  04:49 PM             1,347 MvsJob.java
05/30/2012  04:49 PM             6,984 MvsJobOutput.java
05/30/2012  04:49 PM             3,371 MvsSubmitJob.java
05/30/2012  04:49 PM             1,462 PdsLister.java
05/30/2012  04:49 PM             1,515 PeekOSMemory.java
05/30/2012  04:49 PM             1,702 ShowJavaProperties.java
05/30/2012  04:49 PM             1,467 StdinTester.java
05/30/2012  04:49 PM             1,804 ZFileCopy.java
05/30/2012  04:49 PM             5,638 ZFileKSDS.java
05/30/2012  04:49 PM             1,784 ZFilePrint.java
05/30/2012  04:49 PM            14,374 ZipDatasetSource.java
10/24/2012  10:56 AM             8,533 ZipDatasets.java
01/24/2013  01:41 PM    <DIR>          compress
01/25/2013  03:34 PM             3,982 MynallocCopyDataset.java
              20 File(s)         82,122 bytes

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Kirk Wolf
Sent: Friday, January 11, 2019 12:29 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Do I need to copy a mainframe flat file to OMVS, before I access 
the data from a JAVA program? - JZOS question

The ZipDatasets sample program works fine with the 64-bit SDK.
The JZOS toolkit class library (and native code) in included in the 64-bit SDKs.

I don't know what problem that you were having, but it sounds like a CLASSPATH 
problem with using the sample classes, which are not included in the SDK unless 
you download them.


On Fri, Jan 11, 2019 at 11:18 AM Barkow, Eileen <ebar...@doitt.nyc.gov>
wrote:

> 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:IBM-MAIN@LISTSERV.UA.EDU] 
> On Behalf Of Edgington, Jerry
> Sent: Friday, January 11, 2019 12:12 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> 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:IBM-MAIN@LISTSERV.UA.EDU] 
> On Behalf Of Barkow, Eileen
> Sent: Friday, January 11, 2019 11:58 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> 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:IBM-MAIN@LISTSERV.UA.EDU] 
> On Behalf Of Jantje.
> Sent: Friday, January 11, 2019 7:05 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> 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 
> <conac...@gmail.com>
> 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 lists...@listserv.ua.edu 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions, send 
> email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions, send 
> email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to