Blog Post

Azure Integration Services Blog
9 MIN READ

Reuse Your BizTalk Host Integration Artifacts in Logic Apps Standard

hcamposu's avatar
hcamposu
Icon for Microsoft rankMicrosoft
Dec 01, 2026

Built to outlast us all: the enduring value of host integration

Mainframe and midrange systems still run the transactions that matter most: payments, policies, claims, orders and inventory. For two decades, Microsoft Host Integration Server (HIS) has connected those IBM systems to the Windows world, and many organizations reach them from BizTalk Server through four adapters that ship with HIS: the BizTalk Adapter for Host Applications, the BizTalk Adapter for Host Files, the BizTalk Adapter for DB2 and the BizTalk Adapter for WebSphere MQ.

As these customers plan their modernization, the question we hear most is simple: do I have to start over? The answer is no. Azure Logic Apps Standard provides built-in connectors for CICS, IMS, IBM i, IBM host files, IBM DB2 and IBM MQ that run in-process with the Logic Apps runtime. They were designed so that you can carry forward what you have already built: your Host Integration Designer XML (HIDX) metadata, your COBOL and RPG copybooks, your connection details, your SQL statements and your queue configuration.

In this post we map each HIS BizTalk adapter to its Logic Apps counterpart, explain what you can reuse as-is and what you need to recreate, and walk through an end-to-end pattern that brings them together.

 

What you can reuse at a glance

 

BizTalk adapters for Host Systems/HIS

What it does in BizTalk Server

Logic Apps Standard built-in connector

Artifacts you can reuse

Host Applications

Calls CICS and IMS programs on IBM mainframes and RPG programs on IBM i through Transaction Integrator (send ports only)

CICS Program Call, IMS Program Call, IBM i Program Call

HIDX metadata, COBOL and RPG copybooks, host connection details

Host Files

Sends SQL and system commands to host files and polls them for new records

IBM Host File (Parse Host File Contents, Generate Host File Contents)

HIDX record layouts, copybooks, code page settings

DB2

Sends SQL commands, stored procedures and updategrams; polls DB2 objects

IBM DB2

Server, database, package collection and code page settings; SQL statements and stored procedure calls

WebSphere MQ (MQSC)

Sends and receives messages with remote queue managers

IBM MQ

Queue manager, channel, queue, TLS and message format settings

 

Each connector is supported on every Standard hosting option. Choose a Workflow Service Plan for managed Azure hosting with virtual network integration and private endpoints, App Service Environment v3 when you need dedicated isolation, or the hybrid deployment option to run workflows on your own Azure Arc-enabled Kubernetes infrastructure, close to the host systems they talk to.

 

The common definition: HIDX metadata

 

A host program or a host file does not describe itself. Whether you used BizTalk Server or Logic Apps, something has to tell the integration layer what a COMMAREA, a record or a parameter looks like and how to convert it between EBCDIC and modern data types. In HIS that description is created with the Transaction Integrator Designer, and the BizTalk Adapter for Host Files documentation already recommends defining record layouts as HIDX metadata files.

Logic Apps uses the same format. The CICS, IMS, IBM i, IBM 3270 and IBM Host File connectors all read HIDX files, so compatible metadata that you created for HIS can be reused. If you are starting fresh, or your BizTalk projects only have older metadata assemblies, install the HIS Designer for Azure Logic Apps (a Visual Studio tool whose only prerequisite is .NET Framework 4.8), import your COBOL or RPG copybooks and generate a new HIDX file.

The workflow side takes three steps:

  1. Generate or locate the HIDX file for your host program or file layout.
  2. Upload the HIDX file as a map to your Standard logic app resource. These connectors read HIDX files from the logic app resource, not from an integration account.
  3. Add the connector action. The connector reads the HIDX file and dynamically presents the methods, schemas and parameters it describes, so you work with named fields instead of byte offsets.

Treat HIDX files as source code. Keep them in source control alongside your workflow definitions and promote them through the same build and deployment pipelines.

From the Host Applications adapter to the CICS, IMS and IBM i connectors

The BizTalk Adapter for Host Applications is based on Transaction Integrator and connects BizTalk solutions to CICS and IMS programs on IBM mainframes and to RPG programs on IBM i. In Logic Apps, that responsibility is split across three built-in connectors, one per program environment:

 

Host environment

Logic Apps built-in connector

How it connects

CICS on IBM mainframe

CICS Program Call

TCP/IP or HTTP programming models

IMS on IBM mainframe

IMS Program Call

IMS Connect over TCP/IP

IBM i (COBOL or RPG)

IBM i Program Call

Distributed Program Calls server over TCP/IP

 

Taking the CICS connector as an example, it provides one action, Call a CICS program. When you add it for the first time you create a connection with the details your BizTalk send port already knows: server name, port number, the CICS programming model, code page, optional user name and password, timeout, and TLS settings, including server certificate validation and whether the server should expect IBM-format request headers. Then you select the HIDX name and the method to run, and the advanced parameters for that method appear automatically.

The behaviour will feel familiar. The Host Applications adapter offers no receive location, and the program call connectors offer no triggers, so you start the workflow with whatever fits the scenario (an HTTP request, a schedule, a queue message) and call the host program as an action.

One boundary to plan for: connections that depend on APPC LU6.2 continue to require HIS. BizTalk integrations built on LU6.2 need to be refactored to TCP/IP or HTTP, or redesigned, as part of the move.

From the Host Files adapter to the IBM Host File connector

This is the adapter where the model changes most, and for good reason. The BizTalk Adapter for Host Files uses the HIS managed data provider to reach host files on the mainframe or IBM i and issue SQL-style commands against them. On the mainframe that path relies on the IBM Distributed File Manager subsystem, LU6.2 and an HIS SNA gateway.

The IBM Host File connector takes a simpler approach. It does not require a direct connection to the host. Instead, you make the file available in binary form through FTP, Azure Blob Storage, Host Integration Server or a partner appliance, and the connector converts it using your HIDX metadata.

Action

What it does

Key parameters

Parse Host File Contents

Converts fixed-length binary host records into structured data

HIDX Name, Schema Name, Binary contents

Generate Host File Contents

Converts an array of rows into binary host file content

HIDX Name, Schema Name, Rows

The connection itself only needs a code page and whether the file comes from an IBM i (iSeries) system. To replace a BizTalk receive location that polls a host file on an interval, start the workflow with a storage or file trigger, such as When a blob is added or updated, read the content and pass it to Parse Host File Contents. For the outbound direction, Generate Host File Contents produces the binary file you hand back to the host through the same transfer mechanism.

From the DB2 adapter to the IBM DB2 built-in connector

The BizTalk Adapter for DB2 is built on the Microsoft ADO.NET Data Provider for DB2, and the Logic Apps DB2 built-in connector carries that heritage forward. It runs in-process with the Logic Apps runtime and connects directly to DB2 over TCP/IP, with no on-premises data gateway. It supports DB2 for z/OS (12, 11.1 and 10.1), DB2 for i (7.4 to 7.1) and DB2 for Linux, UNIX and Windows (11.5, 11.1 and 10.5).

Most of what you configured in the BizTalk Data Source Wizard has a direct home in the connection:

BizTalk DB2 adapter concept

Logic Apps DB2 built-in connector

Connection string from the Data Source Wizard

Server Name, Port Number, Database, User Name, Password, Package Collection, Default Schema, Host CCSID and PC Code Page, or a full Connection String

Send port with a SELECT statement

Execute query

Send port with a stored procedure

Execute a stored procedure

Send port with an updategram

Insert row, Update rows, Delete row

SQL statement that returns no result set

Execute non-query

Receive location with SQL Command, Polling Interval and Update Command

A Recurrence trigger, Execute query, then Update rows, Delete row or Execute non-query for each processed row

Your existing SQL statements and stored procedure calls are the starting point; paste them into the corresponding actions and validate the results. Two differences deserve attention. First, the BizTalk adapter supports SNA connections, while the built-in connector uses TCP/IP only. Second, the adapter can enlist in distributed transactions, but workflow actions are not automatically atomic as a group. For multi-step updates, design for idempotency and use scopes and run-after conditions to implement compensation.

From the WebSphere MQ adapter to the IBM MQ built-in connector

The Client-Based BizTalk Adapter for WebSphere MQ (MQSC) connects BizTalk Server directly to remote queue managers. The IBM MQ built-in connector in Logic Apps Standard does the same from the workflow runtime, with both triggers and actions, so you can receive, browse and send messages without a gateway. It supports MQ 7.5, 8.0 and 9.0 through 9.3.

 

BizTalk MQSC adapter concept

Logic Apps IBM MQ built-in connector

Receive location polling a queue

MQ built-in trigger at the start of a workflow

Static or dynamic send port

MQ built-in send actions

Queue manager, server-connection channel and queue

Connection and action settings

SSL with a client channel definition file

TLS with server-only (one-way) or server-client (two-way) authentication, using a client certificate thumbprint

MQGMO CONVERT on receive

Character set conversion for string data by code page

Segmentation using queue manager capabilities

Not supported; segmented messages need a redesign

Once-and-only-once delivery through MSDTC

At-least-once processing; use idempotency, deduplication and correlation identifiers

 

If any of your Logic Apps workflows still use the MQ managed connector, plan to move them to the built-in connector: the managed connector is deprecated and unavailable for use in workflows starting August 2026.

End-to-end pattern: an order flow that stays on the host

Here is an illustrative example of how the connectors work together. A retailer runs order management in CICS, keeps inventory in DB2 for z/OS and exchanges order messages over IBM MQ, all of it orchestrated today by BizTalk Server with the HIS adapters.

  1. An order message arrives on an MQ queue, and the MQ built-in trigger starts the workflow.
  2. Call a CICS program runs the existing credit-check transaction, using the HIDX file generated from the program's copybook.
  3. Execute query reads available inventory from DB2.
  4. The workflow transforms the result with Data Mapper or XSLT and sends a confirmation message back to MQ.
  5. At the end of the day, Generate Host File Contents produces the binary batch file the host expects, and the workflow drops it where the host's file transfer process picks it up.

Running this logic app on the hybrid deployment option keeps processing next to the mainframe for latency and data residency, while you author, deploy and monitor from Azure. The CICS program, the DB2 tables and the queues remain the systems of record throughout.

Notes for BizTalk Server and HIS customers

Aspect

BizTalk Server with HIS adapters

Logic Apps Standard

Metadata

Transaction Integrator metadata and XSD schemas generated by adapter wizards

HIDX files uploaded as maps; the connector presents parameters dynamically

Design tools

Transaction Integrator Designer and Visual Studio BizTalk projects

HIS Designer for Azure Logic Apps and the 3270 Design Tool

Network protocols

TCP/IP, HTTP and APPC LU6.2 over SNA

TCP/IP and HTTP; LU6.2 stays on HIS

Polling

Receive locations with SQL commands and polling intervals

Recurrence and storage triggers with query actions; MQ built-in triggers

Transactions

MSDTC distributed transactions

Per-action operations; saga orchestration with compensation and idempotency

Hosting

BizTalk host instances on Windows Server

Workflow Service Plan, App Service Environment v3 or hybrid on Arc-enabled Kubernetes

Deployment

MSI packages and binding files

Source control and CI/CD with Visual Studio Code

Existing settings do not transfer as deployable Logic Apps connections without review. Recreate environment-specific configuration, credentials, certificates and network settings for your target hosting environment, store secrets outside your workflow definitions, and validate the resulting behaviour before cutover.

Migrate in waves with the Logic Apps Migration Agent

You do not need to move everything at once. Introduce Logic Apps as an integration façade while the host keeps running, move one end-to-end flow at a time, and retire legacy interfaces only after their consumers move. The Strangler Fig and Anti-corruption Layer patterns work well here.

The Logic Apps Migration Agent can speed up each wave. It discovers supported BizTalk artifacts, including bindings, endpoint configurations and HIDX files, and uses them during analysis, planning and conversion, so your host integration metadata becomes an input to the migration rather than a manual rebuild.

Get started

Read the overview: Modernize mainframe and midrange workloads with Standard workflows (https://learn.microsoft.com/azure/logic-apps/mainframe-modernization-overview).

Explore the connector guides:

  1. CICS programs (https://learn.microsoft.com/azure/connectors/integrate-cics-apps-ibm-mainframe)
  2. IMS programs (Access IMS Programs from Standard Workflows - Azure Logic Apps | Microsoft Learn)
  3. IBM host files (https://learn.microsoft.com/azure/connectors/integrate-host-files-ibm-mainframe)
  4. IBM DB2 (https://learn.microsoft.com/azure/connectors/connectors-create-api-db2)
  5. IBM MQ (https://learn.microsoft.com/azure/connectors/connectors-create-api-mq)

Try the Logic Apps Migration Agent: https://github.com/Azure/logicapps-migration-agent

Working on a BizTalk or HIS migration to Logic Apps Standard? Ask your Microsoft account team to request help from our team through our white glove program at https://aka.ms/logicappswg.

Updated Dec 01, 2026
Version 2.0
No CommentsBe the first to comment