noxDB is an opensource framework that makes it easy to work with XML, JSON and SQL with one single approach - from within RPG.
You can find examples and documentation on the Sitemule documentation website.
Installation of noxDB should be done with git and gmake (GNU Make), which are available via yum - Here you can read more about yum:
yum.
Also ensure that the open source tools are available in your path, according to this:
This "master" branch is widely used, but the core graph is stored in EBCDIC. We are keeping this "master" as is and supporting it. However, for any new projects, rather use the "main" branch where everything is stored in UTF-8 and the prototypes have been cleaned up and have great new features.
ssh my_ibm_i
mkdir /prj
cd /prj
git -c http.sslVerify=false clone https://github.com/sitemule/noxDB.git
cd noxDB
gmake
This will create:
- The
NOXDBlibrary NOXDB/JSONXMLservice program.NOXDB/QRPGLEREF.XMLPARSERfor the XML noxDB API prototypes.NOXDB/QRPGLEREF.JSONPARSERfor the JSON noxDB API prototypes.NOXDB/NOXDBbinding directory, with theJSONXMLobject on it.
When you have made the project in library NOXDB, you can create the release as a savefile
ssh my_ibm_i
cd /prj/noxDB
gmake clean release
This "master" branch is widely used, but the core graph is stored in EBCDIC. we are keeping this "master" as is and support it. However, for any new projects rather use the "main" branch where anything is stored in UTF-8 and the prototypes has been cleaned up and have great new features.
Want some further reading on noxDB? See Andy Youens PowerWire article on noxDB here.