From the course: Migrating COBOL Apps

Unlock the full course today

Join today to access over 24,300 courses taught by industry experts.

Understand XA transactions

Understand XA transactions - COBOL Tutorial

From the course: Migrating COBOL Apps

Understand XA transactions

- [Instructor] One of the key things to look for in an application migration is the way transactions update files. Early cobalt code based on batch processing could often read a file of data record by record and output an updated file. More sophisticated applications used index files and were able to update records in situ. Early systems didn't have to take into account multiple applications or multiple users in an application trying to concurrently update a file. As systems became more interactive and the number of applications increased, synchronization of data emerged as an important issue. This resulted in the creation of the two phase commit protocol referred to as extended architecture or the XA protocol. The first phase of the XA protocol is called the prepare phase. In this phase the transaction calls a transaction manager with a message to update a set of far resources. The transaction manager sends a request to…

Contents