From the course: Migrating COBOL Apps
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Challenge: Refactoring - COBOL Tutorial
From the course: Migrating COBOL Apps
Challenge: Refactoring
(upbeat electronic music) - [Instructor] Your challenge is to go back to the desr-1.03 source code and locate the two functions where we changed the IP1 and P table references to Permabit references. These are DESR-IP1 and DESR-FUNCTION. Then refactor the code to call the PERMUTE section, first setting the variables, which act as parameters. Take a few minutes to do this and to get some experience in refactoring COBOL legacy style code.
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
-
-
-
-
-
-
-
Prepare to refactor code1m 56s
-
(Locked)
Refactor the DESR application8m 25s
-
(Locked)
Remove redundant labels1m 19s
-
(Locked)
Resize applications1m 30s
-
(Locked)
Make code segments generic5m 30s
-
(Locked)
Challenge: Refactoring32s
-
(Locked)
Solution: Refractoring3m 14s
-
(Locked)
Introduce structure through subprograms2m 39s
-
(Locked)
Remove dead code3m 27s
-
(Locked)
Refactor data1m 58s
-
(Locked)
The challenges of migrating to a relational database4m 4s
-
(Locked)
Refactoring, continuous integration, and self-testing3m 52s
-
(Locked)
Observations on the paradigm shift2m 21s
-
(Locked)
The refactoring catalog2m 44s
-
-
-