6/20/2023 0 Comments Install nodejs yumYou should see this output: Angle input: 0 Cosine result: 1, from the ‘0’ passed in to addParam(). For example, let’s say you wanted to create a project directory in your IBM i home directory ( /home/aseiden in my case). If you don’t have a project directory yet, create it now. That way, you can later upgrade your Node modules located in individual projects without unintentionally affecting your other projects. If you are creating a new project, we recommend installing Node packages (called modules) in your project directory, rather than in the global package area. Node has a robust package manager called npm that can install iToolkit and other npm-enabled modules. Once you have open source and Node.js installed, it’s time to install the iToolkit. Note: To run the example given in this post, you will have to install the ODBC driver as well. To install Node.js, see IBM’s documentation and use the yum approach. Then, before proceeding with these instructions, make sure you have set up the open source path. This post explains how to install Node.js and its iToolkit on your IBM i, then use iToolkit to call an RPG service program.įirst, make sure you’ve set up the open source environment on your IBM i. As with Node.js itself, iToolkit can run on your IBM i or can connect to IBM i from your PC or an external web server. The Node.js iToolkit lets you leverage your company’s investment in RPG and COBOL business logic while developing front ends and APIs with Node.js. A server-side runtime for JavaScript, Node.js can run both on IBM i and on other platforms such as Linux. Node.js has joined other popular IBM i open-source technologies, such as PHP and Python, for web application and API development.
0 Comments
Leave a Reply. |