- Overview
- System Requirements
- Build and Install
- Setup
- Quick Start
- API Documentation
- Contributing
- Legalities
zoau-node is a node module that exposes the Z Open Automation Utilities (ZOAU) APIs in Node.js!
- IBM® SDK for Node.js - z/OS® 14.15.1 or higher or IBM Open Enterprise SDK for Node.js 16.0 or higher
- z/OS V2R3 or higher
- ZOAU v1.1.0 or higher is required on the system.
- For more details, visit: https://www.ibm.com/docs/en/zoau/latest?topic=installing-configuring-zoa-utilities
- Before installing, download and install IBM Open Enterprise SDK for Node.js.
- The PATH and LIBPATH environment variables need to include the location of the ZOAU binaries and dlls, respectively.
export PATH=<path_to_zoau>/bin:$PATH
export LIBPATH=<path_to_zoau>/lib:$LIBPATH
For more details on setting up ZOAU, visit: https://www.ibm.com/docs/en/zoau/latest?topic=installing-configuring-zoa-utilities
- Create a Node.js project directory and install the zoau-node module:
mkdir my-example-project && cd my-example-project
npm init --yes
npm install zoau-node
- Create a file named
listds.js
containing the following contents:
const ds=require('./lib/zoau.js').datasets;
ds.listing("SYS1.PARM*", {"detailed":true})
.then(console.log)
.catch(console.error);
This code will list all datasets starting with SYS.PARM. We have chosen a detailed output, specified as the second parameter.
- Run the code
node listds.js
TODO
See the zoau-node CONTRIBUTING.md file for details.
zoau-node is available under the Apache 2.0 license. See the LICENSE file file for details
Licensed Materials - Property of IBM
zoau-node
(C) Copyright IBM Corp. 2020. All Rights Reserved.
US Government Users Restricted Rights - Use, duplication
or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.