Node.js for z/OS
Today, IBM announced the IBM SDK for Node.js – z/OS, V6.0, bringing Node.js to z/OS. IBM SDK for Node.js – z/OS allows application developers, regardless of experience with IBM Z, to develop new and innovative applications on the popular Node.js platform, and run them supported by the qualities of service of IBM Z, and alongside the Systems of Record that underpin your business.
A great example of connecting new applications and Systems of Record is by interacting with z/OS assets that are exposed through IBM z/OS Connect EE. Using the dynamically-created Swagger OpenAPI documentation, a developer can learn what assets are available, try them out, and use this insight to develop Node.js applications to use the APIs.
Node.js and CICS
As a quick demonstration of a Node.js application interacting with an existing z/OS assets – in this case, CICS programs – weāve provided some new samples. These are provided as-is, as a way to explore the potential of Node.js and IBM Z.
We also provide a sample application that uses the EXCI node module with some other popular node packages, such as Angular.js to provide the user interface. You can check this out on GitHub here: https://github.com/cicsdev/cics-nodejs-exci-webapp-sample
Getting started with the samples
The code for this sample node, called cics-exci, is available on GitHub.com – https://github.com/cicsdev/cics-nodejs-exci-module. Follow the Installation instructions on the README for this GitHub repository to install the module.
Note: the cics-exci node module uses CICS channels and containers to pass data to and from CICS. CICS channels and containers over EXCI was introduced in CICS TS V5.4, therefore you need to have downloaded, installed and be using the SDFHEXCI load library running the node module. You can however still run this against a pre-V5.4 region.
The code for the sample application is also in GitHub: https://github.com/cicsdev/cics-nodejs-exci-webapp-sample, along with Installation instructions.
IBM SDK for Node.js for z/OS will become generally available on September 8 2017, but until then youāll need the IBM SDK for Node.js for z/OS beta from https://developer.ibm.com/node/sdk/ztp/ to use these samples.
Tell us more
These samples give you a simple taste of Node.js on z/OS, interacting with CICS. Weāre interested in your feedback on these and weād also like to hear what other types of applications you want to build on z/OS. Please comment here, or contact me at firstname.lastname@example.org to discuss.
* figures taken on 10 July 2017 from https://www.npmjs.com