Re: Interesting - NODE for z/OS
On 23/02/2018 8:56 PM, Scott Chapman wrote: While ES6 does add some interesting features to the language, people have done useful work in server-side well before ES6 came along. It adds essential features to the language like "let" and "const" which prevent nasty variable hoisting surprises! JavaScript is a flawed language but an important one. Technologies like Node have enabled a new wave of isomorphic applications and full stack developers. What is interesting is new technologies hitting the browsers like asm.js so client side code can be written in any language. JavaScript will not go away anytime soon but better languages will replace it in the coming decades. Java 8 contained Nashorn with ES5 support. Java 6 & 7 contained the Rhino JavaScript engine (although at what level of Javascript, I forget at the moment). You could also use the external Rhino Jars if you needed a version later than the embedded Rhino version. I remember being surprised several years ago at how well JavaScript (using Rhino) ran on z/OS. Scott Chapman On Fri, 23 Feb 2018 14:16:18 +0800, David Crayford wrote: Java 9 comes with an ES6 compliant Nashorn JavaScript engine https://www.oracle.com/corporate/features/nashorn-javascript-engine-jdk9.html. ES6 is essential as it turns JavaScript into a reasonable language. Those poor souls without a zIIP might be a bit gun shy of running Java though! -- 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: Interesting - NODE for z/OS
While ES6 does add some interesting features to the language, people have done useful work in server-side well before ES6 came along. Java 8 contained Nashorn with ES5 support. Java 6 & 7 contained the Rhino JavaScript engine (although at what level of Javascript, I forget at the moment). You could also use the external Rhino Jars if you needed a version later than the embedded Rhino version. I remember being surprised several years ago at how well JavaScript (using Rhino) ran on z/OS. Scott Chapman On Fri, 23 Feb 2018 14:16:18 +0800, David Crayford wrote: >Java 9 comes with an ES6 compliant Nashorn JavaScript engine >https://www.oracle.com/corporate/features/nashorn-javascript-engine-jdk9.html. >ES6 is essential as it >turns JavaScript into a reasonable language. Those poor souls without a >zIIP might be a bit gun shy of running Java though! > >-- >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: Interesting - NODE for z/OS
On 22/02/2018 3:54 PM, Timothy Sipples wrote: If you're looking for a JavaScript implementation (without Node) for a z9BC machine, I believe HostBridge's HB.js is compatible. Java 9 comes with an ES6 compliant Nashorn JavaScript engine https://www.oracle.com/corporate/features/nashorn-javascript-engine-jdk9.html. ES6 is essential as it turns JavaScript into a reasonable language. Those poor souls without a zIIP might be a bit gun shy of running Java though! -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Interesting - NODE for z/OS
On Thu, Feb 22, 2018 at 1:54 AM, Timothy Sipples wrote: > The IBM SDK for Node.js probably won't run on your z9BC machine, but you're > welcome to try it. (Please let us all know.) The latest trial download is > available here: > > https://developer.ibm.com/node/sdk/ztp/ > > APAR UI46658 is surely required, so check for that. > > If you're looking for a JavaScript implementation (without Node) for a z9BC > machine, I believe HostBridge's HB.js is compatible. > We're not looking to run any language on our z/OS 1.12 system beyond Enterprise COBOL 3.4. As strange as it seems, and for reasons I'm forbidden to speak of, we are bring our "ported & outsourced" processing back onto z/OS simply so that we can stabilise it and "port & outsource" it again in 2 to 3 years. End of my discussion on that under pain of death. I just think that it is nice that IBM is putting some "new & better" languages on z/OS. IMO, what is really better about these new languages is the bundled functionality for TCP/IP, HTTP, regular expression, and so on. > > > > Timothy Sipples > -- 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Interesting - NODE for z/OS
The IBM SDK for Node.js probably won't run on your z9BC machine, but you're welcome to try it. (Please let us all know.) The latest trial download is available here: https://developer.ibm.com/node/sdk/ztp/ APAR UI46658 is surely required, so check for that. If you're looking for a JavaScript implementation (without Node) for a z9BC machine, I believe HostBridge's HB.js is compatible. Timothy Sipples IT Architect Executive, Industry Solutions, IBM Z & LinuxONE, Multi-Geography 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: Interesting - NODE for z/OS
We've been using Node for internal tooling and IBM have done a good job. The Node eco-system is the fast growing of any language/runtime. Like I've said before the most exciting thing from my perspective is the clang compiler that ships with it. One important feature that makes Node so scalable is libuv and it's async I/O. IBM have emulated epoll using standard poll so I can't see how it's ever going to scale like it does on other platforms. It's curious why they didn't use aio like the pollsets in the z port of the APR? On 21/02/2018 9:12 PM, Jerry Callen wrote: You don't have to build from source; you can get a downloadable SDK: https://www.ibm.com/us-en/marketplace/sdk-nodejs-compiler-zos There is a DeveloperWorks forum for node.js on IBM platforms (including z/OS and Linux on Z): https://www.ibm.com/developerworks/community/groups/service/html/communitystart?communityUuid=39f4d6be-d936-4a36-8fbf-874bf4bde113 -- Jerry -- 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: Interesting - NODE for z/OS
But in that case isn't the javascript running on the client? With node it's running on the server. Cheers, Martin Martin Packer zChampion, Systems Investigator & Performance Troubleshooter, IBM +44-7802-245-584 email: martin_pac...@uk.ibm.com Twitter / Facebook IDs: MartinPacker Blog: https://www.ibm.com/developerworks/mydeveloperworks/blogs/MartinPacker Podcast Series (With Marna Walle): https://developer.ibm.com/tv/mpt/or https://itunes.apple.com/gb/podcast/mainframe-performance-topics/id1127943573?mt=2 Youtube channel: https://www.youtube.com/channel/UCu_65HaYgksbF6Q8SQ4oOvA IBM Mainframe Discussion List wrote on 21/02/2018 15:01:53: > From: "Barkow, Eileen" > To: IBM-MAIN@LISTSERV.UA.EDU > Date: 21/02/2018 15:02 > Subject: Re: Interesting - NODE for z/OS > Sent by: IBM Mainframe Discussion List > > CICS DOCTEMPLATES can include javascript code. > > So NODE Is not the only thing that allows it. > > > > -Original Message- > > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU > ] On Behalf Of John McKown > > Sent: Wednesday, February 21, 2018 8:05 AM > > To: IBM-MAIN@LISTSERV.UA.EDU > > Subject: Interesting - NODE for z/OS > > > > I haven't really had a chance to look at this yet. But I thought others > > here might be interested. It is NODE for z/OS. NODE is a "server side" > > JavaScript engine. That is, it allows you to run JavaScript programs on > > z/OS. > > > > https://urldefense.proofpoint.com/v2/url? > u=https-3A__github.com_ibmruntimes_node_releases_tag_ibm-2D6.13.0. > 0&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=BsPGKdq7-Vl8MW2- > WOWZjlZ0NwmcFSpQCLphNznBSDQ&m=x85RBflm3aMlm0FgBnkL4MExpjplPK_JEo0P0ANp4bE&s=aG5MvbKXog2YDJWhNK27zF5mpM7pM5vbwKfw6KZooUg&e= > > > > Source only, no executable. > > > > -- > > 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > > > > > > > > > This e-mail, including any attachments, may be confidential, > privileged or otherwise legally protected. It is intended only for > the addressee. If you received this e-mail in error or from someone > who was not authorized to send it to you, do not disseminate, copy > or otherwise use this e-mail or its attachments. Please notify the > sender immediately by reply e-mail and delete the e-mail from your system. > > > > -- > > For IBM-MAIN subscribe / signoff / archive access instructions, > > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Interesting - NODE for z/OS
On Wed, Feb 21, 2018 at 7:12 AM, Jerry Callen wrote: > You don't have to build from source; you can get a downloadable SDK: > > https://www.ibm.com/us-en/marketplace/sdk-nodejs-compiler-zos Thank you for that link. One difference that I can see is that the above mentions a "Free 90 day trial" and I must sign in to ShopZ to get it. Whereas the source pointed to in my original messages does not have any mention of a "free trail" period or any requirement to use my IBM id to get the software. Not that it matters to me personally, because it is unlikely that the IBM offering will run on my company's ancient z9BC. I'm running into that a lot any more. And management here basically refuses to get a more current machine. > > > There is a DeveloperWorks forum for node.js on IBM platforms (including > z/OS and Linux on Z): > > https://www.ibm.com/developerworks/community/groups/service/ > html/communitystart?communityUuid=39f4d6be-d936-4a36-8fbf-874bf4bde113 > > -- Jerry > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > -- 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Interesting - NODE for z/OS
CICS DOCTEMPLATES can include javascript code. So NODE Is not the only thing that allows it. -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of John McKown Sent: Wednesday, February 21, 2018 8:05 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Interesting - NODE for z/OS I haven't really had a chance to look at this yet. But I thought others here might be interested. It is NODE for z/OS. NODE is a "server side" JavaScript engine. That is, it allows you to run JavaScript programs on z/OS. https://github.com/ibmruntimes/node/releases/tag/ibm-6.13.0.0 Source only, no executable. -- 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Interesting - NODE for z/OS
You don't have to build from source; you can get a downloadable SDK: https://www.ibm.com/us-en/marketplace/sdk-nodejs-compiler-zos There is a DeveloperWorks forum for node.js on IBM platforms (including z/OS and Linux on Z): https://www.ibm.com/developerworks/community/groups/service/html/communitystart?communityUuid=39f4d6be-d936-4a36-8fbf-874bf4bde113 -- Jerry -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN