This tutorial requires that you create a COBOL project where you store, build, and run the COBOL application that you create later in this tutorial using the OpenESQL Assistant. In doing so, you use features available in the ADO.NET connection editor and the OpenESQL Managed Runtime.
Name | OESQLAsst |
Location | c:\tutorials\SQL |
Framework | Choose the appropriate .NET Framework version from the drop-down list.
Note: Must be .NET Framework 4.7.2 or higher.
|
Visual Studio creates a new solution and a project named OESQLAsst. The project contains one generic program, Program1.cbl, that you use in a later tutorial. If Visual Studio has automatically opened this file for editing, close it for now.
To compile this application such that it connects to the database via ADO.NET, you must set the project properties to include the DBMAN=ADO SQL compiler directive option. We must also set the BEHAVIOR compiler directive to provide optimal cursor behavior, including isolation level and lock concurrency settings.