The sample program,
book.cbl, reads an indexed file to satisfy its I/O requests. You need to add this file to the project. It is located in the archive
file that you downloaded previously.
Procedure
- Right-click the project in COBOL Explorer, and click
Import > Import.
The
Import dialog box is displayed.
- Expand
General, and click
File System. Click
Next.
- Click
Browse against the
From directory field to locate the folder containing the
bookfile.dat file (for example,
C:\myfiles\COBOL_JSP_2_2_SRC\CobolBook (Windows), or
/home/myfiles/ (UNIX)). Click
OK.
- Ensure that the entry for
bookfile.dat is the only checked item. Click
Finish.
The file is added to the project.
This section completes the creation of the COBOL project.