Because the service generated from this COBOL Program service interfaces tutorial runs on an enterprise server not associated with the other tutorials, it needs its own project (enterprise servers are associated with a project rather than any specific service interface). In the project, we must add the application files needed to define the service interface and then access the deployed service.
- From the
SVITutorials Solution in the Solution Explorer, right-click the solution name; then click
Add >
New Project.
- In the
Name field, type
ProgramEJB.
Note: Because you are creating the project from within the SVITutorials solution, the default settings for
Project types,
Templates, and
Location are correct by default.
- Click
OK. The
ProgramEJB project now appears on the Solution Explorer.
- Right-click the
ProgramEJB project, and click
Add >
Existing Item.
- Browse to the
%ProgramFiles(x86)%\Micro Focus\Studio Enterprise Edition x.x\Examples\Visual Studio Integration\Tutorials\Service Interfaces\BookDemo folder.
- From the
Objects of type drop-down list, click
All files (*.*); then select the following files:
-
book.cbl
-
book-rec.cpy
-
bookfile.dat
-
bookfile.idx
- Click
Add.