On Fri, Dec 29, 2017 at 6:15 PM, Frank Swarbrick < [email protected]> wrote:
> Can JZOS be used off mainframe to process (yes, that's vague) a file that > is a combination of ECBDIC fields, binary integer fields and packed-decimal > fields? Basically, the file is defined by a (mainframe) COBOL copybook and > would be transmitted in binary to a distributed platform to be processed. > > I've not tried, but I would be _amazed_ if it works. Even though JZOS comes with a lot of "Java ARchive (jar)" files, if you really inspected them closely, I'd bet that many of the routines are C language JNI routines. That is, they are z/OS specific. However, this may be of some help: https://developer.ibm.com/cics/2016/05/12/java-cics-using-ibmjzos/ ==== IBM Record Generator for Java The Record Generator is a scriptable Java based utility that takes as input the ADATA from the COBOL compiler, and uses this to generate Java helper classes to access the fields in a COBOL record structure. The ADATA provides additional program data that can be used to extract information about the program for symbolic debugging or cross-reference tools. The Record Generator is based upon function in the IBM JZOS Toolkit which provides field converter classes <https://www.ibm.com/support/knowledgecenter/en/SSYKE2_8.0.0/com.ibm.java.zsecurity.api.80.doc/com.ibm.jzos/com/ibm/jzos/fields/package-summary.html> for mapping byte array fields into Java data types. ==== Later, it says that the product is freely downloadable _IF_ you are licensed for z/OS 2.1 or above. -- I have a theory that it's impossible to prove anything, but I can't prove it. Maranatha! <>< John McKown ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
