Tom, The program executes in key zero & supervisor mode. this is how it get control. Not sure I can write it in Cobol.
On Mon, Aug 27, 2018 at 8:16 PM Tom Ross <[email protected]> wrote: > >On 22/08/2018 11:51 PM, Charles Mills wrote: > >> *Personally* I agree, but different languages for different folks. Some > p= > >eople are very comfortable in assembler, especially with the structured > mac= > >ros. I think I can state with some confidence that if @EdJaffe need to > pars= > >e some JSON documents he would do it from assembler. > > > > >Maybe, but I'm not so sure. If that JSON is coming over the wire into a=20 > >Java web application like EJES Web then I would expect it to be=20 > >serialized to a byte array in the Java layer. That's how we do it. No=20 > >JSON ever reaches the assembler layer in our stack. > > > > > >> > >> COBOL does not seem like a great choice either to me personally, but > some= > >>folks, and especially some shops, are most comfortable with COBOL. > > The JSON PARSE statement in COBOL is the keasiest way to parse JSON ever! > You just point to a data item which contains your UTF-8 JSON text, and give > the name of a COBOL data structure (group) that you want the values from > the > JSON Name/Value pairs top go into, and let COBOL do all the work for you! > > You do have to be up to the 2017 COBOL compiler level, since that is when > we > delivered JSON PARSE, in COBOL V6.2. > > Cheers, > TomR >> COBOL is the Language of the Future! << > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > -- ITschak Mugzach *|** IronSphere Platform* *|* *Information Security Contiguous Monitoring for Legacy **| * ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
