Walks you through the process of creating the ProgramCORS solution and project for the BookDemo demonstration application.
Restriction: This topic applies only when the Enterprise Server feature is enabled.
Create the ProgramCORS project
- In Visual Studio, click
.
- In the
New Project dialog box, expand
.
- Expand
Enterprise Server, and then click
Native.
- Select
Enterprise Server Application.
- Complete the
Name and
Location fields as follows:
Name
|
ProgramCORS
By default, this is the name of both the project and the solution.
|
Location
|
c:\tutorials\IMTK
|
- Uncheck
Create directory for solution.
- Click
OK.
Visual Studio opens the
Solution Explorer for the
ProgramCORS solution, showing the
ProgramCORS project.
Add BookDemo demonstration files to the project
- Right-click the
ProgramCORS project, and select
Add > Existing Item from the context menu.
- Browse to the
%PUBLIC%\Documents\Micro Focus\Visual COBOL\Samples\Interface Mapping Toolkit\ServiceInterfaces\BookDemo folder.
- From the drop-down list, click
All files (*.*), and then select the following files:
-
book.cbl
-
book-rec.cpy
-
bookfile.dat
-
bookfile.idx
- Click
Add.
Save the ProgramCORS project
- Select the
ProgramCORS project in the
Solution Explorer, and then click
File > Save ProgramCORS.