Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
Windows Server

BizTalk 2009 : Host Integration Server 2009 - Two-Phase Commit

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
6/15/2011 11:46:01 AM
Transactional processing is a critical requirement for the majority of institutions. In fact, most of the financial institutions require transactional support for every one of its transactions. Mainframe and AS/400 platforms have been provided this capability for many years. Host Integration Server, formerly SNA Server, incorporated support for two-phase commit (2PC) transactions in its version SNA Server 4.0 SP2 (many years ago). Since then, many improvements have been made in it, such as the support of 2PC running with SNA load balancing.

From a design perspective, you have to use a programming model that supports 2PC. When using the CICS link programming model, which supports 2PC, Host Integration Server uses the Distributed Program Link. The DPL is a mainframe mechanism that allows a CICS application to call another CICS application using a LINK command. DPL will be the mechanism that will control any 2PC transaction triggered by TI objects using the CICS link programming model. Hence, the COBOL developers should not have to modify their code to manage the entire transaction. However, if your application uses the user data programming model, the mainframe program will have to control the transaction commit and rollback from its code. Although this may require changes in COBOL programs that do not support transactions already, when using this programming model, you do not face the 32KB restriction on the DFHCOMMAREAS size. That's because the user data programming model doesn't use DFHCOMMAREAS. We strongly recommend reviewing the following IBM Redbooks to learn about the mainframe requirements for 2PC:

  • "Systems Programmer's Guide to Resource Recovery Services (RRS)"

  • "SC31-8134-00: SNA Sync Point Services Architecture Reference"

2PC needs to be enabled and configured in the mainframe and the Host Integration Server. Host Integration Server includes the Resynchronization service that works with MS DTC to support 2PC transactions. This service is installed when you select the Enable LU 6.2 Resync Services option under the Network Integration option of the Host Integration Server initial configuration. The option is not available for TI nodeless servers. For TI nodeless servers, you have to enable 2PC support in the remote environment configuration by using the TI Manager.

The Resynchronization service is also known as SNA LU 6.2 Resync TP. The SNA LU 6.2 Resync TP service implements the Exchange Log Names and Compare States functions of a SNA transaction manager. The Resynchronization service allows the Microsoft Distributed Transaction Coordinator (DTC) and IBM CICS to coordinate a recovery process as required during system startup or after a system or communication failure.

The Exchange of Logs (XLN) is the shared indicator of the state of 2PC transactions in the environment. The XLN reflects the local status of the Resynchronization service and the remote status of the mainframe readiness for establishing 2PC transactions. Both statuses should have the same value. If the statuses have different values, it might represent the existence of 2PC issues between the mainframe and the Host Integration Server that need to be analyzed. Figure 1 shows a successful log exchange between Host Integration Server and the mainframe.

Figure 1. Successful log exchange

The Host Integration Server 2009 requirements for 2PC are the following:

  • The local and remote LUs must each have SyncPoint support enabled in the Host Integration Server node, as shown in Figures 2 and 3.

  • The local and remote LUs should each point to the computer that is running Resynchronization services, as shown in Figures 2 and 3.

Figure 2. LU 6.2 Resync service enabled and pointing to SNAHUB in the Local APPC LU LHCAMP00

Figure 3. Remote APPC LU CICSDEMO with SyncPoint enabled

The mainframe must be configured for Sync Level 2 support. The TI remote environment (RE) must have Sync Level 2 support enabled as well. To check these items, right-click the RE in TI Manager, click Properties, and then click the LU 6.2 tab, as shown in Figure 4.

Figure 4. TI remote environment with Sync Level 2 protocols enabled

The Transaction Integrator object must have transaction support set to Supported, Required, or Requires New. If working with BAHA, you will have to set its Use Transactions property to Yes. Bear in mind that transactions will take place between the BizTalk Messagebox and the mainframe resource manager.
Other -----------------
- SQL Server 2008 : Automating Routine Maintenance - Maintenance Plans
- SQL Server 2008 : SQL Server Agent (part 2) - Jobs & Proxies
- SQL Server 2008 : SQL Server Agent (part 1) - Operators, Enabling SQL Server Agent Notifications & Alerts
- Windows Server 2008 R2 : Install Internet Information Services (part 2) - Install IIS on Windows Server 2008 R2 Core Server & Windows Server 2008 R2 Web Edition
- Windows Server 2008 R2 : Install Internet Information Services (part 1) - Understand Internet Information Services Role Services
- Microsoft Dynamics CRM 2011 : Sharing Accounts and Contacts with Other Users
- Microsoft Dynamics CRM 2011 : Deactivating and Activating Records
- Introducing SharePoint Mobile in 2010 (part 3) - Mobile Search & Mobile Views
- Introducing SharePoint Mobile in 2010 (part 2) - Microsoft Office Web Applications
- Introducing SharePoint Mobile in 2010 (part 1) - Microsoft Office Mobile 2010 & SharePoint Workspace Mobile 2010
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
 
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server