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

Challenge: Refactoring - COBOL Tutorial

From the course: Migrating COBOL Apps

Start my 1-month free trial

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.

Contents