From the course: Migrating COBOL Apps
Unlock the full course today
Join today to access over 24,300 courses taught by industry experts.
The buried update - COBOL Tutorial
From the course: Migrating COBOL Apps
The buried update
- Legacy COBOL programs often make coding compromises, in order to boost their performance. For example, advice in one COBOL reference manual, includes the statement. Sequential file users should code for performance by retaining several records at a time. Performance is optimal if the number of records retained, is a multiple of the blocking factor, and the execution of the retain statement is synchronized with logical block boundaries. However, retaining records longer, increases the risk of other programs trying to concurrently access the file. Which in turn may cause programs to lock up. While this may not be a problem, in a legacy batch environment, problems can occur after migrating to a more contemporary environment. The first problem is known as the buried update. Which occurs when one program updates a record, but the update is overwritten when a second program, which also has a copy of the original record,…
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
-
-
-
-
-