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 - 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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
Self-modifying code2m 1s
-
(Locked)
Dynamic calls to subprograms2m 20s
-
(Locked)
Understand XA transactions2m 27s
-
(Locked)
The buried update3m 52s
-
(Locked)
The deadly embrace1m 28s
-
(Locked)
Legacy control flow2m 52s
-
(Locked)
Challenge: Trace the control flow28s
-
(Locked)
Solution: Trace the control flow6m 38s
-
-
-
-
-