Re: Enterprise COBOL 6.1 announced
On Wed, Feb 17, 2016 at 12:40 AM, Timothy Sippleswrote: > John McKown wrote: > >What "bothers" me is the lack of JSON PARSE to go with the JSON GENERATE. > > That announcement letter didn't mention it (maybe it should have), but one > year ago IBM shipped standard, high performance, high function, fully > supported JSON parsing services in z/OS for all languages/runtimes, > including for COBOL. Take a look at the z/OS Client Web Enablement Toolkit > specifically. Steve Warren's SHARE session in 2015, Session #17791, and the > IBM Knowledge Center for z/OS 2.2 are excellent sources of information. > > Have you taken a look at that toolkit yet? It looks like at least some of > you missed it. [Maybe I'm falling down on the job. :-)] Yes, the z/OS > Client Web Enablement Toolkit exploits zIIPs quite nicely. The z/OS Client > Web Enablement Toolkit ships with z/OS Version 2.2 and can be added to z/OS > 2.1 via the service stream. This parser is the JSON analog to the z/OS XML > System Services. The z/OS Client Web Enablement Toolkit also includes > HTTP/HTTPS support, but whether you use that HTTP/HTTPS support or not this > toolkit is where you find z/OS's JSON parsing services. > Thanks for the pointer to that. I'd never heard of it. But, IMO, it would still be nice to have a JSON PARSE verb similar to the XML PARSE verb to COBOL-ify the calls to the z/OS supplied service. Ya, know, COBOL programmers tend to be more parochial than the "more sophisticated" PL/I and C programmers. So they need real COBOL verbs instead of a CALL interface . > > > > Timothy Sipples > IT Architect Executive, Industry Solutions, IBM z Systems, AP/GCG/MEA > E-Mail: sipp...@sg.ibm.com > -- The man has the intellect of a lobotomized turtle. Maranatha! <>< John McKown -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Enterprise COBOL 6.1 announced
Frank Swarbrick wrote: >The requirement for z/OS 2.1 is disappointing. As I understand it, the z/OS 2.1 minimum applies only to the compiler itself. In other words, you'll need an LPAR (or z/VM guest) with z/OS 2.1 or higher to run Enterprise COBOL Version 6.1, but that's the extent of that requirement (with the caveat or two as noted in the announcement). However >One of our sysprogs just read this and he is starting then >plans for z/OS 2.2. That works, too! >I don't think we'll ever do JSON on the mainframe anyway. That sounds an awful lot like what an "old" person in the 1990s might have said about TCP/IP. :-) I see Bill Woodger agrees with me. Jim Mulder wrote: >Support for z/OS 1.13 ends soon (Sept. 30, 2016). Good point. Compiler releases tend to be (or should be) at the vanguard of the operating system release lifecycle across the entire IT industry, so it makes sense. John McKown wrote: >What "bothers" me is the lack of JSON PARSE to go with the JSON GENERATE. That announcement letter didn't mention it (maybe it should have), but one year ago IBM shipped standard, high performance, high function, fully supported JSON parsing services in z/OS for all languages/runtimes, including for COBOL. Take a look at the z/OS Client Web Enablement Toolkit specifically. Steve Warren's SHARE session in 2015, Session #17791, and the IBM Knowledge Center for z/OS 2.2 are excellent sources of information. Have you taken a look at that toolkit yet? It looks like at least some of you missed it. [Maybe I'm falling down on the job. :-)] Yes, the z/OS Client Web Enablement Toolkit exploits zIIPs quite nicely. The z/OS Client Web Enablement Toolkit ships with z/OS Version 2.2 and can be added to z/OS 2.1 via the service stream. This parser is the JSON analog to the z/OS XML System Services. The z/OS Client Web Enablement Toolkit also includes HTTP/HTTPS support, but whether you use that HTTP/HTTPS support or not this toolkit is where you find z/OS's JSON parsing services. Timothy Sipples IT Architect Executive, Industry Solutions, IBM z Systems, AP/GCG/MEA E-Mail: sipp...@sg.ibm.com -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Enterprise COBOL 6.1 announced
I don't see the previous message I sent, so (just in case) I'll try again John McKown wrote: >What "bothers" me is the lack of JSON PARSE to go with the JSON GENERATE. Don't worry: it's already here! IBM started shipping the z/OS Client Web Enablement Toolkit's JSON parser approximately one year ago, as I recall. If you have z/OS Version 2.2 you already have it, and if you have z/OS Version 2.1 you can get it (if you don't already have it) as part of the service stream. In other words, IBM's JSON parser is now a base part of the z/OS operating system. You should already have high performance (with zIIP exploitation), full function, fully supported JSON parsing in z/OS for all programming languages, including COBOL, at no additional charge. Just start using it. The toolkit also includes HTTP/HTTPS support, but if you only need JSON parsing in your COBOL programs or in other languages, that's perfectly fine, too. This parser is the JSON analog to z/OS XML System Services. It's quite well documented in the IBM Knowledge Center for z/OS 2.2, and Steve Warren presented an excellent session at SHARE 2015. His presentation is available from SHARE.org (session #17791). IBM also provides sample programs, yes including COBOL -- the Knowledge Center explains all that. Did you miss the announcement and shipment of this toolkit, perhaps? I recall there was some discussion about the new JSON parser in this forum, but there's so much great new stuff coming so quickly that it might be easy to forget. Timothy Sipples IT Architect Executive, Industry Solutions, IBM z Systems, AP/GCG/MEA E-Mail: sipp...@sg.ibm.com -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Enterprise COBOL 6.1 announced
On Tue, Feb 16, 2016 at 3:16 PM, Bill Woodgerwrote: > A quote from 2009: > > "In fact, the fact that it is rare and should not happen for 'normal' > processing tells me that you perhaps *shouldn't* just treat '97' as > "everything is ok" and ignore it. Seems to me that even if you elect to > continue processing it would be nice to know that the 97 status occured." > We have had the 97 happen to us too. Most of the time it is due to the data set not being CLOSEd, usually due to an ABEND. However, in the past, we ran two z/OS images with shared DASD. And shared data sets. But not in a sysplex (long ago). What the 97 _could_ mean is "the VSAM file is currently OPEN to a job on the other system". If you just "go ahead" in this case, and are doing updates on both sides, you are just begging for a corrupted file. Especially if one of the jobs causes a CA split. Real fun (not) recovering from that mess. > > I agree with you. > > I surely don't give Operations a defence of Justifiable Homicide. > > > -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Enterprise COBOL 6.1 announced
Long live 1.13 and may it last until 2050 (at least). Ed On Feb 16, 2016, at 12:14 PM, Jim Mulder wrote: The requirement for z/OS 2.1 is disappointing. We haven't been on 1.13 for all that long, and I don't know that we have an upgrade due any time soon... :-( Support for z/OS 1.13 ends soon (Sept. 30, 2016). Jim Mulder z/OS System Test IBM Corp. Poughkeepsie, NY -- 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
Re: Enterprise COBOL 6.1 announced
So what do your programs do when they get an FC97 on an OPEN? Display a message to the console and wait for a response? Display a message to the console and continue on? Something else? > Date: Tue, 16 Feb 2016 11:28:28 -0600 > From: bill.wood...@gmail.com > Subject: Enterprise COBOL 6.1 announced > To: IBM-MAIN@LISTSERV.UA.EDU > > I'm one of those who prefers to see the 97, and take a little time out to > wonder why it happened. "the file was being updated, and something went wrong > because the file was not closed properly - I've fixed the statistics for you" > always makes me wary. > > Of course, there is the fun where a program gets the 97, abends deliberately, > and run-instructions are "verify the file and resubmit". > > I do wonder what "for certain VSAM OPEN statements" means exactly. > > > On Tuesday, 16 February 2016 17:08:45 UTC, Frank Swarbrick wrote: > > Yay for the VSAMOPENFS(SUCC). I submitted the RFE for this. (Probably > > others did as well.) > > > > I am curious what opinions other might have for this being a compile option > > rather than a runtime option. I spoke with COBOL development and they were > > insistent that having it as a compile option was the only way to go so-as > > to not change existing runtime behavior and perhaps cause issues. My > > argument was that if a shop currently always treated 97 and 00 in the same > > manner, and now 97 was never returned, the programs would still behave the > > same. No need for recompile (and perhaps could work even for downlevel > > compiled programs, as long as they used the most recent runtime). > > > > Oh well, water under the bridge I suppose. I'm fairly happy they at least > > addressed it. IMO status 97 should have never existed in the first place. > > > > The INITIALIZE enhancements are pretty nice as well. As are ALLOCATE/FREE. > > I was kind of hoping for more language enhancements, but progress is > > progress. > > > > The requirement for z/OS 2.1 is disappointing. We haven't been on 1.13 for > > all that long, and I don't know that we have an upgrade due any time > > soon... :-( > > > > Frank > > > > > Date: Tue, 16 Feb 2016 08:47:13 -0600 > > > From: john.archie.mck...@gmail.com > > > Subject: Enterprise COBOL 6.1 announced > > > To: IBM-MAIN@LISTSERV.UA.EDU > > > > > > Announcement > > > http://www-01.ibm.com/common/ssi/cgi-bin/ssialias?subtype=ca=an=iSource=897=ENUS216-059 > > > > > > trial version > > > http://www-01.ibm.com/common/ssi/cgi-bin/ssialias?subtype=ca=an=iSource=897=ENUS216-060 > > > > > > One Time Charge version? > > > http://www-01.ibm.com/common/ssi/cgi-bin/ssialias?subtype=ca=an=iSource=897=ENUS216-061 > > > > > > === > > > > > > New ALLOCATE, FREE, and JSON GENERATE verbs. Allows ALLOCATE and FREE of > > > dynamic memory (GETMAIN / FREEMAIN) and to generate JSON output, similar > > > to > > > XML GENERATE is my guess. New option to automatically convert > > > FILESTATUS=97 > > > to FILESTATUS=0. Way past time for that! > > > > > > Requires z/OS 2.1 or above. > > > > > > === > > > > > > -- > > > The man has the intellect of a lobotomized turtle. > > > > > > Maranatha! <>< > > > John McKown > > > > > > -- > > > 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
Re: Enterprise COBOL 6.1 announced
> The requirement for z/OS 2.1 is disappointing. We haven't been on > 1.13 for all that long, and I don't know that we have an upgrade due > any time soon... :-( Support for z/OS 1.13 ends soon (Sept. 30, 2016). Jim Mulder z/OS System Test IBM Corp. Poughkeepsie, NY -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Enterprise COBOL 6.1 announced
Baby steps, I guess. Personally I am not convinced that the COBOL language is the proper place for either JSON or XML processing. But I've never been able to come up with good enough requirements for an API that would be both simply and powerful for use within COBOL applications. Oh well... I don't think we'll ever do JSON on the mainframe anyway. All JSON "stuff" is done on our distributed application side. (We do use XML using a vendor product that is pretty good.) Frank > Date: Tue, 16 Feb 2016 11:14:38 -0600 > From: john.archie.mck...@gmail.com > Subject: Re: Enterprise COBOL 6.1 announced > To: IBM-MAIN@LISTSERV.UA.EDU > > What "bothers" me is the lack of JSON PARSE to go with the JSON GENERATE. > That greatly decreases the utility of using COBOL for an AJAX application. > > On Tue, Feb 16, 2016 at 11:08 AM, Frank Swarbrick < > frank.swarbr...@outlook.com> wrote: > > > Yay for the VSAMOPENFS(SUCC). I submitted the RFE for this. (Probably > > others did as well.) > > > > I am curious what opinions other might have for this being a compile > > option rather than a runtime option. I spoke with COBOL development and > > they were insistent that having it as a compile option was the only way to > > go so-as to not change existing runtime behavior and perhaps cause issues. > > My argument was that if a shop currently always treated 97 and 00 in the > > same manner, and now 97 was never returned, the programs would still behave > > the same. No need for recompile (and perhaps could work even for downlevel > > compiled programs, as long as they used the most recent runtime). > > > > Oh well, water under the bridge I suppose. I'm fairly happy they at least > > addressed it. IMO status 97 should have never existed in the first place. > > > > The INITIALIZE enhancements are pretty nice as well. As are > > ALLOCATE/FREE. I was kind of hoping for more language enhancements, but > > progress is progress. > > > > The requirement for z/OS 2.1 is disappointing. We haven't been on 1.13 > > for all that long, and I don't know that we have an upgrade due any time > > soon... :-( > > > > Frank > > > > > Date: Tue, 16 Feb 2016 08:47:13 -0600 > > > From: john.archie.mck...@gmail.com > > > Subject: Enterprise COBOL 6.1 announced > > > To: IBM-MAIN@LISTSERV.UA.EDU > > > > > > Announcement > > > > > http://www-01.ibm.com/common/ssi/cgi-bin/ssialias?subtype=ca=an=iSource=897=ENUS216-059 > > > > > > trial version > > > > > http://www-01.ibm.com/common/ssi/cgi-bin/ssialias?subtype=ca=an=iSource=897=ENUS216-060 > > > > > > One Time Charge version? > > > > > http://www-01.ibm.com/common/ssi/cgi-bin/ssialias?subtype=ca=an=iSource=897=ENUS216-061 > > > > > > === > > > > > > New ALLOCATE, FREE, and JSON GENERATE verbs. Allows ALLOCATE and FREE of > > > dynamic memory (GETMAIN / FREEMAIN) and to generate JSON output, similar > > to > > > XML GENERATE is my guess. New option to automatically convert > > FILESTATUS=97 > > > to FILESTATUS=0. Way past time for that! > > > > > > Requires z/OS 2.1 or above. > > > > > > === > > > > > > -- > > > The man has the intellect of a lobotomized turtle. > > > > > > Maranatha! <>< > > > John McKown > > > > > > -- > > > 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 > > > > > > -- > The man has the intellect of a lobotomized turtle. > > Maranatha! <>< > John McKown > > -- > 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
Re: Enterprise COBOL 6.1 announced
One of our sysprogs just read this and he is starting then plans for z/OS 2.2. So Yay! > Date: Tue, 16 Feb 2016 10:08:34 -0700 > From: frank.swarbr...@outlook.com > Subject: Re: Enterprise COBOL 6.1 announced > To: IBM-MAIN@LISTSERV.UA.EDU > > Yay for the VSAMOPENFS(SUCC). I submitted the RFE for this. (Probably > others did as well.) > > I am curious what opinions other might have for this being a compile option > rather than a runtime option. I spoke with COBOL development and they were > insistent that having it as a compile option was the only way to go so-as to > not change existing runtime behavior and perhaps cause issues. My argument > was that if a shop currently always treated 97 and 00 in the same manner, and > now 97 was never returned, the programs would still behave the same. No need > for recompile (and perhaps could work even for downlevel compiled programs, > as long as they used the most recent runtime). > > Oh well, water under the bridge I suppose. I'm fairly happy they at least > addressed it. IMO status 97 should have never existed in the first place. > > The INITIALIZE enhancements are pretty nice as well. As are ALLOCATE/FREE. > I was kind of hoping for more language enhancements, but progress is progress. > > The requirement for z/OS 2.1 is disappointing. We haven't been on 1.13 for > all that long, and I don't know that we have an upgrade due any time soon... > :-( > > Frank > > > Date: Tue, 16 Feb 2016 08:47:13 -0600 > > From: john.archie.mck...@gmail.com > > Subject: Enterprise COBOL 6.1 announced > > To: IBM-MAIN@LISTSERV.UA.EDU > > > > Announcement > > http://www-01.ibm.com/common/ssi/cgi-bin/ssialias?subtype=ca=an=iSource=897=ENUS216-059 > > > > trial version > > http://www-01.ibm.com/common/ssi/cgi-bin/ssialias?subtype=ca=an=iSource=897=ENUS216-060 > > > > One Time Charge version? > > http://www-01.ibm.com/common/ssi/cgi-bin/ssialias?subtype=ca=an=iSource=897=ENUS216-061 > > > > === > > > > New ALLOCATE, FREE, and JSON GENERATE verbs. Allows ALLOCATE and FREE of > > dynamic memory (GETMAIN / FREEMAIN) and to generate JSON output, similar to > > XML GENERATE is my guess. New option to automatically convert FILESTATUS=97 > > to FILESTATUS=0. Way past time for that! > > > > Requires z/OS 2.1 or above. > > > > === > > > > -- > > The man has the intellect of a lobotomized turtle. > > > > Maranatha! <>< > > John McKown > > > > -- > > 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
Re: Enterprise COBOL 6.1 announced
What "bothers" me is the lack of JSON PARSE to go with the JSON GENERATE. That greatly decreases the utility of using COBOL for an AJAX application. On Tue, Feb 16, 2016 at 11:08 AM, Frank Swarbrick < frank.swarbr...@outlook.com> wrote: > Yay for the VSAMOPENFS(SUCC). I submitted the RFE for this. (Probably > others did as well.) > > I am curious what opinions other might have for this being a compile > option rather than a runtime option. I spoke with COBOL development and > they were insistent that having it as a compile option was the only way to > go so-as to not change existing runtime behavior and perhaps cause issues. > My argument was that if a shop currently always treated 97 and 00 in the > same manner, and now 97 was never returned, the programs would still behave > the same. No need for recompile (and perhaps could work even for downlevel > compiled programs, as long as they used the most recent runtime). > > Oh well, water under the bridge I suppose. I'm fairly happy they at least > addressed it. IMO status 97 should have never existed in the first place. > > The INITIALIZE enhancements are pretty nice as well. As are > ALLOCATE/FREE. I was kind of hoping for more language enhancements, but > progress is progress. > > The requirement for z/OS 2.1 is disappointing. We haven't been on 1.13 > for all that long, and I don't know that we have an upgrade due any time > soon... :-( > > Frank > > > Date: Tue, 16 Feb 2016 08:47:13 -0600 > > From: john.archie.mck...@gmail.com > > Subject: Enterprise COBOL 6.1 announced > > To: IBM-MAIN@LISTSERV.UA.EDU > > > > Announcement > > > http://www-01.ibm.com/common/ssi/cgi-bin/ssialias?subtype=ca=an=iSource=897=ENUS216-059 > > > > trial version > > > http://www-01.ibm.com/common/ssi/cgi-bin/ssialias?subtype=ca=an=iSource=897=ENUS216-060 > > > > One Time Charge version? > > > http://www-01.ibm.com/common/ssi/cgi-bin/ssialias?subtype=ca=an=iSource=897=ENUS216-061 > > > > === > > > > New ALLOCATE, FREE, and JSON GENERATE verbs. Allows ALLOCATE and FREE of > > dynamic memory (GETMAIN / FREEMAIN) and to generate JSON output, similar > to > > XML GENERATE is my guess. New option to automatically convert > FILESTATUS=97 > > to FILESTATUS=0. Way past time for that! > > > > Requires z/OS 2.1 or above. > > > > === > > > > -- > > The man has the intellect of a lobotomized turtle. > > > > Maranatha! <>< > > John McKown > > > > -- > > 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 > -- The man has the intellect of a lobotomized turtle. Maranatha! <>< John McKown -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Enterprise COBOL 6.1 announced
Yay for the VSAMOPENFS(SUCC). I submitted the RFE for this. (Probably others did as well.) I am curious what opinions other might have for this being a compile option rather than a runtime option. I spoke with COBOL development and they were insistent that having it as a compile option was the only way to go so-as to not change existing runtime behavior and perhaps cause issues. My argument was that if a shop currently always treated 97 and 00 in the same manner, and now 97 was never returned, the programs would still behave the same. No need for recompile (and perhaps could work even for downlevel compiled programs, as long as they used the most recent runtime). Oh well, water under the bridge I suppose. I'm fairly happy they at least addressed it. IMO status 97 should have never existed in the first place. The INITIALIZE enhancements are pretty nice as well. As are ALLOCATE/FREE. I was kind of hoping for more language enhancements, but progress is progress. The requirement for z/OS 2.1 is disappointing. We haven't been on 1.13 for all that long, and I don't know that we have an upgrade due any time soon... :-( Frank > Date: Tue, 16 Feb 2016 08:47:13 -0600 > From: john.archie.mck...@gmail.com > Subject: Enterprise COBOL 6.1 announced > To: IBM-MAIN@LISTSERV.UA.EDU > > Announcement > http://www-01.ibm.com/common/ssi/cgi-bin/ssialias?subtype=ca=an=iSource=897=ENUS216-059 > > trial version > http://www-01.ibm.com/common/ssi/cgi-bin/ssialias?subtype=ca=an=iSource=897=ENUS216-060 > > One Time Charge version? > http://www-01.ibm.com/common/ssi/cgi-bin/ssialias?subtype=ca=an=iSource=897=ENUS216-061 > > === > > New ALLOCATE, FREE, and JSON GENERATE verbs. Allows ALLOCATE and FREE of > dynamic memory (GETMAIN / FREEMAIN) and to generate JSON output, similar to > XML GENERATE is my guess. New option to automatically convert FILESTATUS=97 > to FILESTATUS=0. Way past time for that! > > Requires z/OS 2.1 or above. > > === > > -- > The man has the intellect of a lobotomized turtle. > > Maranatha! <>< > John McKown > > -- > 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