Strangely enough, the documentation I used was for Enterprise PL/I. Because there is no "Object PL/I" they have to use "straight JNI". http://publib.boulder.ibm.com/infocenter/ratdevz/v7r1m1/index.jsp?topic=/com.ibm.ent.pl1.zos.doc/topics/javsupp-yyy.htm
I don't have time at the moment to explain in detail, using a combination of information from the Enterprise PL/I manuals, the Enterprise COBOL manuals, and the JNI spec I was able to do some basic calls of COBOL from Java. Now that I think about it I did this using OpenCOBOL not Enterprise COBOL. For Enterprise COBOL I actually used "Object COBOL". But I am still pretty certain you can use "straight JNI" in COBOL. The Object stuff in Enterprise COBOL is just a wrapper around JNI functions to make it slightly more object oriented. >________________________________ > From: Jantje. <[email protected]> >To: [email protected] >Sent: Monday, October 28, 2013 5:20 AM >Subject: Re: Is there currently a way to access MongoDB from z/OS LE languages? > > >On Fri, 25 Oct 2013 08:30:27 -0700, Frank Swarbrick ><[email protected]> wrote: > >>Why do you say there is a need for a "C layer" here?� Even without using >>"Object COBOL" you can use JNI directly in COBOL.� (It's not great fun, but >>it is doable.) > >Can you? Can you please provide a pointer to some documentation about this? >I'd like to learn... > >Thanks, > >Jantje. > >---------------------------------------------------------------------- >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
