Importing Native COBOL Procedural Code

To import the COBOL programs and copybooks into the project's source folder:

  1. In the COBOL Explorer view, expand the AddressBookJVM project.
  2. Right-click the src folder, and then click Import > Import.

    This opens the Import dialog box.

  3. Click General > File System.
  4. Click Next.
  5. Click Browse next to the From directory field.

    This opens the Import from directory dialog box.

  6. Navigate to the Eclipse\jvm_cobol\AddressBookDemo\addressBookJVM\src folder in the samples directory installed with Visual COBOL, which by default is $COBDIR/demo.
  7. Click OK.
  8. In the left pane, check the src folder.
  9. Click Finish.
Note: The project should build automatically. If not, click Project > Build Automatically.