This project demonstrates calling HLASM/Metal C from Node.js. It is a work in progress (much could be cleaned up to make this process smoother).
var addon = require('bindings')('wto');
console.log(addon.wto("hello from node.js", 123));
npm install -g @zowe/cli
zowe profiles create zosmf ...
zowe profiles create uss ...
Update package.json
to replace ibmuser
with your user and location preference.
npm run setup
- allocate zfs
- mount
- upload source
- configure
node-gyp
- update
node-gyp
Makefile make wtoexec.c
intowtoexec.o
- build the project
npm run upload
- upload source files
npm run remote:build
- invoke
make
andnode-gyp
build