{"id":15048,"date":"2024-06-27T11:12:21","date_gmt":"2024-06-27T09:12:21","guid":{"rendered":"https:\/\/mjr.gmbh\/?p=15048"},"modified":"2025-02-12T15:58:38","modified_gmt":"2025-02-12T14:58:38","slug":"using-node-red-for-professional-automation-on-ibm-i","status":"publish","type":"post","link":"https:\/\/www.mjr.gmbh\/en\/blog-en\/using-node-red-for-professional-automation-on-ibm-i\/","title":{"rendered":"Node-RED for professional automation on IBM i"},"content":{"rendered":"<section class=\"l-section wpb_row us_custom_8ee4f955 height_small width_full\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row via_flex valign_top type_default stacking_default\"><div class=\"vc_col-sm-6 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\">\n<\/div><\/div><\/div><\/div><\/div><div class=\"vc_col-sm-6 wpb_column vc_column_container has_bg_color\"><div class=\"vc_column-inner us_custom_4324774f\"><div class=\"wpb_wrapper\"><div class=\"w-image us_custom_fcf66a6c has_height has_ratio align_left\"><div class=\"w-image-h\"><div style=\"padding-bottom:100%\"><\/div><img decoding=\"async\" width=\"400\" height=\"400\" src=\"https:\/\/www.mjr.gmbh\/wp-content\/uploads\/J.jpg\" class=\"attachment-full size-full\" alt=\"Mjr Gmbh marketing\" loading=\"lazy\" \/><\/div><\/div><div class=\"wpb_text_column us_custom_72fc42ef\"><div class=\"wpb_wrapper\"><p style=\"text-align: left;\"><span style=\"font-size: 14pt;\"><strong>Julia Eberle<\/strong><\/span><br \/>\n<span style=\"font-size: 14pt;\">Marketing Manager<\/span><\/p>\n<p style=\"text-align: left;\"><span style=\"font-size: 12pt; text-align: right;\">Your partner for ERP and technology.<\/span><\/p>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/section><section class=\"l-section wpb_row us_custom_c86f0a77 height_auto width_full\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row via_flex valign_top type_default stacking_default\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner us_custom_2ae65f69\"><div class=\"wpb_wrapper\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p><span style=\"font-size: 14pt;\">In the following article we explain how to install Node-RED on the IBM i. We will show you how to use Node-RED to query an IBM i database and then display the results.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">But first, let&#8217;s take a quick look at the terminology and the technology.<\/span><\/p>\n<\/div><\/div><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h2>Node-RED<\/h2>\n<p><span style=\"font-size: 14pt;\">Node-RED is a flow-based development tool for visual programming. Originally developed by IBM it is now part of the OpenJS Foundation. It comes with a runtime and an editor. The editor is browser based. In these editor you drag the nodes from a pallet onto the workspace and wire them together.<br \/>\nThrough a large number of addons, Node-RED can be configured to interact with many data source and connectors. Particularly in the field of Iot it is very configurable through its wide variety of addons and its ease in connecting and controlling different Iot devices and services. <\/span><br \/>\n<span style=\"font-size: 14pt;\">More details about Node-RED can be found at their website <a href=\"https:\/\/nodered.org\/\" target=\"_blank\" rel=\"noopener\">nodered.org<\/a><\/span><\/p>\n<\/div><\/div>[vc_custom_heading text=&#8220;IBM i (operating system for the IBM i platform)&#8220; use_theme_fonts=&#8220;yes&#8220;]<div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p><span style=\"font-size: 14pt;\">IBM i is the operating system for the IBM i platform. IBM i is an integrated operating system and hardware platform developed by IBM. It has served a wide range of clients worldwide for decades with proven success due to its scalability, reliability and flexibility. IBM i is the leading integrative platform for the management and operation of business-oriented workloads, combining legacy software with modern open source technologies.<\/span><\/p>\n<\/div><\/div>[vc_custom_heading text=&#8220;IBMi + Node-RED&#8220; use_theme_fonts=&#8220;yes&#8220;]<div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p><span style=\"font-size: 14pt;\">IBM i and Node-RED are the perfect combination for modern business solutions. IBMi offers a robust, secure platform, while Node-RED impresses with its visual programming and simple integration. Together, they enable efficient automation and rapid development, which is ideal for modern business requirements and digital transformation. So they are the perfect combination of proven hardware with new technologies!<\/span><\/p>\n<\/div><\/div>[vc_custom_heading text=&#8220;Tutorial: Installation of Node-RED on IBM i&#8220; font_container=&#8220;tag:h3|text_align:left&#8220; use_theme_fonts=&#8220;yes&#8220;]<div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p><span style=\"font-size: 14pt;\">We will install Node-RED on the IBM i and show you how to use Node-RED to query an IBM i database to finally display the results.<\/span><\/p>\n<\/div><\/div>[vc_custom_heading text=&#8220;Prerequesites IBM i&#8220; font_container=&#8220;tag:h3|text_align:left&#8220; use_theme_fonts=&#8220;yes&#8220;]<div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p><span style=\"font-size: 14pt;\">OpenSSH Server<br \/>\nNode.js<br \/>\nTo install Node-Red we are not using yum or the AccessClientSolution package management.<br \/>\nGo via SSH to your IBMi and logon as the installation user you want to install NODE-Red. Check prerequisites on the IBMi:<br \/>\n<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14984\" src=\"https:\/\/mjr.gmbh\/wp-content\/uploads\/prerequisites_on_IBMi.png\" alt=\"prerequisites_on_IBMi\" width=\"266\" height=\"94\" \/><\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Install Node-RED:<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14987\" src=\"https:\/\/mjr.gmbh\/wp-content\/uploads\/install_Nodered2.png\" alt=\"install Nodered IBM i\" width=\"290\" height=\"75\" \/><\/p>\n<p><span style=\"font-size: 14pt;\">After the installation is finished you can start Node-RED:<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-14990 size-full\" src=\"https:\/\/mjr.gmbh\/wp-content\/uploads\/start_Nodered-e1719407579730.png\" alt=\"start Nodered command\" width=\"475\" height=\"55\" srcset=\"https:\/\/www.mjr.gmbh\/wp-content\/uploads\/start_Nodered-e1719407579730.png 475w, https:\/\/www.mjr.gmbh\/wp-content\/uploads\/start_Nodered-e1719407579730-300x35.png 300w\" sizes=\"auto, (max-width: 475px) 100vw, 475px\" \/><\/p>\n<p><span style=\"font-size: 14pt;\">If you are not running nodejs at version 20 change it accordingly to the version you are running.<br \/>\nTo start NODE-Red automatically at system startup, you can add this command to your startup job. In this example we are using the User nodered:<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14993\" src=\"https:\/\/mjr.gmbh\/wp-content\/uploads\/user_Nodered.png\" alt=\"user Node-red\" width=\"605\" height=\"34\" srcset=\"https:\/\/www.mjr.gmbh\/wp-content\/uploads\/user_Nodered.png 605w, https:\/\/www.mjr.gmbh\/wp-content\/uploads\/user_Nodered-300x17.png 300w, https:\/\/www.mjr.gmbh\/wp-content\/uploads\/user_Nodered-600x34.png 600w, https:\/\/www.mjr.gmbh\/wp-content\/uploads\/user_Nodered-530x30.png 530w\" sizes=\"auto, (max-width: 605px) 100vw, 605px\" \/><br \/>\n<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">The URL to your working Node-RED instance on the IBMi is:<\/span><br \/>\n<span style=\"font-size: 14pt;\"><em>http:\/\/youribmi:1880<\/em><\/span><br \/>\n<span style=\"font-size: 14pt;\">If everything works as expected you are seeing this page:<\/span><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14996\" src=\"https:\/\/mjr.gmbh\/wp-content\/uploads\/startpage_Nodered.png\" alt=\"startseite Node-Red\" width=\"585\" height=\"343\" srcset=\"https:\/\/www.mjr.gmbh\/wp-content\/uploads\/startpage_Nodered.png 585w, https:\/\/www.mjr.gmbh\/wp-content\/uploads\/startpage_Nodered-300x176.png 300w, https:\/\/www.mjr.gmbh\/wp-content\/uploads\/startpage_Nodered-530x311.png 530w\" sizes=\"auto, (max-width: 585px) 100vw, 585px\" \/><\/p>\n<p><span style=\"font-size: 14pt;\">On the left side of the page you have the nodes, which are grouped into sections.<br \/>\nIn center you place these nodes to create a flow.<br \/>\nOn the right you will see the information the Flow produces.<br \/>\nOn the top right you have the deploy button to save created flows. There is right next to it a drop down button we will need later.<\/span><\/p>\n<\/div><\/div><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p><span style=\"font-size: 14pt;\">As prerequisites for our example, we have to install the DB2 adapter. To do this select the 3 bars at the top right and click on manage palette:<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-15000\" src=\"https:\/\/mjr.gmbh\/wp-content\/uploads\/nodeRed_manage.png\" alt=\"nodeRed manage\" width=\"604\" height=\"347\" srcset=\"https:\/\/www.mjr.gmbh\/wp-content\/uploads\/nodeRed_manage.png 604w, https:\/\/www.mjr.gmbh\/wp-content\/uploads\/nodeRed_manage-300x172.png 300w, https:\/\/www.mjr.gmbh\/wp-content\/uploads\/nodeRed_manage-530x304.png 530w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Then select the install tab and search for IBMi:<br \/>\n<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-15003\" src=\"https:\/\/mjr.gmbh\/wp-content\/uploads\/nodeRed_installation_IBMi.png\" alt=\"nodeRed installation IBMi\" width=\"604\" height=\"369\" srcset=\"https:\/\/www.mjr.gmbh\/wp-content\/uploads\/nodeRed_installation_IBMi.png 604w, https:\/\/www.mjr.gmbh\/wp-content\/uploads\/nodeRed_installation_IBMi-300x183.png 300w, https:\/\/www.mjr.gmbh\/wp-content\/uploads\/nodeRed_installation_IBMi-530x324.png 530w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/p>\n<p><span style=\"font-size: 14pt;\">Select <strong>node-red-contrib-db2-for-i<\/strong> and click on the <strong>install-<\/strong>button<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-15006\" src=\"https:\/\/mjr.gmbh\/wp-content\/uploads\/nodered_db2_fori.png\" alt=\"node red-contrib-db2-for-i \" width=\"605\" height=\"77\" srcset=\"https:\/\/www.mjr.gmbh\/wp-content\/uploads\/nodered_db2_fori.png 605w, https:\/\/www.mjr.gmbh\/wp-content\/uploads\/nodered_db2_fori-300x38.png 300w, https:\/\/www.mjr.gmbh\/wp-content\/uploads\/nodered_db2_fori-600x77.png 600w, https:\/\/www.mjr.gmbh\/wp-content\/uploads\/nodered_db2_fori-530x67.png 530w\" sizes=\"auto, (max-width: 605px) 100vw, 605px\" \/><\/p>\n<p><span style=\"font-size: 14pt;\" to=\"\" check=\"\" if=\"\" it=\"\" is=\"\" installed=\"\" properly=\"\" open=\"\" manage=\"\" palette=\"\" again=\"\" the=\"\" node=\"\" shows=\"\" as=\"\" installed:=\"\" img=\"\" class=\"alignnone size-full wp-image-15009\" src=\"https:\/\/mjr.gmbh\/wp-content\/uploads\/nodeRed-Palette.png\" alt=\"nodeRed Palette\" width=\"605\" height=\"264\">\u00a0<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Now we are configuring node red to use the db2 adapter. Drop a timestamp node, a debug node and the db2 adapter node on the flow:<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-15012\" src=\"https:\/\/mjr.gmbh\/wp-content\/uploads\/NodeRed_konfiguration.png\" alt=\"NodeRed konfiguration\" width=\"604\" height=\"202\" srcset=\"https:\/\/www.mjr.gmbh\/wp-content\/uploads\/NodeRed_konfiguration.png 604w, https:\/\/www.mjr.gmbh\/wp-content\/uploads\/NodeRed_konfiguration-300x100.png 300w, https:\/\/www.mjr.gmbh\/wp-content\/uploads\/NodeRed_konfiguration-600x202.png 600w, https:\/\/www.mjr.gmbh\/wp-content\/uploads\/NodeRed_konfiguration-530x177.png 530w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><br \/>\n<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">As you can see, the DB2 node has a red triangle above it. This means we have to configure the node accordingly. To do that, double click on the node and the property windows opens. Click on the single Array Result mode. This will provide the response in a single array. Click on the pencil to add a new configuration:<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-15015\" src=\"https:\/\/mjr.gmbh\/wp-content\/uploads\/Edit_NodeRed_DB2.png\" alt=\"Edit NodeRed DB2\" width=\"523\" height=\"442\" srcset=\"https:\/\/www.mjr.gmbh\/wp-content\/uploads\/Edit_NodeRed_DB2.png 523w, https:\/\/www.mjr.gmbh\/wp-content\/uploads\/Edit_NodeRed_DB2-300x254.png 300w, https:\/\/www.mjr.gmbh\/wp-content\/uploads\/Edit_NodeRed_DB2-473x400.png 473w, https:\/\/www.mjr.gmbh\/wp-content\/uploads\/Edit_NodeRed_DB2-438x370.png 438w\" sizes=\"auto, (max-width: 523px) 100vw, 523px\" \/><\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Fill the details accordingly to your needs:<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15018 size-full\" title=\"nodeRed db2 conf\" src=\"https:\/\/mjr.gmbh\/wp-content\/uploads\/node_red_DB2.png\" alt=\"\" width=\"524\" height=\"436\" \/><br \/>\n<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">If you now click on the help icon, it will display the options the db2 adapter has:<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-15021\" src=\"https:\/\/mjr.gmbh\/wp-content\/uploads\/help_options_db2_adapter.png\" alt=\"help options db2 adapter nodeRed\" width=\"604\" height=\"454\" srcset=\"https:\/\/www.mjr.gmbh\/wp-content\/uploads\/help_options_db2_adapter.png 604w, https:\/\/www.mjr.gmbh\/wp-content\/uploads\/help_options_db2_adapter-300x225.png 300w, https:\/\/www.mjr.gmbh\/wp-content\/uploads\/help_options_db2_adapter-532x400.png 532w, https:\/\/www.mjr.gmbh\/wp-content\/uploads\/help_options_db2_adapter-492x370.png 492w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Here you can see, that you have to supply the sql statement in the msg.payload property. To do that close everything accordingly and open the property of the timestamp node. Double click on the node:<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-15024\" src=\"https:\/\/mjr.gmbh\/wp-content\/uploads\/Edit_inject_Node.png\" alt=\"Edit inject Node\" width=\"604\" height=\"396\" srcset=\"https:\/\/www.mjr.gmbh\/wp-content\/uploads\/Edit_inject_Node.png 604w, https:\/\/www.mjr.gmbh\/wp-content\/uploads\/Edit_inject_Node-300x197.png 300w, https:\/\/www.mjr.gmbh\/wp-content\/uploads\/Edit_inject_Node-530x347.png 530w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/p>\n<p><span style=\"font-size: 14pt;\">Delete the msg.topic Value and change msg.payload from timestamp to string. Enter the SQL query in the msg.payload tab. We are querying a customer table supplied by IBM.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-15027\" src=\"https:\/\/mjr.gmbh\/wp-content\/uploads\/Edit_inject_Node_sql.png\" alt=\"Edit inject Node sql \" width=\"605\" height=\"392\" srcset=\"https:\/\/www.mjr.gmbh\/wp-content\/uploads\/Edit_inject_Node_sql.png 605w, https:\/\/www.mjr.gmbh\/wp-content\/uploads\/Edit_inject_Node_sql-300x194.png 300w, https:\/\/www.mjr.gmbh\/wp-content\/uploads\/Edit_inject_Node_sql-530x343.png 530w\" sizes=\"auto, (max-width: 605px) 100vw, 605px\" \/><\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Close the window and do not forget to click on deploy. As we are now finished with the configuration lets test it. Click on the inject button:<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-15030\" src=\"https:\/\/mjr.gmbh\/wp-content\/uploads\/Node-RedTest_IBMi.png\" alt=\"Node RedTest IBMi\" width=\"604\" height=\"326\" srcset=\"https:\/\/www.mjr.gmbh\/wp-content\/uploads\/Node-RedTest_IBMi.png 604w, https:\/\/www.mjr.gmbh\/wp-content\/uploads\/Node-RedTest_IBMi-300x162.png 300w, https:\/\/www.mjr.gmbh\/wp-content\/uploads\/Node-RedTest_IBMi-530x286.png 530w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/span><\/p>\n<p><span style=\"font-size: 14pt;\">As you can see we got an array ack with 12 results. If we expand this array we can see the values of each entry.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">The example shows that it is not difficult to configure tasks in Node-RED on the IBMi. You can also use Node-RED for much more complex operations on the IBM i, such as executing commands, complex SQL queries, writing files and more.<\/span><\/p>\n<\/div><\/div><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><\/div><\/div>[vc_btn title=&#8220;Contact us for more information&#8220; i_icon_fontawesome=&#8220;fas fa-exclamation-circle&#8220; css=&#8220;&#8220; add_icon=&#8220;true&#8220; link=&#8220;url:https%3A%2F%2Fmjr.gmbh%2Fen%2Fcontact%2F|&#8220; el_class=&#8220;btn-red&#8220;]<\/div><\/div><\/div><\/div><\/div><\/section><section class=\"l-section wpb_row height_medium full_height valign_center\" id=\"kontakt\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row via_flex valign_top type_default stacking_default\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><div class=\"g-cols wpb_row via_flex valign_top type_default stacking_default\"><div class=\"vc_col-sm-3 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><div class=\"w-image style_circle align_center\"><div class=\"w-image-h\"><img decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/www.mjr.gmbh\/wp-content\/uploads\/Michael_350x350-150x150.png\" class=\"attachment-thumbnail size-thumbnail\" alt=\"Michael raber\" loading=\"lazy\" srcset=\"https:\/\/www.mjr.gmbh\/wp-content\/uploads\/Michael_350x350-150x150.png 150w, https:\/\/www.mjr.gmbh\/wp-content\/uploads\/Michael_350x350-300x300.png 300w, https:\/\/www.mjr.gmbh\/wp-content\/uploads\/Michael_350x350.png 350w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/div><\/div><\/div><\/div><\/div><div class=\"vc_col-sm-9 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">[vc_custom_heading text=&#8220;Contact us now&#8220; use_theme_fonts=&#8220;yes&#8220;]<div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p><strong>Michael Raber<br \/>\n<\/strong>General Manager<\/p>\n<\/div><\/div><div class=\"aio-icon-component    style_1\"><a class=\"aio-icon-box-link\" href=\"mailto:kontakt@mjr.gmbh\" ><div id=\"Info-box-wrap-6476\" class=\"aio-icon-box default-icon\" style=\"\"  ><div class=\"aio-icon-default\"><div class=\"ult-just-icon-wrapper  \"><div class=\"align-icon\" style=\"text-align:center;\">\n<div class=\"aio-icon none \"  style=\"color:#333;font-size:32px;display:inline-block;\">\n\t<i class=\"Defaults-envelope\"><\/i>\n<\/div><\/div><\/div><\/div><div class=\"aio-icon-header\" ><p class=\"aio-icon-title ult-responsive\"  data-ultimate-target='#Info-box-wrap-6476 .aio-icon-title'  data-responsive-json-new='{\"font-size\":\"\",\"line-height\":\"\"}'  style=\"\">kontakt@mjr.gmbh<\/p><\/div> <!-- header --><\/div> <!-- aio-icon-box --><\/a><\/div> <!-- aio-icon-component --><\/div><\/div><\/div><\/div><div class=\"g-cols wpb_row via_flex valign_top type_default stacking_default\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\n<div class=\"wpcf7 no-js\" id=\"wpcf7-f11206-o2\" lang=\"de-DE\" dir=\"ltr\" data-wpcf7-id=\"11206\">\n<div class=\"screen-reader-response\"><p role=\"status\" aria-live=\"polite\" aria-atomic=\"true\"><\/p> <ul><\/ul><\/div>\n<form action=\"\/en\/wp-json\/wp\/v2\/posts\/15048#wpcf7-f11206-o2\" method=\"post\" class=\"wpcf7-form init\" aria-label=\"Kontaktformular\" novalidate=\"novalidate\" data-status=\"init\">\n<fieldset class=\"hidden-fields-container\"><input type=\"hidden\" name=\"_wpcf7\" value=\"11206\" \/><input type=\"hidden\" name=\"_wpcf7_version\" value=\"6.1.5\" \/><input type=\"hidden\" name=\"_wpcf7_locale\" value=\"de_DE\" \/><input type=\"hidden\" name=\"_wpcf7_unit_tag\" value=\"wpcf7-f11206-o2\" \/><input type=\"hidden\" name=\"_wpcf7_container_post\" value=\"0\" \/><input type=\"hidden\" name=\"_wpcf7_posted_data_hash\" value=\"\" \/>\n<\/fieldset>\n<div class=\"contact-form\">\n\t<div class=\"contact-50\">\n\t\t<p>First name*:<br \/>\n<span class=\"wpcf7-form-control-wrap\" data-name=\"vorname\"><input size=\"40\" maxlength=\"400\" class=\"wpcf7-form-control wpcf7-text wpcf7-validates-as-required\" aria-required=\"true\" aria-invalid=\"false\" value=\"\" type=\"text\" name=\"vorname\" \/><\/span>\n\t\t<\/p>\n\t\t<p>Name*:<br \/>\n<span class=\"wpcf7-form-control-wrap\" data-name=\"nachname\"><input size=\"40\" maxlength=\"400\" class=\"wpcf7-form-control wpcf7-text wpcf7-validates-as-required\" aria-required=\"true\" aria-invalid=\"false\" value=\"\" type=\"text\" name=\"nachname\" \/><\/span>\n\t\t<\/p>\n\t\t<p>Company*:<br \/>\n<span class=\"wpcf7-form-control-wrap\" data-name=\"firma\"><input size=\"40\" maxlength=\"400\" class=\"wpcf7-form-control wpcf7-text wpcf7-validates-as-required\" aria-required=\"true\" aria-invalid=\"false\" value=\"\" type=\"text\" name=\"firma\" \/><\/span>\n\t\t<\/p>\n\t\t<p>E-Mail address*:<br \/>\n<span class=\"wpcf7-form-control-wrap\" data-name=\"email\"><input size=\"40\" maxlength=\"400\" class=\"wpcf7-form-control wpcf7-email wpcf7-validates-as-required wpcf7-text wpcf7-validates-as-email\" aria-required=\"true\" aria-invalid=\"false\" value=\"\" type=\"email\" name=\"email\" \/><\/span>\n\t\t<\/p>\n\t<\/div>\n\t<p>Message:<br \/>\n<span class=\"wpcf7-form-control-wrap\" data-name=\"message\"><textarea cols=\"40\" rows=\"10\" maxlength=\"2000\" class=\"wpcf7-form-control wpcf7-textarea wpcf7-validates-as-required\" aria-required=\"true\" aria-invalid=\"false\" name=\"message\"><\/textarea><\/span>\n\t<\/p>\n<\/div>\n<p><span class=\"wpcf7-form-control-wrap\" data-name=\"acceptance-standard\"><span class=\"wpcf7-form-control wpcf7-acceptance\"><span class=\"wpcf7-list-item\"><label><input type=\"checkbox\" name=\"acceptance-standard\" value=\"1\" aria-invalid=\"false\" \/><span class=\"wpcf7-list-item-label\">I agree that my data from the contact form will be collected and processed to answer my request. The data will be deleted after the processing of your request has been completed. Note: You can revoke your consent for the future at any time by sending an e-mail to kontakt@mjr.gmbh. Information on the handling of user data can be found in our <a title=\"Datenschutz\" href=\"\/en\/privacy-policy\/\"  target=\"_blank\">Privacy policy<\/a>.<\/span><\/label><\/span><\/span><\/span>\n<\/p>\n<p><span id=\"wpcf7-69f2dc810213e-wrapper\" class=\"wpcf7-form-control-wrap honeypot-977-wrap\" style=\"display:none !important; visibility:hidden !important;\"><label for=\"wpcf7-69f2dc810213e-field\" class=\"hp-message\">Bitte lasse dieses Feld leer.<\/label><input id=\"wpcf7-69f2dc810213e-field\"  class=\"wpcf7-form-control wpcf7-text\" type=\"text\" name=\"honeypot-977\" value=\"\" size=\"40\" tabindex=\"-1\" autocomplete=\"new-password\" \/><\/span>\n<\/p>\n<p><input class=\"wpcf7-form-control wpcf7-submit has-spinner\" type=\"submit\" value=\"Send message\" \/>\n<\/p><input type=\"text\" name=\"tTRKv\" value=\"\" style=\"display: none !important;\" \/><div class=\"wpcf7-response-output\" aria-hidden=\"true\"><\/div>\n<\/form>\n<\/div>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"Julia Eberle Marketing Manager Your partner for ERP and technology. In the following article we explain how to install Node-RED on the IBM i. We will show you how to use Node-RED to query an IBM i database and then display the results. But first, let&#8217;s take a quick look at the terminology and the...","protected":false},"author":18,"featured_media":14975,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[97,8],"tags":[],"tutorial_kategorie":[],"class_list":["post-15048","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog-en","category-post"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Node-RED for professional automation on IBM i - MJR GmbH<\/title>\n<meta name=\"description\" content=\"We explain how you can develop professional automation solutions with Node-RED and the IBM i.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.mjr.gmbh\/en\/blog-en\/using-node-red-for-professional-automation-on-ibm-i\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Node-RED for professional automation on IBM i - MJR GmbH\" \/>\n<meta property=\"og:description\" content=\"We explain how you can develop professional automation solutions with Node-RED and the IBM i.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.mjr.gmbh\/en\/blog-en\/using-node-red-for-professional-automation-on-ibm-i\/\" \/>\n<meta property=\"og:site_name\" content=\"MJR GmbH\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/mjr.gmbh\" \/>\n<meta property=\"article:published_time\" content=\"2024-06-27T09:12:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-12T14:58:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/mjr.gmbh\/wp-content\/uploads\/InstallNode-RED.png\" \/>\n\t<meta property=\"og:image:width\" content=\"900\" \/>\n\t<meta property=\"og:image:height\" content=\"900\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Julia Eberle\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Geschrieben von\" \/>\n\t<meta name=\"twitter:data1\" content=\"Julia Eberle\" \/>\n\t<meta name=\"twitter:label2\" content=\"Gesch\u00e4tzte Lesezeit\" \/>\n\t<meta name=\"twitter:data2\" content=\"9\u00a0Minuten\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.mjr.gmbh\\\/en\\\/blog-en\\\/using-node-red-for-professional-automation-on-ibm-i\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.mjr.gmbh\\\/en\\\/blog-en\\\/using-node-red-for-professional-automation-on-ibm-i\\\/\"},\"author\":{\"name\":\"Julia Eberle\",\"@id\":\"https:\\\/\\\/www.mjr.gmbh\\\/en\\\/#\\\/schema\\\/person\\\/23a1877cf73a8116c0bcd4b94f9956f8\"},\"headline\":\"Node-RED for professional automation on IBM i\",\"datePublished\":\"2024-06-27T09:12:21+00:00\",\"dateModified\":\"2025-02-12T14:58:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.mjr.gmbh\\\/en\\\/blog-en\\\/using-node-red-for-professional-automation-on-ibm-i\\\/\"},\"wordCount\":1303,\"publisher\":{\"@id\":\"https:\\\/\\\/www.mjr.gmbh\\\/en\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mjr.gmbh\\\/en\\\/blog-en\\\/using-node-red-for-professional-automation-on-ibm-i\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.mjr.gmbh\\\/wp-content\\\/uploads\\\/InstallNode-RED.png\",\"articleSection\":[\"Blog\",\"Posts and articles\"],\"inLanguage\":\"de\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.mjr.gmbh\\\/en\\\/blog-en\\\/using-node-red-for-professional-automation-on-ibm-i\\\/\",\"url\":\"https:\\\/\\\/www.mjr.gmbh\\\/en\\\/blog-en\\\/using-node-red-for-professional-automation-on-ibm-i\\\/\",\"name\":\"Node-RED for professional automation on IBM i - MJR GmbH\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.mjr.gmbh\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.mjr.gmbh\\\/en\\\/blog-en\\\/using-node-red-for-professional-automation-on-ibm-i\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mjr.gmbh\\\/en\\\/blog-en\\\/using-node-red-for-professional-automation-on-ibm-i\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.mjr.gmbh\\\/wp-content\\\/uploads\\\/InstallNode-RED.png\",\"datePublished\":\"2024-06-27T09:12:21+00:00\",\"dateModified\":\"2025-02-12T14:58:38+00:00\",\"description\":\"We explain how you can develop professional automation solutions with Node-RED and the IBM i.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.mjr.gmbh\\\/en\\\/blog-en\\\/using-node-red-for-professional-automation-on-ibm-i\\\/#breadcrumb\"},\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.mjr.gmbh\\\/en\\\/blog-en\\\/using-node-red-for-professional-automation-on-ibm-i\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/www.mjr.gmbh\\\/en\\\/blog-en\\\/using-node-red-for-professional-automation-on-ibm-i\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.mjr.gmbh\\\/wp-content\\\/uploads\\\/InstallNode-RED.png\",\"contentUrl\":\"https:\\\/\\\/www.mjr.gmbh\\\/wp-content\\\/uploads\\\/InstallNode-RED.png\",\"width\":900,\"height\":900,\"caption\":\"Node RedTest IBMi\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.mjr.gmbh\\\/en\\\/blog-en\\\/using-node-red-for-professional-automation-on-ibm-i\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Startseite\",\"item\":\"https:\\\/\\\/www.mjr.gmbh\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Node-RED for professional automation on IBM i\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.mjr.gmbh\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/www.mjr.gmbh\\\/en\\\/\",\"name\":\"MJR GmbH\",\"description\":\"MJR GmbH - Digitalisierung f\u00fcr den Mittelstand\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.mjr.gmbh\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.mjr.gmbh\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"de\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.mjr.gmbh\\\/en\\\/#organization\",\"name\":\"MJR GmbH\",\"url\":\"https:\\\/\\\/www.mjr.gmbh\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/www.mjr.gmbh\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"MJR GmbH\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mjr.gmbh\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/mjr.gmbh\",\"https:\\\/\\\/www.instagram.com\\\/mjrgmbh\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/mjrgmbh\\\/\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCodd4EtgS-12wppUPRXK8QA\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.mjr.gmbh\\\/en\\\/#\\\/schema\\\/person\\\/23a1877cf73a8116c0bcd4b94f9956f8\",\"name\":\"Julia Eberle\",\"sameAs\":[\"https:\\\/\\\/www.linkedin.com\\\/in\\\/julia-eberle-40751121b\\\/\"],\"url\":\"https:\\\/\\\/www.mjr.gmbh\\\/en\\\/author\\\/jeberle\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Node-RED for professional automation on IBM i - MJR GmbH","description":"We explain how you can develop professional automation solutions with Node-RED and the IBM i.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.mjr.gmbh\/en\/blog-en\/using-node-red-for-professional-automation-on-ibm-i\/","og_locale":"en_US","og_type":"article","og_title":"Node-RED for professional automation on IBM i - MJR GmbH","og_description":"We explain how you can develop professional automation solutions with Node-RED and the IBM i.","og_url":"https:\/\/www.mjr.gmbh\/en\/blog-en\/using-node-red-for-professional-automation-on-ibm-i\/","og_site_name":"MJR GmbH","article_publisher":"https:\/\/www.facebook.com\/mjr.gmbh","article_published_time":"2024-06-27T09:12:21+00:00","article_modified_time":"2025-02-12T14:58:38+00:00","og_image":[{"width":900,"height":900,"url":"https:\/\/mjr.gmbh\/wp-content\/uploads\/InstallNode-RED.png","type":"image\/png"}],"author":"Julia Eberle","twitter_card":"summary_large_image","twitter_misc":{"Geschrieben von":"Julia Eberle","Gesch\u00e4tzte Lesezeit":"9\u00a0Minuten"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.mjr.gmbh\/en\/blog-en\/using-node-red-for-professional-automation-on-ibm-i\/#article","isPartOf":{"@id":"https:\/\/www.mjr.gmbh\/en\/blog-en\/using-node-red-for-professional-automation-on-ibm-i\/"},"author":{"name":"Julia Eberle","@id":"https:\/\/www.mjr.gmbh\/en\/#\/schema\/person\/23a1877cf73a8116c0bcd4b94f9956f8"},"headline":"Node-RED for professional automation on IBM i","datePublished":"2024-06-27T09:12:21+00:00","dateModified":"2025-02-12T14:58:38+00:00","mainEntityOfPage":{"@id":"https:\/\/www.mjr.gmbh\/en\/blog-en\/using-node-red-for-professional-automation-on-ibm-i\/"},"wordCount":1303,"publisher":{"@id":"https:\/\/www.mjr.gmbh\/en\/#organization"},"image":{"@id":"https:\/\/www.mjr.gmbh\/en\/blog-en\/using-node-red-for-professional-automation-on-ibm-i\/#primaryimage"},"thumbnailUrl":"https:\/\/www.mjr.gmbh\/wp-content\/uploads\/InstallNode-RED.png","articleSection":["Blog","Posts and articles"],"inLanguage":"de"},{"@type":"WebPage","@id":"https:\/\/www.mjr.gmbh\/en\/blog-en\/using-node-red-for-professional-automation-on-ibm-i\/","url":"https:\/\/www.mjr.gmbh\/en\/blog-en\/using-node-red-for-professional-automation-on-ibm-i\/","name":"Node-RED for professional automation on IBM i - MJR GmbH","isPartOf":{"@id":"https:\/\/www.mjr.gmbh\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.mjr.gmbh\/en\/blog-en\/using-node-red-for-professional-automation-on-ibm-i\/#primaryimage"},"image":{"@id":"https:\/\/www.mjr.gmbh\/en\/blog-en\/using-node-red-for-professional-automation-on-ibm-i\/#primaryimage"},"thumbnailUrl":"https:\/\/www.mjr.gmbh\/wp-content\/uploads\/InstallNode-RED.png","datePublished":"2024-06-27T09:12:21+00:00","dateModified":"2025-02-12T14:58:38+00:00","description":"We explain how you can develop professional automation solutions with Node-RED and the IBM i.","breadcrumb":{"@id":"https:\/\/www.mjr.gmbh\/en\/blog-en\/using-node-red-for-professional-automation-on-ibm-i\/#breadcrumb"},"inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.mjr.gmbh\/en\/blog-en\/using-node-red-for-professional-automation-on-ibm-i\/"]}]},{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/www.mjr.gmbh\/en\/blog-en\/using-node-red-for-professional-automation-on-ibm-i\/#primaryimage","url":"https:\/\/www.mjr.gmbh\/wp-content\/uploads\/InstallNode-RED.png","contentUrl":"https:\/\/www.mjr.gmbh\/wp-content\/uploads\/InstallNode-RED.png","width":900,"height":900,"caption":"Node RedTest IBMi"},{"@type":"BreadcrumbList","@id":"https:\/\/www.mjr.gmbh\/en\/blog-en\/using-node-red-for-professional-automation-on-ibm-i\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Startseite","item":"https:\/\/www.mjr.gmbh\/en\/"},{"@type":"ListItem","position":2,"name":"Node-RED for professional automation on IBM i"}]},{"@type":"WebSite","@id":"https:\/\/www.mjr.gmbh\/en\/#website","url":"https:\/\/www.mjr.gmbh\/en\/","name":"MJR GmbH","description":"MJR GmbH - Digitalisierung f\u00fcr den Mittelstand","publisher":{"@id":"https:\/\/www.mjr.gmbh\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.mjr.gmbh\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"de"},{"@type":"Organization","@id":"https:\/\/www.mjr.gmbh\/en\/#organization","name":"MJR GmbH","url":"https:\/\/www.mjr.gmbh\/en\/","logo":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/www.mjr.gmbh\/en\/#\/schema\/logo\/image\/","url":"","contentUrl":"","caption":"MJR GmbH"},"image":{"@id":"https:\/\/www.mjr.gmbh\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/mjr.gmbh","https:\/\/www.instagram.com\/mjrgmbh","https:\/\/www.linkedin.com\/company\/mjrgmbh\/","https:\/\/www.youtube.com\/channel\/UCodd4EtgS-12wppUPRXK8QA"]},{"@type":"Person","@id":"https:\/\/www.mjr.gmbh\/en\/#\/schema\/person\/23a1877cf73a8116c0bcd4b94f9956f8","name":"Julia Eberle","sameAs":["https:\/\/www.linkedin.com\/in\/julia-eberle-40751121b\/"],"url":"https:\/\/www.mjr.gmbh\/en\/author\/jeberle\/"}]}},"views":3367,"_links":{"self":[{"href":"https:\/\/www.mjr.gmbh\/en\/wp-json\/wp\/v2\/posts\/15048","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mjr.gmbh\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mjr.gmbh\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mjr.gmbh\/en\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mjr.gmbh\/en\/wp-json\/wp\/v2\/comments?post=15048"}],"version-history":[{"count":0,"href":"https:\/\/www.mjr.gmbh\/en\/wp-json\/wp\/v2\/posts\/15048\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mjr.gmbh\/en\/wp-json\/wp\/v2\/media\/14975"}],"wp:attachment":[{"href":"https:\/\/www.mjr.gmbh\/en\/wp-json\/wp\/v2\/media?parent=15048"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mjr.gmbh\/en\/wp-json\/wp\/v2\/categories?post=15048"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mjr.gmbh\/en\/wp-json\/wp\/v2\/tags?post=15048"},{"taxonomy":"tutorial_kategorie","embeddable":true,"href":"https:\/\/www.mjr.gmbh\/en\/wp-json\/wp\/v2\/tutorial_kategorie?post=15048"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}