Mainframes hold 80% of the world's business data - often this is within complex structures of AS/400, CICS, COBOL, IMS, VSAM, etc., making it difficult to react quickly and enable desired business outcomes. Until now, data retrieval from these core and legacy systems was complex and time-consuming. With OpenLegacy, it is easy to leverage legacy system assets in a wide variety of ways through the enterprise.
The IBMi, AS/400 (Application System/400) is a family of midrange computers from IBM. There are over 100,000 companies that use AS/400 technology as it exists within IBMi to power their most mission-critical application. These companies run the gamut from banks and hospitals to manufacturing and distribution centers to retailers and government agencies.
The OpenLegacy AS/400 - Partner Connector allows easy integration with AS/400 systems using OpenLegacy’s Hub platform. This connector parses the PCML (Program Code Markup Language) and turns it into consumable JSON.
The OpenLegacy Hub is the all-in-one platform for managing legacy assets and seamlessly integrating them into third-party technology platforms. The integration between Boomi’s Boomi Enterprise Platform and legacy assets using the OpenLegacy Hub is a 2-step process:
⦁ Automatic generation of legacy assets into the OpenLegacy Hub repository.
⦁ Using the Boomi connector as a plugin to the OpenLegacy Hub for seamless integration of the assets housed in the OpenLegacy Hub repository.
Learn more about the OpenLegacy Hub for Technology Partners and the end-user experience interacting with the Hub
here.
Through this article, you will learn how to build and configure a Boomi Integration process to connect to AS/400 using the Boomi OpenLegacy AS/400 - Partner Connector.
Creating your first Boomi AS/400 integration process requires the following steps:⦁ OpenLegacy Steps
⦁ Register an OpenLegacy Hub account and generate a Hub API Key.
⦁ Create your first project in the OpenLegacy Hub, or import a working sample AS/400 project from the OpenLegacy Solution Center.
⦁ Boomi Enterprise Platform
⦁ Request the OpenLegacy AS/400 - Partner Connector via Boomi’s Early Access Program: https://community.boomi.com/s/tech-preview
⦁ Upload the connector-specific third-party dependencies files to your Account Libraries and deploy the packaged component to your runtime environment.
⦁ Use the Boomi OpenLegacy AS/400 Connector - Partner Connector and the OpenLegacy Hub Key to build an integration process.
AS/400 PrerequisitesBefore building and configuring a Boomi Integration process to connect to AS/400 using the Boomi OpenLegacy AS/400 connector - Partner Connector, you must first ensure you can connect to your organization’s AS/400 System.
Suppose you do not have a readily available AS/400 system, yet want to experience the ease of integration. In that case, OpenLegacy provides Boomi users with a demo environment and a working AS/400 Integration project.
OpenLegacy Prerequisites⦁ Register an OpenLegacy Hub Account and Generate a Hub API Key
Before extending Boomi’s Boomi Enterprise Platform to core systems via the OpenLegacy Hub, first Register an OpenLegacy Hub Account (https://app.ol-hub.com/auth/sign-up) and generate a unique OpenLegacy Hub API Key as shown below. Next, save the generated API Key in a safe place. The API Key is required to configure your Boomi OpenLegacy connector to your OpenLegacy Hub instance.
💡 Your key will look similar to the following:
VZ08nFRqjTrwfI1TYjIXZI4AQ6oS0MQyHUpVRXTUHGRhxHLAZrl4kqfSWpuGNjYiSxjj7A52qDvd3b23lfpyMX01hgBbmFCAePY=
If you misplace your API key, look it up inside the OpenLegacy Hub repository, or generate a new one.
If you require assistance, contact boomi-alliance@openlegacy.com.
⦁ AS/400 Project
In the course of normal business, your organization will have AS/400 projects available in your OL Hub installation. You will easily be able to identify if a suitable OpenLegacy AS/400 project is available for use.
If you do not have access to a prebuilt AS/400 project yet want to familiarize yourself with the complete Boomi experience, follow the steps below to import a prepackaged AS/400 project from the OpenLegacy Solution Center:
⦁ Import AS/400 project from the Solution Center
Go to Projects and click Import from Solution Center
You see the option to choose from a collection of pre-packaged projects.
Search for and select the IBMi COBOL Insurance Policies - Demo project and import it into your account. Specify a unique name or use the default: policy-as400-cobol-microservice.
Note: There are 2 Assets as part of the policy-as400-cobol-microservice module. These represent a set of CRUD transactions that access mock insurance policies.
For this exercise, we will use pol2get, which retrieves a specific policy.
💡 Note: This module requires input. A Message step is required to serve as the input to the OpenLegacy AS/400 - Partner Connector inside the Boomi process.
Publish both Methods so they become available to the Boomi Connector Operation import process.
Your OpenLegacy AS/400 project is now ready to connect from within Boomi’s Boomi Enterprise Platform.
Boomi PrerequisitesBefore building and configuring a Boomi Integration process using the Boomi Certified OpenLegacy connector, you must upload the OpenLegacy connector-specific third-party dependencies Java Archive (JAR) file and the Open Source version of the IBM Toolbox for Java (jt400) Java Archive (JAR) to your Account Libraries and deploy the packaged component to your runtime environment.
Contact OpenLegacy at boomi-alliance@openlegacy.com to request the dependency files.
💡 The Boomi
Account Library settings documentation is available
here.
Documentation on deploying
Packaged Components is available
here.
Create New Boomi Integration Process⦁ Add Connector
Once logged into Boomi, in a folder of your choosing, open a new process window. Change the Start step type to No Data and add a Stop step with “Continue processing other execution paths” deselected. Next, use the step Search box to find the OpenLegacy AS/400 connector. You can search for “OpenLegacy,” “AS/400,” and the UI will narrow down your options based on your entry.
⦁ Configuring the Connector
Once you locate the Connector step, drag it to the Designer canvas. Next, you will configure the connector step properties.
⦁ Connector step – General Tab
⦁ Display Name – Enter a name of your choice (here we used “OpenLegacy AS/400”).
⦁ Connector – Should be pre-populated with your selected connector (“OpenLegacy AS/400 - Partner connector”).
⦁ Action – Only the Execute action is available. There are no parameters requiring configuration, so the Parameters tab is empty.
⦁ Connection – Clicking the “+” icon takes you to the Connection Configuration window. Name your connection (here we used “OpenLegacy AS/400 — Partner connector — Connection”
Enter the following Connection properties:
⦁ Hub Backend Url: ⦁ https://api.ol-hub.com
⦁ Hub API Key - Click to set and paste in your previously generated key.
⦁ Profile - Leave empty.
⦁ Upon saving the newly created connection, you should see the following confirmation:
⦁ Test and Save Connection to the OpenLegacy Hub
Validate your newly defined ‘Connector’ step properly connects to the OpenLegacy Hub by clicking the Test Connection button and following the testing steps below.
Connection validated successfully. Click Finish and Save.
⦁ Operation Configuration
Click the “+” icon to Create New Operation.
Enter a name of your choice.
Here we used “OpenLegacy AS/400 — Partner connector — Connector Operation.”
Click Import to start the OpenLegacy Hub Project Import Wizard.
⦁ Define the following:
⦁ Basic runtime: your work environment.
⦁ Connection: Click in the Connection box to open the drop-down and select the connection you defined in the previous step: OpenLegacy AS/400 — Partner connector — Connection.
⦁ Project: Type the name of the OpenLegacy Hub Project you imported from the OpenLegacy Solution Center: policy-as400-cobol-microservice
Click
Next and select the name of the AS/400 Cobol program you want to execute (the Cobol programs are listed as published Modules in your OpenLegacy Hub Project).
💡 In the drop-down, see a set of CRUD transactions accessing mock insurance policies.
Example: “pol2get” provides a list of policies.
Select Object Type:
pol2get and click
Next.


The connector imports the Request and Response to the Cobol program. Upon successful validation, click
Finish.
Your connector is now ready to use. Click
Save and Close.

Click
OK to return to the process canvas.

⦁ Testing the Boomi Integration process
The OpenLegacy AS/400 connector requires an input. Add a Message step as an input to the OpenLegacy AS/400 connector (as shown).

Configure the Message step properties as shown below. Copy and Paste the following as the Message (making sure to include the quotes):
'{"policyNumIn": "99"}'
Save and test your Boomi process.

Your process should execute successfully.

Review the data returned by selecting the Stop step and retrieving the step Source Data.

Learn more about the
Boomi - OpenLegacy Partnership .
Reach out to your Boomi account representative for commercial details.