I'm not sure about the following. I'm up late due to ... well, it doesn't matter. But I am wondering if it would be easier to interface MongoDB (on a remote system such as z/Linux) with a z/OS Java routine. And then interface the Java routine with COBOL. I need to read up on the Java <-> COBOL communication. It may only be for Object COBOL. Anyway, it's just a weird thought from a person who is sleep deprived.
On Thu, Oct 24, 2013 at 10:49 PM, Ze'ev Atlas <[email protected]> wrote: > >It's not much fun accessing Mongo in C let alone COBOL. > Agree > My language of choice is Perl which flaws with that stuff and I am working > on my JavaScript skills. However, what drives me is frustration. Whenever > I do a mainframe project, I see how much I miss the other side's features > and then I look how to bring those features in. > > I may need to invent a way to represent complex key value structures in > COBOL which is a challenge on its own (unless somebody has already done > it.) The simplest solution would be a two dimensional table of Z type > strings, but that would not allow in a simple way for hierarchies. I guess > I'll have to develop a type and the functionality to handle it. > > About a previous post, the endianess should not be a big issue to deal > with once the two sides of the protocol are well defined. The EBCDIC issue > is a make or break issue. MongoDB works decidedly with UTDF-8 and I need > COBOL to natively view a string as UTF-8. Does the current incarnation of > COBOL (and perhaps PL/I) have a native UTF-8 string type. If not, then I > will abandon the whole project. > ZA > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > -- This is clearly another case of too many mad scientists, and not enough hunchbacks. Maranatha! <>< John McKown ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
