Create an Eclipse project for your service interface, and add files to the project.
- From the Eclipse IDE, click
File >
New >
Mainframe COBOL Project.
- In the
Project name field, type
IMTKTutorial.
- Check
Use default location; then click
Finish.
The COBOL Explorer now shows the
IMTKTutorial project.
- From the COBOL Explorer, right-click the
IMTKTutorial project and select
Import > Import from the context menu.
- Expand
General and click File System.
- Click the
Browse button that corresponds to the
From directory field, and browse to the
%PUBLIC%\Documents\Micro Focus\Enterprise Developer\Samples\Interface Mapping Toolkit\ServiceInterfaces\BookDemo (Windows) or
$COBDIR/demo/Interface Mapping Toolkit/ServiceInterfaces/BookDemo (UNIX) directory.
- On the list of files, check the following:
-
book.cbl
-
book-rec.cpy
-
bookfile.dat
-
bookfile.idx
- Click
Finish.
Enterprise Developer adds the files and builds the project automatically.