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.

Create the data access layer

Create the data access layer - COBOL Tutorial

From the course: Migrating COBOL Apps

Start my 1-month free trial

Create the data access layer

- [Instructor] The penultimate step in the Prima Migration is to re-factor into the application, a Data Access Layer. The Data Access Layer enables separation of the data from the code with a Data Access Layer or DAL. The Legacy COBOL code is enhanced to replace file accesses with invocations to the DAL, components object module methods, and DAL handles the data access with the SQL server. Future code is then written to interface to DAL in net COBOL or any of the language which understands COM. The next tab is generate DAL object layer, which we use to generate the Data Access Layer DLLs, one for each ISOM file. The panel at the left enables us to select the table metadata file, which the tool generated when the database was created and which will be used to generate the Data Access Layer code. The selection is shown in the list box at the right. We have some options that can be set at the bottom left. And again, we can…

Contents