A Node-RED node to read and write to a AS400 system.
Run the following command in your Node-RED user directory - typically ~/.node-red
npm install node-red-contrib-as400
Allows basic access to a AS400 system.
The msg.payload
must hold the query
and the result is returned in msg.payload
.
Each row will send a new payload, so you can work with big results.
The last row sends also a msg.complete message, so you can join the results.
If nothing is found for the key then null is returned.